toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final cpuUtilizationThresholdPercent = this.cpuUtilizationThresholdPercent;
  final enabled = this.enabled;
  final historyListLengthThresholdCount =
      this.historyListLengthThresholdCount;
  final memoryUsageThresholdPercent = this.memoryUsageThresholdPercent;
  final probeThreshold = this.probeThreshold;
  final probingIntervalSeconds = this.probingIntervalSeconds;
  final runningThreadsThreshold = this.runningThreadsThreshold;
  final secondsBehindSourceThreshold = this.secondsBehindSourceThreshold;
  final semaphoreWaitThresholdCount = this.semaphoreWaitThresholdCount;
  final transactionDurationThreshold = this.transactionDurationThreshold;
  final transactionKillExcludedUserHosts =
      this.transactionKillExcludedUserHosts;
  final transactionKillThresholdSeconds =
      this.transactionKillThresholdSeconds;
  final transactionKillType = this.transactionKillType;
  final transactionLockWaitThresholdCount =
      this.transactionLockWaitThresholdCount;
  return {
    'cpuUtilizationThresholdPercent': ?cpuUtilizationThresholdPercent,
    'enabled': ?enabled,
    'historyListLengthThresholdCount': ?historyListLengthThresholdCount,
    'memoryUsageThresholdPercent': ?memoryUsageThresholdPercent,
    'probeThreshold': ?probeThreshold,
    'probingIntervalSeconds': ?probingIntervalSeconds,
    'runningThreadsThreshold': ?runningThreadsThreshold,
    'secondsBehindSourceThreshold': ?secondsBehindSourceThreshold,
    'semaphoreWaitThresholdCount': ?semaphoreWaitThresholdCount,
    'transactionDurationThreshold': ?transactionDurationThreshold,
    'transactionKillExcludedUserHosts': ?transactionKillExcludedUserHosts,
    'transactionKillThresholdSeconds': ?transactionKillThresholdSeconds,
    'transactionKillType': ?transactionKillType,
    'transactionLockWaitThresholdCount': ?transactionLockWaitThresholdCount,
  };
}