MembershipEndpoint.fromJson constructor

MembershipEndpoint.fromJson(
  1. Map json_
)

Implementation

MembershipEndpoint.fromJson(core.Map json_)
    : this(
        applianceCluster: json_.containsKey('applianceCluster')
            ? ApplianceCluster.fromJson(json_['applianceCluster']
                as core.Map<core.String, core.dynamic>)
            : null,
        edgeCluster: json_.containsKey('edgeCluster')
            ? EdgeCluster.fromJson(
                json_['edgeCluster'] as core.Map<core.String, core.dynamic>)
            : null,
        gkeCluster: json_.containsKey('gkeCluster')
            ? GkeCluster.fromJson(
                json_['gkeCluster'] as core.Map<core.String, core.dynamic>)
            : null,
        googleManaged: json_.containsKey('googleManaged')
            ? json_['googleManaged'] as core.bool
            : null,
        kubernetesMetadata: json_.containsKey('kubernetesMetadata')
            ? KubernetesMetadata.fromJson(json_['kubernetesMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
        kubernetesResource: json_.containsKey('kubernetesResource')
            ? KubernetesResource.fromJson(json_['kubernetesResource']
                as core.Map<core.String, core.dynamic>)
            : null,
        multiCloudCluster: json_.containsKey('multiCloudCluster')
            ? MultiCloudCluster.fromJson(json_['multiCloudCluster']
                as core.Map<core.String, core.dynamic>)
            : null,
        onPremCluster: json_.containsKey('onPremCluster')
            ? OnPremCluster.fromJson(
                json_['onPremCluster'] as core.Map<core.String, core.dynamic>)
            : null,
      );