| 1 | <?php namespace JobApis\Jobs\Client\Queries; |
||
| 3 | class StackoverflowQuery extends AbstractQuery |
||
| 4 | { |
||
| 5 | /** |
||
| 6 | * q |
||
| 7 | * |
||
| 8 | * The search query. |
||
| 9 | * |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $q; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * l |
||
| 16 | * |
||
| 17 | * The search location. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $l; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * pg |
||
| 25 | * |
||
| 26 | * Page number |
||
| 27 | * |
||
| 28 | * @var integer |
||
| 29 | */ |
||
| 30 | protected $pg; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * d |
||
| 34 | * |
||
| 35 | * Distance from location |
||
| 36 | * |
||
| 37 | * @var integer |
||
| 38 | */ |
||
| 39 | protected $d; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * sort |
||
| 43 | * |
||
| 44 | * Sort order. Should be one of the following: |
||
| 45 | * "p" = newest |
||
| 46 | * "i" = match |
||
| 47 | * "y" = salary |
||
| 48 | * |
||
| 49 | * @var string |
||
| 50 | */ |
||
| 51 | protected $sort; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * u |
||
| 55 | * |
||
| 56 | * Unit of distance ("Miles" is the only option I've seen) |
||
| 57 | * |
||
| 58 | * @var string |
||
| 59 | */ |
||
| 60 | protected $u; |
||
| 61 | |||
| 62 | /** |
||
| 63 | * tl |
||
| 64 | * |
||
| 65 | * Technology liked |
||
| 66 | * |
||
| 67 | * @var string |
||
| 68 | */ |
||
| 69 | protected $tl; |
||
| 70 | |||
| 71 | /** |
||
| 72 | * td |
||
| 73 | * |
||
| 74 | * Technology disliked |
||
| 75 | * |
||
| 76 | * @var string |
||
| 77 | */ |
||
| 78 | protected $td; |
||
| 79 | |||
| 80 | /** |
||
| 81 | * s |
||
| 82 | * |
||
| 83 | * Minimum salary |
||
| 84 | * |
||
| 85 | * @var integer |
||
| 86 | */ |
||
| 87 | protected $s; |
||
| 88 | |||
| 89 | /** |
||
| 90 | * c |
||
| 91 | * |
||
| 92 | * Currency (eg: USD) |
||
| 93 | * |
||
| 94 | * @var string |
||
| 95 | */ |
||
| 96 | protected $c; |
||
| 97 | |||
| 98 | /** |
||
| 99 | * e |
||
| 100 | * |
||
| 101 | * Offers equity (eg: "true") |
||
| 102 | * |
||
| 103 | * @var boolean |
||
| 104 | */ |
||
| 105 | protected $e; |
||
| 106 | |||
| 107 | /** |
||
| 108 | * r |
||
| 109 | * |
||
| 110 | * Offers remote (eg: "true") |
||
| 111 | * |
||
| 112 | * @var boolean |
||
| 113 | */ |
||
| 114 | protected $r; |
||
| 115 | |||
| 116 | /** |
||
| 117 | * v |
||
| 118 | * |
||
| 119 | * Offers Visa sponsorship (eg: "true") |
||
| 120 | * |
||
| 121 | * @var boolean |
||
| 122 | */ |
||
| 123 | protected $v; |
||
| 124 | |||
| 125 | /** |
||
| 126 | * t |
||
| 127 | * |
||
| 128 | * Offers Relocation (eg: "true") |
||
| 129 | * |
||
| 130 | * @var boolean |
||
| 131 | */ |
||
| 132 | protected $t; |
||
| 133 | |||
| 134 | /** |
||
| 135 | * ms |
||
| 136 | * |
||
| 137 | * Minimum experience |
||
| 138 | * |
||
| 139 | * @var string |
||
| 140 | */ |
||
| 141 | protected $ms; |
||
| 142 | |||
| 143 | /** |
||
| 144 | * mxs |
||
| 145 | * |
||
| 146 | * Max experience |
||
| 147 | * |
||
| 148 | * @var string |
||
| 149 | */ |
||
| 150 | protected $mxs; |
||
| 151 | |||
| 152 | /** |
||
| 153 | * j |
||
| 154 | * |
||
| 155 | * Job type: |
||
| 156 | * "permanent" |
||
| 157 | * "contract" |
||
| 158 | * |
||
| 159 | * @var string |
||
| 160 | */ |
||
| 161 | protected $j; |
||
| 162 | |||
| 163 | /** |
||
| 164 | * cl |
||
| 165 | * |
||
| 166 | * Companies to include |
||
| 167 | * |
||
| 168 | * @var string |
||
| 169 | */ |
||
| 170 | protected $cl; |
||
| 171 | |||
| 172 | /** |
||
| 173 | * cd |
||
| 174 | * |
||
| 175 | * Companies to exclude |
||
| 176 | * |
||
| 177 | * @var string |
||
| 178 | */ |
||
| 179 | protected $cd; |
||
| 180 | |||
| 181 | /** |
||
| 182 | * i |
||
| 183 | * |
||
| 184 | * Industry |
||
| 185 | * |
||
| 186 | * @var string |
||
| 187 | */ |
||
| 188 | protected $i; |
||
| 189 | |||
| 190 | /** |
||
| 191 | * Get baseUrl |
||
| 192 | * |
||
| 193 | * @return string Value of the base url to this api |
||
| 194 | */ |
||
| 195 | 6 | public function getBaseUrl() |
|
| 199 | |||
| 200 | /** |
||
| 201 | * Get keyword |
||
| 202 | * |
||
| 203 | * @return string Attribute being used as the search keyword |
||
| 204 | */ |
||
| 205 | 4 | public function getKeyword() |
|
| 209 | } |
||
| 210 |