ListInstancePartitionOperationsResponse.fromJson constructor

ListInstancePartitionOperationsResponse.fromJson(
  1. Map json_
)

Implementation

ListInstancePartitionOperationsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        operations: json_.containsKey('operations')
            ? (json_['operations'] as core.List)
                .map((value) => Operation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        unreachableInstancePartitions:
            json_.containsKey('unreachableInstancePartitions')
                ? (json_['unreachableInstancePartitions'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
      );