InstanceGroupManagerResizeRequest.fromJson constructor

InstanceGroupManagerResizeRequest.fromJson(
  1. Map json_
)

Implementation

InstanceGroupManagerResizeRequest.fromJson(core.Map json_)
    : this(
        creationTimestamp: json_.containsKey('creationTimestamp')
            ? json_['creationTimestamp'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        requestedRunDuration: json_.containsKey('requestedRunDuration')
            ? Duration.fromJson(json_['requestedRunDuration']
                as core.Map<core.String, core.dynamic>)
            : null,
        resizeBy: json_.containsKey('resizeBy')
            ? json_['resizeBy'] as core.int
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        selfLinkWithId: json_.containsKey('selfLinkWithId')
            ? json_['selfLinkWithId'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        status: json_.containsKey('status')
            ? InstanceGroupManagerResizeRequestStatus.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
        zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
      );