ListJobMessagesResponse.fromJson constructor

ListJobMessagesResponse.fromJson(
  1. Map json_
)

Implementation

ListJobMessagesResponse.fromJson(core.Map json_)
    : this(
        autoscalingEvents: json_.containsKey('autoscalingEvents')
            ? (json_['autoscalingEvents'] as core.List)
                .map((value) => AutoscalingEvent.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        jobMessages: json_.containsKey('jobMessages')
            ? (json_['jobMessages'] as core.List)
                .map((value) => JobMessage.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );