PatchDeployment.fromJson constructor
PatchDeployment.fromJson(
- Map json_
Implementation
PatchDeployment.fromJson(core.Map json_)
: this(
createTime: json_['createTime'] as core.String?,
description: json_['description'] as core.String?,
duration: json_['duration'] as core.String?,
instanceFilter: json_.containsKey('instanceFilter')
? PatchInstanceFilter.fromJson(json_['instanceFilter']
as core.Map<core.String, core.dynamic>)
: null,
lastExecuteTime: json_['lastExecuteTime'] as core.String?,
name: json_['name'] as core.String?,
oneTimeSchedule: json_.containsKey('oneTimeSchedule')
? OneTimeSchedule.fromJson(json_['oneTimeSchedule']
as core.Map<core.String, core.dynamic>)
: null,
patchConfig: json_.containsKey('patchConfig')
? PatchConfig.fromJson(
json_['patchConfig'] as core.Map<core.String, core.dynamic>)
: null,
recurringSchedule: json_.containsKey('recurringSchedule')
? RecurringSchedule.fromJson(json_['recurringSchedule']
as core.Map<core.String, core.dynamic>)
: null,
rollout: json_.containsKey('rollout')
? PatchRollout.fromJson(
json_['rollout'] as core.Map<core.String, core.dynamic>)
: null,
state: json_['state'] as core.String?,
updateTime: json_['updateTime'] as core.String?,
);