NetworkPeering.fromJson constructor
NetworkPeering.fromJson(
- Map json_
Implementation
NetworkPeering.fromJson(core.Map json_)
: this(
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
exchangeSubnetRoutes: json_.containsKey('exchangeSubnetRoutes')
? json_['exchangeSubnetRoutes'] as core.bool
: null,
exportCustomRoutes: json_.containsKey('exportCustomRoutes')
? json_['exportCustomRoutes'] as core.bool
: null,
exportCustomRoutesWithPublicIp:
json_.containsKey('exportCustomRoutesWithPublicIp')
? json_['exportCustomRoutesWithPublicIp'] as core.bool
: null,
importCustomRoutes: json_.containsKey('importCustomRoutes')
? json_['importCustomRoutes'] as core.bool
: null,
importCustomRoutesWithPublicIp:
json_.containsKey('importCustomRoutesWithPublicIp')
? json_['importCustomRoutesWithPublicIp'] as core.bool
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
peerMtu: json_.containsKey('peerMtu')
? json_['peerMtu'] as core.int
: null,
peerNetwork: json_.containsKey('peerNetwork')
? json_['peerNetwork'] as core.String
: null,
peerNetworkType: json_.containsKey('peerNetworkType')
? json_['peerNetworkType'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
stateDetails: json_.containsKey('stateDetails')
? json_['stateDetails'] as core.String
: null,
uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
vmwareEngineNetwork: json_.containsKey('vmwareEngineNetwork')
? json_['vmwareEngineNetwork'] as core.String
: null,
);