toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final checkerType = this.checkerType;
  final contentMatchers = this.contentMatchers;
  final disabled = this.disabled;
  final displayName = this.displayName;
  final httpCheck = this.httpCheck;
  final internalCheckers = this.internalCheckers;
  final isInternal = this.isInternal;
  final logCheckFailures = this.logCheckFailures;
  final monitoredResource = this.monitoredResource;
  final name = this.name;
  final period = this.period;
  final resourceGroup = this.resourceGroup;
  final selectedRegions = this.selectedRegions;
  final syntheticMonitor = this.syntheticMonitor;
  final tcpCheck = this.tcpCheck;
  final timeout = this.timeout;
  final userLabels = this.userLabels;
  return {
    'checkerType': ?checkerType,
    'contentMatchers': ?contentMatchers,
    'disabled': ?disabled,
    'displayName': ?displayName,
    'httpCheck': ?httpCheck,
    'internalCheckers': ?internalCheckers,
    'isInternal': ?isInternal,
    'logCheckFailures': ?logCheckFailures,
    'monitoredResource': ?monitoredResource,
    'name': ?name,
    'period': ?period,
    'resourceGroup': ?resourceGroup,
    'selectedRegions': ?selectedRegions,
    'syntheticMonitor': ?syntheticMonitor,
    'tcpCheck': ?tcpCheck,
    'timeout': ?timeout,
    'userLabels': ?userLabels,
  };
}