NodePoolAutoscaling.fromJson constructor

NodePoolAutoscaling.fromJson(
  1. Map json_
)

Implementation

NodePoolAutoscaling.fromJson(core.Map json_)
    : this(
        autoprovisioned: json_.containsKey('autoprovisioned')
            ? json_['autoprovisioned'] as core.bool
            : null,
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        locationPolicy: json_.containsKey('locationPolicy')
            ? json_['locationPolicy'] as core.String
            : null,
        maxNodeCount: json_.containsKey('maxNodeCount')
            ? json_['maxNodeCount'] as core.int
            : null,
        minNodeCount: json_.containsKey('minNodeCount')
            ? json_['minNodeCount'] as core.int
            : null,
        totalMaxNodeCount: json_.containsKey('totalMaxNodeCount')
            ? json_['totalMaxNodeCount'] as core.int
            : null,
        totalMinNodeCount: json_.containsKey('totalMinNodeCount')
            ? json_['totalMinNodeCount'] as core.int
            : null,
      );