暫無描述

JobFilters.php 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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. class Google_Service_JobService_JobFilters extends Google_Collection
  18. {
  19. protected $collection_key = 'locationFilters';
  20. public $categories;
  21. protected $commuteFilterType = 'Google_Service_JobService_CommutePreference';
  22. protected $commuteFilterDataType = '';
  23. public $companyNames;
  24. public $companyTitles;
  25. protected $compensationFilterType = 'Google_Service_JobService_CompensationFilter';
  26. protected $compensationFilterDataType = '';
  27. public $customAttributeFilter;
  28. protected $customFieldFiltersType = 'Google_Service_JobService_CustomFieldFilter';
  29. protected $customFieldFiltersDataType = 'map';
  30. public $disableSpellCheck;
  31. public $employmentTypes;
  32. protected $extendedCompensationFilterType = 'Google_Service_JobService_ExtendedCompensationFilter';
  33. protected $extendedCompensationFilterDataType = '';
  34. public $languageCodes;
  35. protected $locationFiltersType = 'Google_Service_JobService_LocationFilter';
  36. protected $locationFiltersDataType = 'array';
  37. public $publishDateRange;
  38. public $query;
  39. public $tenantJobOnly;
  40. public function setCategories($categories)
  41. {
  42. $this->categories = $categories;
  43. }
  44. public function getCategories()
  45. {
  46. return $this->categories;
  47. }
  48. /**
  49. * @param Google_Service_JobService_CommutePreference
  50. */
  51. public function setCommuteFilter(Google_Service_JobService_CommutePreference $commuteFilter)
  52. {
  53. $this->commuteFilter = $commuteFilter;
  54. }
  55. /**
  56. * @return Google_Service_JobService_CommutePreference
  57. */
  58. public function getCommuteFilter()
  59. {
  60. return $this->commuteFilter;
  61. }
  62. public function setCompanyNames($companyNames)
  63. {
  64. $this->companyNames = $companyNames;
  65. }
  66. public function getCompanyNames()
  67. {
  68. return $this->companyNames;
  69. }
  70. public function setCompanyTitles($companyTitles)
  71. {
  72. $this->companyTitles = $companyTitles;
  73. }
  74. public function getCompanyTitles()
  75. {
  76. return $this->companyTitles;
  77. }
  78. /**
  79. * @param Google_Service_JobService_CompensationFilter
  80. */
  81. public function setCompensationFilter(Google_Service_JobService_CompensationFilter $compensationFilter)
  82. {
  83. $this->compensationFilter = $compensationFilter;
  84. }
  85. /**
  86. * @return Google_Service_JobService_CompensationFilter
  87. */
  88. public function getCompensationFilter()
  89. {
  90. return $this->compensationFilter;
  91. }
  92. public function setCustomAttributeFilter($customAttributeFilter)
  93. {
  94. $this->customAttributeFilter = $customAttributeFilter;
  95. }
  96. public function getCustomAttributeFilter()
  97. {
  98. return $this->customAttributeFilter;
  99. }
  100. /**
  101. * @param Google_Service_JobService_CustomFieldFilter
  102. */
  103. public function setCustomFieldFilters($customFieldFilters)
  104. {
  105. $this->customFieldFilters = $customFieldFilters;
  106. }
  107. /**
  108. * @return Google_Service_JobService_CustomFieldFilter
  109. */
  110. public function getCustomFieldFilters()
  111. {
  112. return $this->customFieldFilters;
  113. }
  114. public function setDisableSpellCheck($disableSpellCheck)
  115. {
  116. $this->disableSpellCheck = $disableSpellCheck;
  117. }
  118. public function getDisableSpellCheck()
  119. {
  120. return $this->disableSpellCheck;
  121. }
  122. public function setEmploymentTypes($employmentTypes)
  123. {
  124. $this->employmentTypes = $employmentTypes;
  125. }
  126. public function getEmploymentTypes()
  127. {
  128. return $this->employmentTypes;
  129. }
  130. /**
  131. * @param Google_Service_JobService_ExtendedCompensationFilter
  132. */
  133. public function setExtendedCompensationFilter(Google_Service_JobService_ExtendedCompensationFilter $extendedCompensationFilter)
  134. {
  135. $this->extendedCompensationFilter = $extendedCompensationFilter;
  136. }
  137. /**
  138. * @return Google_Service_JobService_ExtendedCompensationFilter
  139. */
  140. public function getExtendedCompensationFilter()
  141. {
  142. return $this->extendedCompensationFilter;
  143. }
  144. public function setLanguageCodes($languageCodes)
  145. {
  146. $this->languageCodes = $languageCodes;
  147. }
  148. public function getLanguageCodes()
  149. {
  150. return $this->languageCodes;
  151. }
  152. /**
  153. * @param Google_Service_JobService_LocationFilter
  154. */
  155. public function setLocationFilters($locationFilters)
  156. {
  157. $this->locationFilters = $locationFilters;
  158. }
  159. /**
  160. * @return Google_Service_JobService_LocationFilter
  161. */
  162. public function getLocationFilters()
  163. {
  164. return $this->locationFilters;
  165. }
  166. public function setPublishDateRange($publishDateRange)
  167. {
  168. $this->publishDateRange = $publishDateRange;
  169. }
  170. public function getPublishDateRange()
  171. {
  172. return $this->publishDateRange;
  173. }
  174. public function setQuery($query)
  175. {
  176. $this->query = $query;
  177. }
  178. public function getQuery()
  179. {
  180. return $this->query;
  181. }
  182. public function setTenantJobOnly($tenantJobOnly)
  183. {
  184. $this->tenantJobOnly = $tenantJobOnly;
  185. }
  186. public function getTenantJobOnly()
  187. {
  188. return $this->tenantJobOnly;
  189. }
  190. }