toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (addonNode != null) 'addonNode': addonNode!,
  if (annotations != null) 'annotations': annotations!,
  if (antiAffinityGroups != null) 'antiAffinityGroups': antiAffinityGroups!,
  if (authorization != null) 'authorization': authorization!,
  if (autoRepairConfig != null) 'autoRepairConfig': autoRepairConfig!,
  if (bootstrapClusterMembership != null)
    'bootstrapClusterMembership': bootstrapClusterMembership!,
  if (controlPlaneNode != null) 'controlPlaneNode': controlPlaneNode!,
  if (createTime != null) 'createTime': createTime!,
  if (description != null) 'description': description!,
  if (enableAdvancedCluster != null)
    'enableAdvancedCluster': enableAdvancedCluster!,
  if (endpoint != null) 'endpoint': endpoint!,
  if (etag != null) 'etag': etag!,
  if (fleet != null) 'fleet': fleet!,
  if (imageType != null) 'imageType': imageType!,
  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 (platformConfig != null) 'platformConfig': platformConfig!,
  if (preparedSecrets != null) 'preparedSecrets': preparedSecrets!,
  if (privateRegistryConfig != null)
    'privateRegistryConfig': privateRegistryConfig!,
  if (proxy != null) 'proxy': proxy!,
  if (reconciling != null) 'reconciling': reconciling!,
  if (state != null) 'state': state!,
  if (status != null) 'status': status!,
  if (uid != null) 'uid': uid!,
  if (updateTime != null) 'updateTime': updateTime!,
  if (validationCheck != null) 'validationCheck': validationCheck!,
  if (vcenter != null) 'vcenter': vcenter!,
};