toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalPodRangesConfig != null)
        'additionalPodRangesConfig': additionalPodRangesConfig!,
      if (clusterIpv4Cidr != null) 'clusterIpv4Cidr': clusterIpv4Cidr!,
      if (clusterIpv4CidrBlock != null)
        'clusterIpv4CidrBlock': clusterIpv4CidrBlock!,
      if (clusterSecondaryRangeName != null)
        'clusterSecondaryRangeName': clusterSecondaryRangeName!,
      if (createSubnetwork != null) 'createSubnetwork': createSubnetwork!,
      if (defaultPodIpv4RangeUtilization != null)
        'defaultPodIpv4RangeUtilization': defaultPodIpv4RangeUtilization!,
      if (ipv6AccessType != null) 'ipv6AccessType': ipv6AccessType!,
      if (nodeIpv4Cidr != null) 'nodeIpv4Cidr': nodeIpv4Cidr!,
      if (nodeIpv4CidrBlock != null) 'nodeIpv4CidrBlock': nodeIpv4CidrBlock!,
      if (podCidrOverprovisionConfig != null)
        'podCidrOverprovisionConfig': podCidrOverprovisionConfig!,
      if (servicesIpv4Cidr != null) 'servicesIpv4Cidr': servicesIpv4Cidr!,
      if (servicesIpv4CidrBlock != null)
        'servicesIpv4CidrBlock': servicesIpv4CidrBlock!,
      if (servicesIpv6CidrBlock != null)
        'servicesIpv6CidrBlock': servicesIpv6CidrBlock!,
      if (servicesSecondaryRangeName != null)
        'servicesSecondaryRangeName': servicesSecondaryRangeName!,
      if (stackType != null) 'stackType': stackType!,
      if (subnetIpv6CidrBlock != null)
        'subnetIpv6CidrBlock': subnetIpv6CidrBlock!,
      if (subnetworkName != null) 'subnetworkName': subnetworkName!,
      if (tpuIpv4CidrBlock != null) 'tpuIpv4CidrBlock': tpuIpv4CidrBlock!,
      if (useIpAliases != null) 'useIpAliases': useIpAliases!,
      if (useRoutes != null) 'useRoutes': useRoutes!,
    };