NetworkAttachmentConnectedEndpoint.fromJson constructor
NetworkAttachmentConnectedEndpoint.fromJson(
- Map json_
Implementation
NetworkAttachmentConnectedEndpoint.fromJson(core.Map json_)
: this(
ipAddress: json_.containsKey('ipAddress')
? json_['ipAddress'] as core.String
: null,
ipv6Address: json_.containsKey('ipv6Address')
? json_['ipv6Address'] as core.String
: null,
projectIdOrNum: json_.containsKey('projectIdOrNum')
? json_['projectIdOrNum'] as core.String
: null,
secondaryIpCidrRanges: json_.containsKey('secondaryIpCidrRanges')
? (json_['secondaryIpCidrRanges'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
status: json_.containsKey('status')
? json_['status'] as core.String
: null,
subnetwork: json_.containsKey('subnetwork')
? json_['subnetwork'] as core.String
: null,
subnetworkCidrRange: json_.containsKey('subnetworkCidrRange')
? json_['subnetworkCidrRange'] as core.String
: null,
);