ResourcePolicySnapshotSchedulePolicySchedule.fromJson constructor
ResourcePolicySnapshotSchedulePolicySchedule.fromJson(
- Map json_
Implementation
ResourcePolicySnapshotSchedulePolicySchedule.fromJson(core.Map json_)
: this(
dailySchedule: json_.containsKey('dailySchedule')
? ResourcePolicyDailyCycle.fromJson(
json_['dailySchedule'] as core.Map<core.String, core.dynamic>)
: null,
hourlySchedule: json_.containsKey('hourlySchedule')
? ResourcePolicyHourlyCycle.fromJson(json_['hourlySchedule']
as core.Map<core.String, core.dynamic>)
: null,
weeklySchedule: json_.containsKey('weeklySchedule')
? ResourcePolicyWeeklyCycle.fromJson(json_['weeklySchedule']
as core.Map<core.String, core.dynamic>)
: null,
);