FireperfThresholdAlertPayload constructor

FireperfThresholdAlertPayload({
  1. String? eventName,
  2. String? eventType,
  3. String? metricType,
  4. Int64? numSamples,
  5. double? thresholdValue,
  6. String? thresholdUnit,
  7. int? conditionPercentile,
  8. String? appVersion,
  9. double? violationValue,
  10. String? violationUnit,
  11. String? investigateUri,
})

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;
}