ExternalVpnGateway.fromJson constructor
ExternalVpnGateway.fromJson(
- Map json_
Implementation
ExternalVpnGateway.fromJson(core.Map json_)
: this(
creationTimestamp: json_.containsKey('creationTimestamp')
? json_['creationTimestamp'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
interfaces: json_.containsKey('interfaces')
? (json_['interfaces'] as core.List)
.map((value) => ExternalVpnGatewayInterface.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
labelFingerprint: json_.containsKey('labelFingerprint')
? json_['labelFingerprint'] as core.String
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
redundancyType: json_.containsKey('redundancyType')
? json_['redundancyType'] as core.String
: null,
selfLink: json_.containsKey('selfLink')
? json_['selfLink'] as core.String
: null,
);