toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (addonsConfig != null) 'addonsConfig': addonsConfig!,
      if (authenticatorGroupsConfig != null)
        'authenticatorGroupsConfig': authenticatorGroupsConfig!,
      if (autopilot != null) 'autopilot': autopilot!,
      if (autoscaling != null) 'autoscaling': autoscaling!,
      if (binaryAuthorization != null)
        'binaryAuthorization': binaryAuthorization!,
      if (clusterIpv4Cidr != null) 'clusterIpv4Cidr': clusterIpv4Cidr!,
      if (conditions != null) 'conditions': conditions!,
      if (confidentialNodes != null) 'confidentialNodes': confidentialNodes!,
      if (costManagementConfig != null)
        'costManagementConfig': costManagementConfig!,
      if (createTime != null) 'createTime': createTime!,
      if (currentMasterVersion != null)
        'currentMasterVersion': currentMasterVersion!,
      if (currentNodeCount != null) 'currentNodeCount': currentNodeCount!,
      if (currentNodeVersion != null)
        'currentNodeVersion': currentNodeVersion!,
      if (databaseEncryption != null)
        'databaseEncryption': databaseEncryption!,
      if (defaultMaxPodsConstraint != null)
        'defaultMaxPodsConstraint': defaultMaxPodsConstraint!,
      if (description != null) 'description': description!,
      if (enableK8sBetaApis != null) 'enableK8sBetaApis': enableK8sBetaApis!,
      if (enableKubernetesAlpha != null)
        'enableKubernetesAlpha': enableKubernetesAlpha!,
      if (enableTpu != null) 'enableTpu': enableTpu!,
      if (endpoint != null) 'endpoint': endpoint!,
      if (enterpriseConfig != null) 'enterpriseConfig': enterpriseConfig!,
      if (etag != null) 'etag': etag!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (fleet != null) 'fleet': fleet!,
      if (id != null) 'id': id!,
      if (identityServiceConfig != null)
        'identityServiceConfig': identityServiceConfig!,
      if (initialClusterVersion != null)
        'initialClusterVersion': initialClusterVersion!,
      if (initialNodeCount != null) 'initialNodeCount': initialNodeCount!,
      if (instanceGroupUrls != null) 'instanceGroupUrls': instanceGroupUrls!,
      if (ipAllocationPolicy != null)
        'ipAllocationPolicy': ipAllocationPolicy!,
      if (labelFingerprint != null) 'labelFingerprint': labelFingerprint!,
      if (legacyAbac != null) 'legacyAbac': legacyAbac!,
      if (location != null) 'location': location!,
      if (locations != null) 'locations': locations!,
      if (loggingConfig != null) 'loggingConfig': loggingConfig!,
      if (loggingService != null) 'loggingService': loggingService!,
      if (maintenancePolicy != null) 'maintenancePolicy': maintenancePolicy!,
      if (masterAuth != null) 'masterAuth': masterAuth!,
      if (masterAuthorizedNetworksConfig != null)
        'masterAuthorizedNetworksConfig': masterAuthorizedNetworksConfig!,
      if (meshCertificates != null) 'meshCertificates': meshCertificates!,
      if (monitoringConfig != null) 'monitoringConfig': monitoringConfig!,
      if (monitoringService != null) 'monitoringService': monitoringService!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (networkConfig != null) 'networkConfig': networkConfig!,
      if (networkPolicy != null) 'networkPolicy': networkPolicy!,
      if (nodeConfig != null) 'nodeConfig': nodeConfig!,
      if (nodeIpv4CidrSize != null) 'nodeIpv4CidrSize': nodeIpv4CidrSize!,
      if (nodePoolAutoConfig != null)
        'nodePoolAutoConfig': nodePoolAutoConfig!,
      if (nodePoolDefaults != null) 'nodePoolDefaults': nodePoolDefaults!,
      if (nodePools != null) 'nodePools': nodePools!,
      if (notificationConfig != null)
        'notificationConfig': notificationConfig!,
      if (parentProductConfig != null)
        'parentProductConfig': parentProductConfig!,
      if (privateClusterConfig != null)
        'privateClusterConfig': privateClusterConfig!,
      if (releaseChannel != null) 'releaseChannel': releaseChannel!,
      if (resourceLabels != null) 'resourceLabels': resourceLabels!,
      if (resourceUsageExportConfig != null)
        'resourceUsageExportConfig': resourceUsageExportConfig!,
      if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (securityPostureConfig != null)
        'securityPostureConfig': securityPostureConfig!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (servicesIpv4Cidr != null) 'servicesIpv4Cidr': servicesIpv4Cidr!,
      if (shieldedNodes != null) 'shieldedNodes': shieldedNodes!,
      if (status != null) 'status': status!,
      if (statusMessage != null) 'statusMessage': statusMessage!,
      if (subnetwork != null) 'subnetwork': subnetwork!,
      if (tpuIpv4CidrBlock != null) 'tpuIpv4CidrBlock': tpuIpv4CidrBlock!,
      if (verticalPodAutoscaling != null)
        'verticalPodAutoscaling': verticalPodAutoscaling!,
      if (workloadIdentityConfig != null)
        'workloadIdentityConfig': workloadIdentityConfig!,
      if (zone != null) 'zone': zone!,
    };