toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (datapathProvider != null) 'datapathProvider': datapathProvider!,
      if (defaultSnatStatus != null) 'defaultSnatStatus': defaultSnatStatus!,
      if (dnsConfig != null) 'dnsConfig': dnsConfig!,
      if (enableCiliumClusterwideNetworkPolicy != null)
        'enableCiliumClusterwideNetworkPolicy':
            enableCiliumClusterwideNetworkPolicy!,
      if (enableFqdnNetworkPolicy != null)
        'enableFqdnNetworkPolicy': enableFqdnNetworkPolicy!,
      if (enableIntraNodeVisibility != null)
        'enableIntraNodeVisibility': enableIntraNodeVisibility!,
      if (enableL4ilbSubsetting != null)
        'enableL4ilbSubsetting': enableL4ilbSubsetting!,
      if (enableMultiNetworking != null)
        'enableMultiNetworking': enableMultiNetworking!,
      if (gatewayApiConfig != null) 'gatewayApiConfig': gatewayApiConfig!,
      if (inTransitEncryptionConfig != null)
        'inTransitEncryptionConfig': inTransitEncryptionConfig!,
      if (network != null) 'network': network!,
      if (networkPerformanceConfig != null)
        'networkPerformanceConfig': networkPerformanceConfig!,
      if (privateIpv6GoogleAccess != null)
        'privateIpv6GoogleAccess': privateIpv6GoogleAccess!,
      if (serviceExternalIpsConfig != null)
        'serviceExternalIpsConfig': serviceExternalIpsConfig!,
      if (subnetwork != null) 'subnetwork': subnetwork!,
    };