toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (loadBalancerName != null) 'loadBalancerName': loadBalancerName!,
      if (matchedPortRange != null) 'matchedPortRange': matchedPortRange!,
      if (matchedProtocol != null) 'matchedProtocol': matchedProtocol!,
      if (networkUri != null) 'networkUri': networkUri!,
      if (pscGoogleApiTarget != null)
        'pscGoogleApiTarget': pscGoogleApiTarget!,
      if (pscServiceAttachmentUri != null)
        'pscServiceAttachmentUri': pscServiceAttachmentUri!,
      if (region != null) 'region': region!,
      if (target != null) 'target': target!,
      if (uri != null) 'uri': uri!,
      if (vip != null) 'vip': vip!,
    };