toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (connectedEndpoints != null)
        'connectedEndpoints': connectedEndpoints!,
      if (connectionPreference != null)
        'connectionPreference': connectionPreference!,
      if (consumerAcceptLists != null)
        'consumerAcceptLists': consumerAcceptLists!,
      if (consumerRejectLists != null)
        'consumerRejectLists': consumerRejectLists!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (domainNames != null) 'domainNames': domainNames!,
      if (enableProxyProtocol != null)
        'enableProxyProtocol': enableProxyProtocol!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (natSubnets != null) 'natSubnets': natSubnets!,
      if (producerForwardingRule != null)
        'producerForwardingRule': producerForwardingRule!,
      if (pscServiceAttachmentId != null)
        'pscServiceAttachmentId': pscServiceAttachmentId!,
      if (reconcileConnections != null)
        'reconcileConnections': reconcileConnections!,
      if (region != null) 'region': region!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (targetService != null) 'targetService': targetService!,
    };