toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (advertisedRoutes != null) 'advertisedRoutes': advertisedRoutes!,
if (bfdStatus != null) 'bfdStatus': bfdStatus!,
if (enableIpv6 != null) 'enableIpv6': enableIpv6!,
if (ipAddress != null) 'ipAddress': ipAddress!,
if (ipv6NexthopAddress != null)
'ipv6NexthopAddress': ipv6NexthopAddress!,
if (linkedVpnTunnel != null) 'linkedVpnTunnel': linkedVpnTunnel!,
if (md5AuthEnabled != null) 'md5AuthEnabled': md5AuthEnabled!,
if (name != null) 'name': name!,
if (numLearnedRoutes != null) 'numLearnedRoutes': numLearnedRoutes!,
if (peerIpAddress != null) 'peerIpAddress': peerIpAddress!,
if (peerIpv6NexthopAddress != null)
'peerIpv6NexthopAddress': peerIpv6NexthopAddress!,
if (routerApplianceInstance != null)
'routerApplianceInstance': routerApplianceInstance!,
if (state != null) 'state': state!,
if (status != null) 'status': status!,
if (statusReason != null) 'statusReason': statusReason!,
if (uptime != null) 'uptime': uptime!,
if (uptimeSeconds != null) 'uptimeSeconds': uptimeSeconds!,
};