| 1 | <?php namespace JobApis\Jobs\Client\Queries; |
||
| 3 | class DiceQuery extends AbstractQuery |
||
| 4 | { |
||
| 5 | /** |
||
| 6 | * Direct hire jobs only |
||
| 7 | * |
||
| 8 | * @var boolean |
||
| 9 | */ |
||
| 10 | protected $direct; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Jobs' area code |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $areacode; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Country |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $country; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * State |
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | protected $state; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Skill to search for |
||
| 35 | * |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | protected $skill; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * City |
||
| 42 | * |
||
| 43 | * @var string |
||
| 44 | */ |
||
| 45 | protected $city; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Search query string |
||
| 49 | * |
||
| 50 | * @var string |
||
| 51 | */ |
||
| 52 | protected $text; |
||
| 53 | |||
| 54 | /** |
||
| 55 | * IP address that will be used to look up a geocode |
||
| 56 | * |
||
| 57 | * @var string |
||
| 58 | */ |
||
| 59 | protected $ip; |
||
| 60 | |||
| 61 | /** |
||
| 62 | * Posting age in days |
||
| 63 | * |
||
| 64 | * @var string |
||
| 65 | */ |
||
| 66 | protected $age; |
||
| 67 | |||
| 68 | /** |
||
| 69 | * Specific Dice user ID who posted the job |
||
| 70 | * |
||
| 71 | * @var string |
||
| 72 | */ |
||
| 73 | protected $diceid; |
||
| 74 | |||
| 75 | /** |
||
| 76 | * Page number of results to display |
||
| 77 | * |
||
| 78 | * @var integer |
||
| 79 | */ |
||
| 80 | protected $page; |
||
| 81 | |||
| 82 | /** |
||
| 83 | * Results per page |
||
| 84 | * |
||
| 85 | * @var integer |
||
| 86 | */ |
||
| 87 | protected $pgcnt; |
||
| 88 | |||
| 89 | /** |
||
| 90 | * Sort parameter: |
||
| 91 | * sort=1 sorts by posted age |
||
| 92 | * sort=2 sorts by job title |
||
| 93 | * sort=3 sorts by company |
||
| 94 | * sort=4 sorts by location |
||
| 95 | * |
||
| 96 | * @var integer |
||
| 97 | */ |
||
| 98 | protected $sort; |
||
| 99 | |||
| 100 | /** |
||
| 101 | * Sort direction: |
||
| 102 | * sd=a sort order is ASCENDING |
||
| 103 | * sd=d sort order is DESCENDING |
||
| 104 | * |
||
| 105 | * @var string |
||
| 106 | */ |
||
| 107 | protected $sd; |
||
| 108 | |||
| 109 | /** |
||
| 110 | * Get baseUrl |
||
| 111 | * |
||
| 112 | * @return string Value of the base url to this api |
||
| 113 | */ |
||
| 114 | 6 | public function getBaseUrl() |
|
| 118 | |||
| 119 | /** |
||
| 120 | * Get keyword |
||
| 121 | * |
||
| 122 | * @return string Attribute being used as the search keyword |
||
| 123 | */ |
||
| 124 | 4 | public function getKeyword() |
|
| 128 | } |
||
| 129 |