toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adminEnabled != null) 'adminEnabled': adminEnabled!,
      if (availableFeatures != null) 'availableFeatures': availableFeatures!,
      if (circuitInfos != null) 'circuitInfos': circuitInfos!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (customerName != null) 'customerName': customerName!,
      if (description != null) 'description': description!,
      if (expectedOutages != null) 'expectedOutages': expectedOutages!,
      if (googleIpAddress != null) 'googleIpAddress': googleIpAddress!,
      if (googleReferenceId != null) 'googleReferenceId': googleReferenceId!,
      if (id != null) 'id': id!,
      if (interconnectAttachments != null)
        'interconnectAttachments': interconnectAttachments!,
      if (interconnectType != null) 'interconnectType': interconnectType!,
      if (kind != null) 'kind': kind!,
      if (labelFingerprint != null) 'labelFingerprint': labelFingerprint!,
      if (labels != null) 'labels': labels!,
      if (linkType != null) 'linkType': linkType!,
      if (location != null) 'location': location!,
      if (macsec != null) 'macsec': macsec!,
      if (macsecEnabled != null) 'macsecEnabled': macsecEnabled!,
      if (name != null) 'name': name!,
      if (nocContactEmail != null) 'nocContactEmail': nocContactEmail!,
      if (operationalStatus != null) 'operationalStatus': operationalStatus!,
      if (peerIpAddress != null) 'peerIpAddress': peerIpAddress!,
      if (provisionedLinkCount != null)
        'provisionedLinkCount': provisionedLinkCount!,
      if (remoteLocation != null) 'remoteLocation': remoteLocation!,
      if (requestedFeatures != null) 'requestedFeatures': requestedFeatures!,
      if (requestedLinkCount != null)
        'requestedLinkCount': requestedLinkCount!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (state != null) 'state': state!,
    };