InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors.fromJson constructor

InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors.fromJson(
  1. Map json_
)

Implementation

InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors.fromJson(
    core.Map json_)
    : this(
        code: json_.containsKey('code') ? json_['code'] as core.String : null,
        errorDetails: json_.containsKey('errorDetails')
            ? (json_['errorDetails'] as core.List)
                .map((value) =>
                    InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
      );