toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adminEnabled != null) 'adminEnabled': adminEnabled!,
      if (bandwidth != null) 'bandwidth': bandwidth!,
      if (candidateIpv6Subnets != null)
        'candidateIpv6Subnets': candidateIpv6Subnets!,
      if (candidateSubnets != null) 'candidateSubnets': candidateSubnets!,
      if (cloudRouterIpAddress != null)
        'cloudRouterIpAddress': cloudRouterIpAddress!,
      if (cloudRouterIpv6Address != null)
        'cloudRouterIpv6Address': cloudRouterIpv6Address!,
      if (cloudRouterIpv6InterfaceId != null)
        'cloudRouterIpv6InterfaceId': cloudRouterIpv6InterfaceId!,
      if (configurationConstraints != null)
        'configurationConstraints': configurationConstraints!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (customerRouterIpAddress != null)
        'customerRouterIpAddress': customerRouterIpAddress!,
      if (customerRouterIpv6Address != null)
        'customerRouterIpv6Address': customerRouterIpv6Address!,
      if (customerRouterIpv6InterfaceId != null)
        'customerRouterIpv6InterfaceId': customerRouterIpv6InterfaceId!,
      if (dataplaneVersion != null) 'dataplaneVersion': dataplaneVersion!,
      if (description != null) 'description': description!,
      if (edgeAvailabilityDomain != null)
        'edgeAvailabilityDomain': edgeAvailabilityDomain!,
      if (encryption != null) 'encryption': encryption!,
      if (googleReferenceId != null) 'googleReferenceId': googleReferenceId!,
      if (id != null) 'id': id!,
      if (interconnect != null) 'interconnect': interconnect!,
      if (ipsecInternalAddresses != null)
        'ipsecInternalAddresses': ipsecInternalAddresses!,
      if (kind != null) 'kind': kind!,
      if (labelFingerprint != null) 'labelFingerprint': labelFingerprint!,
      if (labels != null) 'labels': labels!,
      if (mtu != null) 'mtu': mtu!,
      if (name != null) 'name': name!,
      if (operationalStatus != null) 'operationalStatus': operationalStatus!,
      if (pairingKey != null) 'pairingKey': pairingKey!,
      if (partnerAsn != null) 'partnerAsn': partnerAsn!,
      if (partnerMetadata != null) 'partnerMetadata': partnerMetadata!,
      if (privateInterconnectInfo != null)
        'privateInterconnectInfo': privateInterconnectInfo!,
      if (region != null) 'region': region!,
      if (remoteService != null) 'remoteService': remoteService!,
      if (router != null) 'router': router!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (stackType != null) 'stackType': stackType!,
      if (state != null) 'state': state!,
      if (subnetLength != null) 'subnetLength': subnetLength!,
      if (type != null) 'type': type!,
      if (vlanTag8021q != null) 'vlanTag8021q': vlanTag8021q!,
    };