InstanceGroupManagerVersion.fromJson constructor

InstanceGroupManagerVersion.fromJson(
  1. Map json_
)

Implementation

InstanceGroupManagerVersion.fromJson(core.Map json_)
    : this(
        instanceTemplate: json_.containsKey('instanceTemplate')
            ? json_['instanceTemplate'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        targetSize: json_.containsKey('targetSize')
            ? FixedOrPercent.fromJson(
                json_['targetSize'] as core.Map<core.String, core.dynamic>)
            : null,
      );