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 SearchJobsResponse extends \Google\Collection
21{
22  protected $collection_key = 'matchingJobs';
23  /**
24   * @var int
25   */
26  public $broadenedQueryJobsCount;
27  protected $histogramQueryResultsType = HistogramQueryResult::class;
28  protected $histogramQueryResultsDataType = 'array';
29  protected $locationFiltersType = Location::class;
30  protected $locationFiltersDataType = 'array';
31  protected $matchingJobsType = MatchingJob::class;
32  protected $matchingJobsDataType = 'array';
33  protected $metadataType = ResponseMetadata::class;
34  protected $metadataDataType = '';
35  /**
36   * @var string
37   */
38  public $nextPageToken;
39  protected $spellCorrectionType = SpellingCorrection::class;
40  protected $spellCorrectionDataType = '';
41  /**
42   * @var int
43   */
44  public $totalSize;
45
46  /**
47   * @param int
48   */
49  public function setBroadenedQueryJobsCount($broadenedQueryJobsCount)
50  {
51    $this->broadenedQueryJobsCount = $broadenedQueryJobsCount;
52  }
53  /**
54   * @return int
55   */
56  public function getBroadenedQueryJobsCount()
57  {
58    return $this->broadenedQueryJobsCount;
59  }
60  /**
61   * @param HistogramQueryResult[]
62   */
63  public function setHistogramQueryResults($histogramQueryResults)
64  {
65    $this->histogramQueryResults = $histogramQueryResults;
66  }
67  /**
68   * @return HistogramQueryResult[]
69   */
70  public function getHistogramQueryResults()
71  {
72    return $this->histogramQueryResults;
73  }
74  /**
75   * @param Location[]
76   */
77  public function setLocationFilters($locationFilters)
78  {
79    $this->locationFilters = $locationFilters;
80  }
81  /**
82   * @return Location[]
83   */
84  public function getLocationFilters()
85  {
86    return $this->locationFilters;
87  }
88  /**
89   * @param MatchingJob[]
90   */
91  public function setMatchingJobs($matchingJobs)
92  {
93    $this->matchingJobs = $matchingJobs;
94  }
95  /**
96   * @return MatchingJob[]
97   */
98  public function getMatchingJobs()
99  {
100    return $this->matchingJobs;
101  }
102  /**
103   * @param ResponseMetadata
104   */
105  public function setMetadata(ResponseMetadata $metadata)
106  {
107    $this->metadata = $metadata;
108  }
109  /**
110   * @return ResponseMetadata
111   */
112  public function getMetadata()
113  {
114    return $this->metadata;
115  }
116  /**
117   * @param string
118   */
119  public function setNextPageToken($nextPageToken)
120  {
121    $this->nextPageToken = $nextPageToken;
122  }
123  /**
124   * @return string
125   */
126  public function getNextPageToken()
127  {
128    return $this->nextPageToken;
129  }
130  /**
131   * @param SpellingCorrection
132   */
133  public function setSpellCorrection(SpellingCorrection $spellCorrection)
134  {
135    $this->spellCorrection = $spellCorrection;
136  }
137  /**
138   * @return SpellingCorrection
139   */
140  public function getSpellCorrection()
141  {
142    return $this->spellCorrection;
143  }
144  /**
145   * @param int
146   */
147  public function setTotalSize($totalSize)
148  {
149    $this->totalSize = $totalSize;
150  }
151  /**
152   * @return int
153   */
154  public function getTotalSize()
155  {
156    return $this->totalSize;
157  }
158}
159
160// Adding a class alias for backwards compatibility with the previous class name.
161class_alias(SearchJobsResponse::class, 'Google_Service_CloudTalentSolution_SearchJobsResponse');
162