GoogleCloudContentwarehouseV1SearchDocumentsRequest.fromJson constructor
GoogleCloudContentwarehouseV1SearchDocumentsRequest.fromJson(
- Map json_
Implementation
GoogleCloudContentwarehouseV1SearchDocumentsRequest.fromJson(core.Map json_)
: this(
documentQuery: json_.containsKey('documentQuery')
? GoogleCloudContentwarehouseV1DocumentQuery.fromJson(
json_['documentQuery'] as core.Map<core.String, core.dynamic>)
: null,
histogramQueries: json_.containsKey('histogramQueries')
? (json_['histogramQueries'] as core.List)
.map((value) =>
GoogleCloudContentwarehouseV1HistogramQuery.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
offset:
json_.containsKey('offset') ? json_['offset'] as core.int : null,
orderBy: json_.containsKey('orderBy')
? json_['orderBy'] as core.String
: null,
pageSize: json_.containsKey('pageSize')
? json_['pageSize'] as core.int
: null,
pageToken: json_.containsKey('pageToken')
? json_['pageToken'] as core.String
: null,
qaSizeLimit: json_.containsKey('qaSizeLimit')
? json_['qaSizeLimit'] as core.int
: null,
requestMetadata: json_.containsKey('requestMetadata')
? GoogleCloudContentwarehouseV1RequestMetadata.fromJson(
json_['requestMetadata']
as core.Map<core.String, core.dynamic>)
: null,
requireTotalSize: json_.containsKey('requireTotalSize')
? json_['requireTotalSize'] as core.bool
: null,
totalResultSize: json_.containsKey('totalResultSize')
? json_['totalResultSize'] as core.String
: null,
);