RouterStatusBgpPeerStatus.fromJson constructor
RouterStatusBgpPeerStatus.fromJson(
- Map json_
Implementation
RouterStatusBgpPeerStatus.fromJson(core.Map json_)
: this(
advertisedRoutes: json_.containsKey('advertisedRoutes')
? (json_['advertisedRoutes'] as core.List)
.map((value) => Route.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
bfdStatus: json_.containsKey('bfdStatus')
? BfdStatus.fromJson(
json_['bfdStatus'] as core.Map<core.String, core.dynamic>)
: null,
enableIpv4: json_.containsKey('enableIpv4')
? json_['enableIpv4'] as core.bool
: null,
enableIpv6: json_.containsKey('enableIpv6')
? json_['enableIpv6'] as core.bool
: null,
ipAddress: json_.containsKey('ipAddress')
? json_['ipAddress'] as core.String
: null,
ipv4NexthopAddress: json_.containsKey('ipv4NexthopAddress')
? json_['ipv4NexthopAddress'] as core.String
: null,
ipv6NexthopAddress: json_.containsKey('ipv6NexthopAddress')
? json_['ipv6NexthopAddress'] as core.String
: null,
linkedVpnTunnel: json_.containsKey('linkedVpnTunnel')
? json_['linkedVpnTunnel'] as core.String
: null,
md5AuthEnabled: json_.containsKey('md5AuthEnabled')
? json_['md5AuthEnabled'] as core.bool
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
numLearnedRoutes: json_.containsKey('numLearnedRoutes')
? json_['numLearnedRoutes'] as core.int
: null,
peerIpAddress: json_.containsKey('peerIpAddress')
? json_['peerIpAddress'] as core.String
: null,
peerIpv4NexthopAddress: json_.containsKey('peerIpv4NexthopAddress')
? json_['peerIpv4NexthopAddress'] as core.String
: null,
peerIpv6NexthopAddress: json_.containsKey('peerIpv6NexthopAddress')
? json_['peerIpv6NexthopAddress'] as core.String
: null,
routerApplianceInstance: json_.containsKey('routerApplianceInstance')
? json_['routerApplianceInstance'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
status: json_.containsKey('status')
? json_['status'] as core.String
: null,
statusReason: json_.containsKey('statusReason')
? json_['statusReason'] as core.String
: null,
uptime: json_.containsKey('uptime')
? json_['uptime'] as core.String
: null,
uptimeSeconds: json_.containsKey('uptimeSeconds')
? json_['uptimeSeconds'] as core.String
: null,
);