toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (applianceCluster != null) 'applianceCluster': applianceCluster!,
      if (edgeCluster != null) 'edgeCluster': edgeCluster!,
      if (gkeCluster != null) 'gkeCluster': gkeCluster!,
      if (googleManaged != null) 'googleManaged': googleManaged!,
      if (kubernetesMetadata != null)
        'kubernetesMetadata': kubernetesMetadata!,
      if (kubernetesResource != null)
        'kubernetesResource': kubernetesResource!,
      if (multiCloudCluster != null) 'multiCloudCluster': multiCloudCluster!,
      if (onPremCluster != null) 'onPremCluster': onPremCluster!,
    };