[e3d4e0a] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\Contentwarehouse;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudContentwarehouseV1SearchDocumentsRequest extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'histogramQueries';
|
---|
| 23 | protected $documentQueryType = GoogleCloudContentwarehouseV1DocumentQuery::class;
|
---|
| 24 | protected $documentQueryDataType = '';
|
---|
| 25 | protected $histogramQueriesType = GoogleCloudContentwarehouseV1HistogramQuery::class;
|
---|
| 26 | protected $histogramQueriesDataType = 'array';
|
---|
| 27 | /**
|
---|
| 28 | * @var int
|
---|
| 29 | */
|
---|
| 30 | public $offset;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $orderBy;
|
---|
| 35 | /**
|
---|
| 36 | * @var int
|
---|
| 37 | */
|
---|
| 38 | public $pageSize;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $pageToken;
|
---|
| 43 | /**
|
---|
| 44 | * @var int
|
---|
| 45 | */
|
---|
| 46 | public $qaSizeLimit;
|
---|
| 47 | protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
|
---|
| 48 | protected $requestMetadataDataType = '';
|
---|
| 49 | /**
|
---|
| 50 | * @var bool
|
---|
| 51 | */
|
---|
| 52 | public $requireTotalSize;
|
---|
| 53 | /**
|
---|
| 54 | * @var string
|
---|
| 55 | */
|
---|
| 56 | public $totalResultSize;
|
---|
| 57 |
|
---|
| 58 | /**
|
---|
| 59 | * @param GoogleCloudContentwarehouseV1DocumentQuery
|
---|
| 60 | */
|
---|
| 61 | public function setDocumentQuery(GoogleCloudContentwarehouseV1DocumentQuery $documentQuery)
|
---|
| 62 | {
|
---|
| 63 | $this->documentQuery = $documentQuery;
|
---|
| 64 | }
|
---|
| 65 | /**
|
---|
| 66 | * @return GoogleCloudContentwarehouseV1DocumentQuery
|
---|
| 67 | */
|
---|
| 68 | public function getDocumentQuery()
|
---|
| 69 | {
|
---|
| 70 | return $this->documentQuery;
|
---|
| 71 | }
|
---|
| 72 | /**
|
---|
| 73 | * @param GoogleCloudContentwarehouseV1HistogramQuery[]
|
---|
| 74 | */
|
---|
| 75 | public function setHistogramQueries($histogramQueries)
|
---|
| 76 | {
|
---|
| 77 | $this->histogramQueries = $histogramQueries;
|
---|
| 78 | }
|
---|
| 79 | /**
|
---|
| 80 | * @return GoogleCloudContentwarehouseV1HistogramQuery[]
|
---|
| 81 | */
|
---|
| 82 | public function getHistogramQueries()
|
---|
| 83 | {
|
---|
| 84 | return $this->histogramQueries;
|
---|
| 85 | }
|
---|
| 86 | /**
|
---|
| 87 | * @param int
|
---|
| 88 | */
|
---|
| 89 | public function setOffset($offset)
|
---|
| 90 | {
|
---|
| 91 | $this->offset = $offset;
|
---|
| 92 | }
|
---|
| 93 | /**
|
---|
| 94 | * @return int
|
---|
| 95 | */
|
---|
| 96 | public function getOffset()
|
---|
| 97 | {
|
---|
| 98 | return $this->offset;
|
---|
| 99 | }
|
---|
| 100 | /**
|
---|
| 101 | * @param string
|
---|
| 102 | */
|
---|
| 103 | public function setOrderBy($orderBy)
|
---|
| 104 | {
|
---|
| 105 | $this->orderBy = $orderBy;
|
---|
| 106 | }
|
---|
| 107 | /**
|
---|
| 108 | * @return string
|
---|
| 109 | */
|
---|
| 110 | public function getOrderBy()
|
---|
| 111 | {
|
---|
| 112 | return $this->orderBy;
|
---|
| 113 | }
|
---|
| 114 | /**
|
---|
| 115 | * @param int
|
---|
| 116 | */
|
---|
| 117 | public function setPageSize($pageSize)
|
---|
| 118 | {
|
---|
| 119 | $this->pageSize = $pageSize;
|
---|
| 120 | }
|
---|
| 121 | /**
|
---|
| 122 | * @return int
|
---|
| 123 | */
|
---|
| 124 | public function getPageSize()
|
---|
| 125 | {
|
---|
| 126 | return $this->pageSize;
|
---|
| 127 | }
|
---|
| 128 | /**
|
---|
| 129 | * @param string
|
---|
| 130 | */
|
---|
| 131 | public function setPageToken($pageToken)
|
---|
| 132 | {
|
---|
| 133 | $this->pageToken = $pageToken;
|
---|
| 134 | }
|
---|
| 135 | /**
|
---|
| 136 | * @return string
|
---|
| 137 | */
|
---|
| 138 | public function getPageToken()
|
---|
| 139 | {
|
---|
| 140 | return $this->pageToken;
|
---|
| 141 | }
|
---|
| 142 | /**
|
---|
| 143 | * @param int
|
---|
| 144 | */
|
---|
| 145 | public function setQaSizeLimit($qaSizeLimit)
|
---|
| 146 | {
|
---|
| 147 | $this->qaSizeLimit = $qaSizeLimit;
|
---|
| 148 | }
|
---|
| 149 | /**
|
---|
| 150 | * @return int
|
---|
| 151 | */
|
---|
| 152 | public function getQaSizeLimit()
|
---|
| 153 | {
|
---|
| 154 | return $this->qaSizeLimit;
|
---|
| 155 | }
|
---|
| 156 | /**
|
---|
| 157 | * @param GoogleCloudContentwarehouseV1RequestMetadata
|
---|
| 158 | */
|
---|
| 159 | public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
|
---|
| 160 | {
|
---|
| 161 | $this->requestMetadata = $requestMetadata;
|
---|
| 162 | }
|
---|
| 163 | /**
|
---|
| 164 | * @return GoogleCloudContentwarehouseV1RequestMetadata
|
---|
| 165 | */
|
---|
| 166 | public function getRequestMetadata()
|
---|
| 167 | {
|
---|
| 168 | return $this->requestMetadata;
|
---|
| 169 | }
|
---|
| 170 | /**
|
---|
| 171 | * @param bool
|
---|
| 172 | */
|
---|
| 173 | public function setRequireTotalSize($requireTotalSize)
|
---|
| 174 | {
|
---|
| 175 | $this->requireTotalSize = $requireTotalSize;
|
---|
| 176 | }
|
---|
| 177 | /**
|
---|
| 178 | * @return bool
|
---|
| 179 | */
|
---|
| 180 | public function getRequireTotalSize()
|
---|
| 181 | {
|
---|
| 182 | return $this->requireTotalSize;
|
---|
| 183 | }
|
---|
| 184 | /**
|
---|
| 185 | * @param string
|
---|
| 186 | */
|
---|
| 187 | public function setTotalResultSize($totalResultSize)
|
---|
| 188 | {
|
---|
| 189 | $this->totalResultSize = $totalResultSize;
|
---|
| 190 | }
|
---|
| 191 | /**
|
---|
| 192 | * @return string
|
---|
| 193 | */
|
---|
| 194 | public function getTotalResultSize()
|
---|
| 195 | {
|
---|
| 196 | return $this->totalResultSize;
|
---|
| 197 | }
|
---|
| 198 | }
|
---|
| 199 |
|
---|
| 200 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 201 | class_alias(GoogleCloudContentwarehouseV1SearchDocumentsRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1SearchDocumentsRequest');
|
---|