toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adminClusterMembership != null)
        'adminClusterMembership': adminClusterMembership!,
      if (adminClusterName != null) 'adminClusterName': adminClusterName!,
      if (annotations != null) 'annotations': annotations!,
      if (antiAffinityGroups != null)
        'antiAffinityGroups': antiAffinityGroups!,
      if (authorization != null) 'authorization': authorization!,
      if (autoRepairConfig != null) 'autoRepairConfig': autoRepairConfig!,
      if (binaryAuthorization != null)
        'binaryAuthorization': binaryAuthorization!,
      if (controlPlaneNode != null) 'controlPlaneNode': controlPlaneNode!,
      if (createTime != null) 'createTime': createTime!,
      if (dataplaneV2 != null) 'dataplaneV2': dataplaneV2!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (description != null) 'description': description!,
      if (disableBundledIngress != null)
        'disableBundledIngress': disableBundledIngress!,
      if (enableControlPlaneV2 != null)
        'enableControlPlaneV2': enableControlPlaneV2!,
      if (endpoint != null) 'endpoint': endpoint!,
      if (etag != null) 'etag': etag!,
      if (fleet != null) 'fleet': fleet!,
      if (loadBalancer != null) 'loadBalancer': loadBalancer!,
      if (localName != null) 'localName': localName!,
      if (name != null) 'name': name!,
      if (networkConfig != null) 'networkConfig': networkConfig!,
      if (onPremVersion != null) 'onPremVersion': onPremVersion!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (state != null) 'state': state!,
      if (status != null) 'status': status!,
      if (storage != null) 'storage': storage!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (upgradePolicy != null) 'upgradePolicy': upgradePolicy!,
      if (validationCheck != null) 'validationCheck': validationCheck!,
      if (vcenter != null) 'vcenter': vcenter!,
      if (vmTrackingEnabled != null) 'vmTrackingEnabled': vmTrackingEnabled!,
    };