toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bgp != null) 'bgp': bgp!,
      if (bgpPeers != null) 'bgpPeers': bgpPeers!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (encryptedInterconnectRouter != null)
        'encryptedInterconnectRouter': encryptedInterconnectRouter!,
      if (id != null) 'id': id!,
      if (interfaces != null) 'interfaces': interfaces!,
      if (kind != null) 'kind': kind!,
      if (md5AuthenticationKeys != null)
        'md5AuthenticationKeys': md5AuthenticationKeys!,
      if (name != null) 'name': name!,
      if (nats != null) 'nats': nats!,
      if (network != null) 'network': network!,
      if (region != null) 'region': region!,
      if (selfLink != null) 'selfLink': selfLink!,
    };