MonitoringScheduleConfig.fromJson constructor
MonitoringScheduleConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory MonitoringScheduleConfig.fromJson(Map<String, dynamic> json) {
return MonitoringScheduleConfig(
monitoringJobDefinition: json['MonitoringJobDefinition'] != null
? MonitoringJobDefinition.fromJson(
json['MonitoringJobDefinition'] as Map<String, dynamic>)
: null,
monitoringJobDefinitionName:
json['MonitoringJobDefinitionName'] as String?,
monitoringType: (json['MonitoringType'] as String?)?.toMonitoringType(),
scheduleConfig: json['ScheduleConfig'] != null
? ScheduleConfig.fromJson(
json['ScheduleConfig'] as Map<String, dynamic>)
: null,
);
}