InstanceGroupManagerStatus.fromJson constructor

InstanceGroupManagerStatus.fromJson(
  1. Map json_
)

Implementation

InstanceGroupManagerStatus.fromJson(core.Map json_)
    : this(
        allInstancesConfig: json_.containsKey('allInstancesConfig')
            ? InstanceGroupManagerStatusAllInstancesConfig.fromJson(
                json_['allInstancesConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        autoscaler: json_.containsKey('autoscaler')
            ? json_['autoscaler'] as core.String
            : null,
        isStable: json_.containsKey('isStable')
            ? json_['isStable'] as core.bool
            : null,
        stateful: json_.containsKey('stateful')
            ? InstanceGroupManagerStatusStateful.fromJson(
                json_['stateful'] as core.Map<core.String, core.dynamic>)
            : null,
        versionTarget: json_.containsKey('versionTarget')
            ? InstanceGroupManagerStatusVersionTarget.fromJson(
                json_['versionTarget'] as core.Map<core.String, core.dynamic>)
            : null,
      );