GetMaintenanceWindowResult.fromJson constructor
Implementation
factory GetMaintenanceWindowResult.fromJson(Map<String, dynamic> json) {
return GetMaintenanceWindowResult(
allowUnassociatedTargets: json['AllowUnassociatedTargets'] as bool?,
createdDate: timeStampFromJson(json['CreatedDate']),
cutoff: json['Cutoff'] as int?,
description: json['Description'] as String?,
duration: json['Duration'] as int?,
enabled: json['Enabled'] as bool?,
endDate: json['EndDate'] as String?,
modifiedDate: timeStampFromJson(json['ModifiedDate']),
name: json['Name'] as String?,
nextExecutionTime: json['NextExecutionTime'] as String?,
schedule: json['Schedule'] as String?,
scheduleOffset: json['ScheduleOffset'] as int?,
scheduleTimezone: json['ScheduleTimezone'] as String?,
startDate: json['StartDate'] as String?,
windowId: json['WindowId'] as String?,
);
}