CutoverJob.fromJson constructor
CutoverJob.fromJson(
- Map json_
Implementation
CutoverJob.fromJson(core.Map json_)
: this(
computeEngineDisksTargetDetails:
json_.containsKey('computeEngineDisksTargetDetails')
? ComputeEngineDisksTargetDetails.fromJson(
json_['computeEngineDisksTargetDetails']
as core.Map<core.String, core.dynamic>)
: null,
computeEngineTargetDetails:
json_.containsKey('computeEngineTargetDetails')
? ComputeEngineTargetDetails.fromJson(
json_['computeEngineTargetDetails']
as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
endTime: json_.containsKey('endTime')
? json_['endTime'] as core.String
: null,
error: json_.containsKey('error')
? Status.fromJson(
json_['error'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
progressPercent: json_.containsKey('progressPercent')
? json_['progressPercent'] as core.int
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
stateMessage: json_.containsKey('stateMessage')
? json_['stateMessage'] as core.String
: null,
stateTime: json_.containsKey('stateTime')
? json_['stateTime'] as core.String
: null,
steps: json_.containsKey('steps')
? (json_['steps'] as core.List)
.map((value) => CutoverStep.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);