toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final aggregationPeriod = this.aggregationPeriod;
  final alertDisabled = this.alertDisabled;
  final alertName = this.alertName;
  final clientId = this.clientId;
  final durationThresholdMs = this.durationThresholdMs;
  final errorEnumList = this.errorEnumList;
  final metricType = this.metricType;
  final numAggregationPeriods = this.numAggregationPeriods;
  final onlyFinalAttempt = this.onlyFinalAttempt;
  final playbookUrl = this.playbookUrl;
  final thresholdType = this.thresholdType;
  final thresholdValue = this.thresholdValue;
  final warningEnumList = this.warningEnumList;
  return {
    'aggregationPeriod': ?aggregationPeriod,
    'alertDisabled': ?alertDisabled,
    'alertName': ?alertName,
    'clientId': ?clientId,
    'durationThresholdMs': ?durationThresholdMs,
    'errorEnumList': ?errorEnumList,
    'metricType': ?metricType,
    'numAggregationPeriods': ?numAggregationPeriods,
    'onlyFinalAttempt': ?onlyFinalAttempt,
    'playbookUrl': ?playbookUrl,
    'thresholdType': ?thresholdType,
    'thresholdValue': ?thresholdValue,
    'warningEnumList': ?warningEnumList,
  };
}