JobStatus.fromJson constructor
JobStatus.fromJson(
- Map json_
Implementation
JobStatus.fromJson(core.Map json_)
: this(
conditions: json_.containsKey('conditions')
? (json_['conditions'] as core.List)
.map((value) => GoogleCloudRunV1Condition.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
executionCount: json_.containsKey('executionCount')
? json_['executionCount'] as core.int
: null,
latestCreatedExecution: json_.containsKey('latestCreatedExecution')
? ExecutionReference.fromJson(json_['latestCreatedExecution']
as core.Map<core.String, core.dynamic>)
: null,
observedGeneration: json_.containsKey('observedGeneration')
? json_['observedGeneration'] as core.int
: null,
);