ProvisioningConfig.fromJson constructor
ProvisioningConfig.fromJson(
- Map json_
Implementation
ProvisioningConfig.fromJson(core.Map json_)
: this(
cloudConsoleUri: json_.containsKey('cloudConsoleUri')
? json_['cloudConsoleUri'] as core.String
: null,
customId: json_.containsKey('customId')
? json_['customId'] as core.String
: null,
email:
json_.containsKey('email') ? json_['email'] as core.String : null,
handoverServiceAccount: json_.containsKey('handoverServiceAccount')
? json_['handoverServiceAccount'] as core.String
: null,
instances: json_.containsKey('instances')
? (json_['instances'] as core.List)
.map((value) => InstanceConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
location: json_.containsKey('location')
? json_['location'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
networks: json_.containsKey('networks')
? (json_['networks'] as core.List)
.map((value) => NetworkConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
pod: json_.containsKey('pod') ? json_['pod'] as core.String : null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
statusMessage: json_.containsKey('statusMessage')
? json_['statusMessage'] as core.String
: null,
ticketId: json_.containsKey('ticketId')
? json_['ticketId'] as core.String
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
volumes: json_.containsKey('volumes')
? (json_['volumes'] as core.List)
.map((value) => VolumeConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
vpcScEnabled: json_.containsKey('vpcScEnabled')
? json_['vpcScEnabled'] as core.bool
: null,
);