toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (advertiseMode != null) 'advertiseMode': advertiseMode!,
if (advertisedGroups != null) 'advertisedGroups': advertisedGroups!,
if (advertisedIpRanges != null)
'advertisedIpRanges': advertisedIpRanges!,
if (advertisedRoutePriority != null)
'advertisedRoutePriority': advertisedRoutePriority!,
if (bfd != null) 'bfd': bfd!,
if (customLearnedIpRanges != null)
'customLearnedIpRanges': customLearnedIpRanges!,
if (customLearnedRoutePriority != null)
'customLearnedRoutePriority': customLearnedRoutePriority!,
if (enable != null) 'enable': enable!,
if (enableIpv4 != null) 'enableIpv4': enableIpv4!,
if (enableIpv6 != null) 'enableIpv6': enableIpv6!,
if (exportPolicies != null) 'exportPolicies': exportPolicies!,
if (importPolicies != null) 'importPolicies': importPolicies!,
if (interfaceName != null) 'interfaceName': interfaceName!,
if (ipAddress != null) 'ipAddress': ipAddress!,
if (ipv4NexthopAddress != null)
'ipv4NexthopAddress': ipv4NexthopAddress!,
if (ipv6NexthopAddress != null)
'ipv6NexthopAddress': ipv6NexthopAddress!,
if (managementType != null) 'managementType': managementType!,
if (md5AuthenticationKeyName != null)
'md5AuthenticationKeyName': md5AuthenticationKeyName!,
if (name != null) 'name': name!,
if (peerAsn != null) 'peerAsn': peerAsn!,
if (peerIpAddress != null) 'peerIpAddress': peerIpAddress!,
if (peerIpv4NexthopAddress != null)
'peerIpv4NexthopAddress': peerIpv4NexthopAddress!,
if (peerIpv6NexthopAddress != null)
'peerIpv6NexthopAddress': peerIpv6NexthopAddress!,
if (routerApplianceInstance != null)
'routerApplianceInstance': routerApplianceInstance!,
};