toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (addresses != null) 'addresses': addresses!,
      if (certificateUrls != null) 'certificateUrls': certificateUrls!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (envoyHeaders != null) 'envoyHeaders': envoyHeaders!,
      if (gatewaySecurityPolicy != null)
        'gatewaySecurityPolicy': gatewaySecurityPolicy!,
      if (ipVersion != null) 'ipVersion': ipVersion!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (ports != null) 'ports': ports!,
      if (scope != null) 'scope': scope!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (serverTlsPolicy != null) 'serverTlsPolicy': serverTlsPolicy!,
      if (subnetwork != null) 'subnetwork': subnetwork!,
      if (type != null) 'type': type!,
      if (updateTime != null) 'updateTime': updateTime!,
    };