| 1 | <?php namespace JobApis\Jobs\Client\Queries; |
||
| 3 | class ZiprecruiterQuery extends AbstractQuery |
||
| 4 | { |
||
| 5 | /** |
||
| 6 | * api_key |
||
| 7 | * |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $api_key; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * search |
||
| 14 | * |
||
| 15 | * The search query. |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $search; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * location |
||
| 23 | * |
||
| 24 | * e.g., “Santa Monica, CA” or “London, UK” |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $location; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * radius_miles |
||
| 32 | * |
||
| 33 | * @var integer |
||
| 34 | */ |
||
| 35 | protected $radius_miles; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * page |
||
| 39 | * |
||
| 40 | * @var integer |
||
| 41 | */ |
||
| 42 | protected $page; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * jobs_per_page |
||
| 46 | * |
||
| 47 | * @var integer |
||
| 48 | */ |
||
| 49 | protected $jobs_per_page; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * days_ago |
||
| 53 | * |
||
| 54 | * @var integer |
||
| 55 | */ |
||
| 56 | protected $days_ago; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Get baseUrl |
||
| 60 | * |
||
| 61 | * @return string Value of the base url to this api |
||
| 62 | */ |
||
| 63 | 6 | public function getBaseUrl() |
|
| 67 | |||
| 68 | /** |
||
| 69 | * Get keyword |
||
| 70 | * |
||
| 71 | * @return string Attribute being used as the search keyword |
||
| 72 | */ |
||
| 73 | 4 | public function getKeyword() |
|
| 77 | |||
| 78 | /** |
||
| 79 | * Required parameters |
||
| 80 | * |
||
| 81 | * @return array |
||
| 82 | */ |
||
| 83 | 6 | protected function requiredAttributes() |
|
| 89 | } |
||
| 90 |