| 1 | <?php namespace JobApis\Jobs\Client\Queries; |
||
| 3 | class GovtQuery extends AbstractQuery |
||
| 4 | { |
||
| 5 | /** |
||
| 6 | * Search query |
||
| 7 | * |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $query; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Organizations to search (comma-separated list of IDs) |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $organization_ids; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Highlight |
||
| 21 | * |
||
| 22 | * @var boolean |
||
| 23 | */ |
||
| 24 | protected $hl; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Result set size |
||
| 28 | * |
||
| 29 | * @var integer |
||
| 30 | */ |
||
| 31 | protected $size; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Starting record |
||
| 35 | * |
||
| 36 | * @var integer |
||
| 37 | */ |
||
| 38 | protected $from; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Comma-separated list of agency tags. |
||
| 42 | * |
||
| 43 | * Available tags: federal, state, county, city |
||
| 44 | * |
||
| 45 | * @var string |
||
| 46 | */ |
||
| 47 | protected $tags; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Comma-separated latitude and longitude |
||
| 51 | * |
||
| 52 | * @var string |
||
| 53 | */ |
||
| 54 | protected $lat_lon; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Get baseUrl |
||
| 58 | * |
||
| 59 | * @return string Value of the base url to this api |
||
| 60 | */ |
||
| 61 | 6 | public function getBaseUrl() |
|
| 65 | |||
| 66 | /** |
||
| 67 | * Get keyword |
||
| 68 | * |
||
| 69 | * @return string Attribute being used as the search keyword |
||
| 70 | */ |
||
| 71 | 4 | public function getKeyword() |
|
| 75 | } |
||
| 76 |