FireperfThresholdAlertPayload constructor
FireperfThresholdAlertPayload({})
Implementation
factory FireperfThresholdAlertPayload({
$core.String? eventName,
$core.String? eventType,
$core.String? metricType,
$fixnum.Int64? numSamples,
$core.double? thresholdValue,
$core.String? thresholdUnit,
$core.int? conditionPercentile,
$core.String? appVersion,
$core.double? violationValue,
$core.String? violationUnit,
$core.String? investigateUri,
}) {
final $result = create();
if (eventName != null) {
$result.eventName = eventName;
}
if (eventType != null) {
$result.eventType = eventType;
}
if (metricType != null) {
$result.metricType = metricType;
}
if (numSamples != null) {
$result.numSamples = numSamples;
}
if (thresholdValue != null) {
$result.thresholdValue = thresholdValue;
}
if (thresholdUnit != null) {
$result.thresholdUnit = thresholdUnit;
}
if (conditionPercentile != null) {
$result.conditionPercentile = conditionPercentile;
}
if (appVersion != null) {
$result.appVersion = appVersion;
}
if (violationValue != null) {
$result.violationValue = violationValue;
}
if (violationUnit != null) {
$result.violationUnit = violationUnit;
}
if (investigateUri != null) {
$result.investigateUri = investigateUri;
}
return $result;
}