GoogleCloudDataplexV1SearchEntriesResponse.fromJson constructor

GoogleCloudDataplexV1SearchEntriesResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1SearchEntriesResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        results: json_.containsKey('results')
            ? (json_['results'] as core.List)
                .map((value) =>
                    GoogleCloudDataplexV1SearchEntriesResult.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        totalSize: json_.containsKey('totalSize')
            ? json_['totalSize'] as core.int
            : null,
        unreachable: json_.containsKey('unreachable')
            ? (json_['unreachable'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );