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
18namespace Google\Service\CloudTalentSolution;
19
20class SearchJobsRequest extends \Google\Collection
21{
22  protected $collection_key = 'histogramQueries';
23  protected $customRankingInfoType = CustomRankingInfo::class;
24  protected $customRankingInfoDataType = '';
25  /**
26   * @var bool
27   */
28  public $disableKeywordMatch;
29  /**
30   * @var string
31   */
32  public $diversificationLevel;
33  /**
34   * @var bool
35   */
36  public $enableBroadening;
37  protected $histogramQueriesType = HistogramQuery::class;
38  protected $histogramQueriesDataType = 'array';
39  protected $jobQueryType = JobQuery::class;
40  protected $jobQueryDataType = '';
41  /**
42   * @var string
43   */
44  public $jobView;
45  /**
46   * @var string
47   */
48  public $keywordMatchMode;
49  /**
50   * @var int
51   */
52  public $maxPageSize;
53  /**
54   * @var int
55   */
56  public $offset;
57  /**
58   * @var string
59   */
60  public $orderBy;
61  /**
62   * @var string
63   */
64  public $pageToken;
65  protected $requestMetadataType = RequestMetadata::class;
66  protected $requestMetadataDataType = '';
67  /**
68   * @var string
69   */
70  public $searchMode;
71
72  /**
73   * @param CustomRankingInfo
74   */
75  public function setCustomRankingInfo(CustomRankingInfo $customRankingInfo)
76  {
77    $this->customRankingInfo = $customRankingInfo;
78  }
79  /**
80   * @return CustomRankingInfo
81   */
82  public function getCustomRankingInfo()
83  {
84    return $this->customRankingInfo;
85  }
86  /**
87   * @param bool
88   */
89  public function setDisableKeywordMatch($disableKeywordMatch)
90  {
91    $this->disableKeywordMatch = $disableKeywordMatch;
92  }
93  /**
94   * @return bool
95   */
96  public function getDisableKeywordMatch()
97  {
98    return $this->disableKeywordMatch;
99  }
100  /**
101   * @param string
102   */
103  public function setDiversificationLevel($diversificationLevel)
104  {
105    $this->diversificationLevel = $diversificationLevel;
106  }
107  /**
108   * @return string
109   */
110  public function getDiversificationLevel()
111  {
112    return $this->diversificationLevel;
113  }
114  /**
115   * @param bool
116   */
117  public function setEnableBroadening($enableBroadening)
118  {
119    $this->enableBroadening = $enableBroadening;
120  }
121  /**
122   * @return bool
123   */
124  public function getEnableBroadening()
125  {
126    return $this->enableBroadening;
127  }
128  /**
129   * @param HistogramQuery[]
130   */
131  public function setHistogramQueries($histogramQueries)
132  {
133    $this->histogramQueries = $histogramQueries;
134  }
135  /**
136   * @return HistogramQuery[]
137   */
138  public function getHistogramQueries()
139  {
140    return $this->histogramQueries;
141  }
142  /**
143   * @param JobQuery
144   */
145  public function setJobQuery(JobQuery $jobQuery)
146  {
147    $this->jobQuery = $jobQuery;
148  }
149  /**
150   * @return JobQuery
151   */
152  public function getJobQuery()
153  {
154    return $this->jobQuery;
155  }
156  /**
157   * @param string
158   */
159  public function setJobView($jobView)
160  {
161    $this->jobView = $jobView;
162  }
163  /**
164   * @return string
165   */
166  public function getJobView()
167  {
168    return $this->jobView;
169  }
170  /**
171   * @param string
172   */
173  public function setKeywordMatchMode($keywordMatchMode)
174  {
175    $this->keywordMatchMode = $keywordMatchMode;
176  }
177  /**
178   * @return string
179   */
180  public function getKeywordMatchMode()
181  {
182    return $this->keywordMatchMode;
183  }
184  /**
185   * @param int
186   */
187  public function setMaxPageSize($maxPageSize)
188  {
189    $this->maxPageSize = $maxPageSize;
190  }
191  /**
192   * @return int
193   */
194  public function getMaxPageSize()
195  {
196    return $this->maxPageSize;
197  }
198  /**
199   * @param int
200   */
201  public function setOffset($offset)
202  {
203    $this->offset = $offset;
204  }
205  /**
206   * @return int
207   */
208  public function getOffset()
209  {
210    return $this->offset;
211  }
212  /**
213   * @param string
214   */
215  public function setOrderBy($orderBy)
216  {
217    $this->orderBy = $orderBy;
218  }
219  /**
220   * @return string
221   */
222  public function getOrderBy()
223  {
224    return $this->orderBy;
225  }
226  /**
227   * @param string
228   */
229  public function setPageToken($pageToken)
230  {
231    $this->pageToken = $pageToken;
232  }
233  /**
234   * @return string
235   */
236  public function getPageToken()
237  {
238    return $this->pageToken;
239  }
240  /**
241   * @param RequestMetadata
242   */
243  public function setRequestMetadata(RequestMetadata $requestMetadata)
244  {
245    $this->requestMetadata = $requestMetadata;
246  }
247  /**
248   * @return RequestMetadata
249   */
250  public function getRequestMetadata()
251  {
252    return $this->requestMetadata;
253  }
254  /**
255   * @param string
256   */
257  public function setSearchMode($searchMode)
258  {
259    $this->searchMode = $searchMode;
260  }
261  /**
262   * @return string
263   */
264  public function getSearchMode()
265  {
266    return $this->searchMode;
267  }
268}
269
270// Adding a class alias for backwards compatibility with the previous class name.
271class_alias(SearchJobsRequest::class, 'Google_Service_CloudTalentSolution_SearchJobsRequest');
272