Deployment.fromJson constructor
Deployment.fromJson(
- Map json_
Implementation
Deployment.fromJson(core.Map json_)
: this(
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
fingerprint: json_.containsKey('fingerprint')
? json_['fingerprint'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
insertTime: json_.containsKey('insertTime')
? json_['insertTime'] as core.String
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.List)
.map((value) => DeploymentLabelEntry.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
manifest: json_.containsKey('manifest')
? json_['manifest'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
operation: json_.containsKey('operation')
? Operation.fromJson(
json_['operation'] as core.Map<core.String, core.dynamic>)
: null,
selfLink: json_.containsKey('selfLink')
? json_['selfLink'] as core.String
: null,
target: json_.containsKey('target')
? TargetConfiguration.fromJson(
json_['target'] as core.Map<core.String, core.dynamic>)
: null,
update: json_.containsKey('update')
? DeploymentUpdate.fromJson(
json_['update'] as core.Map<core.String, core.dynamic>)
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);