JobRun.fromJson constructor
JobRun.fromJson(
- Map json_
Implementation
JobRun.fromJson(core.Map json_)
: this(
advanceChildRolloutJobRun:
json_.containsKey('advanceChildRolloutJobRun')
? AdvanceChildRolloutJobRun.fromJson(
json_['advanceChildRolloutJobRun']
as core.Map<core.String, core.dynamic>)
: null,
createChildRolloutJobRun:
json_.containsKey('createChildRolloutJobRun')
? CreateChildRolloutJobRun.fromJson(
json_['createChildRolloutJobRun']
as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
deployJobRun: json_.containsKey('deployJobRun')
? DeployJobRun.fromJson(
json_['deployJobRun'] as core.Map<core.String, core.dynamic>)
: null,
endTime: json_.containsKey('endTime')
? json_['endTime'] as core.String
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
jobId:
json_.containsKey('jobId') ? json_['jobId'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
phaseId: json_.containsKey('phaseId')
? json_['phaseId'] as core.String
: null,
postdeployJobRun: json_.containsKey('postdeployJobRun')
? PostdeployJobRun.fromJson(json_['postdeployJobRun']
as core.Map<core.String, core.dynamic>)
: null,
predeployJobRun: json_.containsKey('predeployJobRun')
? PredeployJobRun.fromJson(json_['predeployJobRun']
as core.Map<core.String, core.dynamic>)
: null,
startTime: json_.containsKey('startTime')
? json_['startTime'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
verifyJobRun: json_.containsKey('verifyJobRun')
? VerifyJobRun.fromJson(
json_['verifyJobRun'] as core.Map<core.String, core.dynamic>)
: null,
);