toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (address != null) 'address': address!,
      if (attachmentConfigurationConstraints != null)
        'attachmentConfigurationConstraints':
            attachmentConfigurationConstraints!,
      if (city != null) 'city': city!,
      if (constraints != null) 'constraints': constraints!,
      if (continent != null) 'continent': continent!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (facilityProvider != null) 'facilityProvider': facilityProvider!,
      if (facilityProviderFacilityId != null)
        'facilityProviderFacilityId': facilityProviderFacilityId!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (lacp != null) 'lacp': lacp!,
      if (maxLagSize100Gbps != null) 'maxLagSize100Gbps': maxLagSize100Gbps!,
      if (maxLagSize10Gbps != null) 'maxLagSize10Gbps': maxLagSize10Gbps!,
      if (name != null) 'name': name!,
      if (peeringdbFacilityId != null)
        'peeringdbFacilityId': peeringdbFacilityId!,
      if (permittedConnections != null)
        'permittedConnections': permittedConnections!,
      if (remoteService != null) 'remoteService': remoteService!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (status != null) 'status': status!,
    };