toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoscaling != null) 'autoscaling': autoscaling!,
      if (bestEffortProvisioning != null)
        'bestEffortProvisioning': bestEffortProvisioning!,
      if (conditions != null) 'conditions': conditions!,
      if (config != null) 'config': config!,
      if (etag != null) 'etag': etag!,
      if (initialNodeCount != null) 'initialNodeCount': initialNodeCount!,
      if (instanceGroupUrls != null) 'instanceGroupUrls': instanceGroupUrls!,
      if (locations != null) 'locations': locations!,
      if (management != null) 'management': management!,
      if (maxPodsConstraint != null) 'maxPodsConstraint': maxPodsConstraint!,
      if (name != null) 'name': name!,
      if (networkConfig != null) 'networkConfig': networkConfig!,
      if (placementPolicy != null) 'placementPolicy': placementPolicy!,
      if (podIpv4CidrSize != null) 'podIpv4CidrSize': podIpv4CidrSize!,
      if (queuedProvisioning != null)
        'queuedProvisioning': queuedProvisioning!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (status != null) 'status': status!,
      if (statusMessage != null) 'statusMessage': statusMessage!,
      if (updateInfo != null) 'updateInfo': updateInfo!,
      if (upgradeSettings != null) 'upgradeSettings': upgradeSettings!,
      if (version != null) 'version': version!,
    };