SetNodePoolAutoscalingRequest.fromJson constructor

SetNodePoolAutoscalingRequest.fromJson(
  1. Map json_
)

Implementation

SetNodePoolAutoscalingRequest.fromJson(core.Map json_)
    : this(
        autoscaling: json_.containsKey('autoscaling')
            ? NodePoolAutoscaling.fromJson(
                json_['autoscaling'] as core.Map<core.String, core.dynamic>)
            : null,
        clusterId: json_.containsKey('clusterId')
            ? json_['clusterId'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        nodePoolId: json_.containsKey('nodePoolId')
            ? json_['nodePoolId'] as core.String
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
      );