CareerbuilderQuery::getBaseUrl()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php namespace JobApis\Jobs\Client\Queries;
2
3
class CareerbuilderQuery extends AbstractQuery
4
{
5
    /**
6
     * DeveloperKey
7
     *
8
     * @var string
9
     */
10
    protected $DeveloperKey;
11
12
    /**
13
     * AdvancedGroupingMode
14
     *
15
     * @var string
16
     */
17
    protected $AdvancedGroupingMode;
18
19
    /**
20
     * ApplyRequirements
21
     *
22
     * @var string
23
     */
24
    protected $ApplyRequirements;
25
26
    /**
27
     * BooleanOperator
28
     *
29
     * @var string
30
     */
31
    protected $BooleanOperator;
32
33
    /**
34
     * Category
35
     *
36
     * @var string
37
     */
38
    protected $Category;
39
40
    /**
41
     * CoBrand
42
     *
43
     * @var string
44
     */
45
    protected $CoBrand;
46
47
    /**
48
     * CompanyDID
49
     *
50
     * @var string
51
     */
52
    protected $CompanyDID;
53
54
    /**
55
     * CompanyDIDCSV
56
     *
57
     * @var string
58
     */
59
    protected $CompanyDIDCSV;
60
61
    /**
62
     * CompanyName
63
     *
64
     * @var string
65
     */
66
    protected $CompanyName;
67
68
    /**
69
     * CompanyNameBoostParams
70
     *
71
     * @var string
72
     */
73
    protected $CompanyNameBoostParams;
74
75
    /**
76
     * CountryCode
77
     *
78
     * @var string
79
     */
80
    protected $CountryCode;
81
82
    /**
83
     * EducationCode
84
     *
85
     * @var string
86
     */
87
    protected $EducationCode;
88
89
    /**
90
     * EmpType
91
     *
92
     * @var string
93
     */
94
    protected $EmpType;
95
96
    /**
97
     * EnableCompanyCollapse
98
     *
99
     * @var string
100
     */
101
    protected $EnableCompanyCollapse;
102
103
    /**
104
     * EnableCompanyJobTitleCollapse
105
     *
106
     * @var string
107
     */
108
    protected $EnableCompanyJobTitleCollapse;
109
110
    /**
111
     * ExcludeApplyRequirements
112
     *
113
     * @var string
114
     */
115
    protected $ExcludeApplyRequirements;
116
117
    /**
118
     * ExcludeCompanyNames
119
     *
120
     * @var string
121
     */
122
    protected $ExcludeCompanyNames;
123
124
    /**
125
     * ExcludeJobTitles
126
     *
127
     * @var string
128
     */
129
    protected $ExcludeJobTitles;
130
131
    /**
132
     * ExcludeKeywords
133
     *
134
     * @var string
135
     */
136
    protected $ExcludeKeywords;
137
138
    /**
139
     * ExcludeNational
140
     *
141
     * @var string
142
     */
143
    protected $ExcludeNational;
144
145
    /**
146
     * ExcludeNonTraditionalJobs
147
     *
148
     * @var string
149
     */
150
    protected $ExcludeNonTraditionalJobs;
151
152
    /**
153
     * FacetCategory
154
     *
155
     * @var string
156
     */
157
    protected $FacetCategory;
158
159
    /**
160
     * FacetCompany
161
     *
162
     * @var string
163
     */
164
    protected $FacetCompany;
165
166
    /**
167
     * FacetCity
168
     *
169
     * @var string
170
     */
171
    protected $FacetCity;
172
173
    /**
174
     * FacetState
175
     *
176
     * @var string
177
     */
178
    protected $FacetState;
179
180
    /**
181
     * FacetCityState
182
     *
183
     * @var string
184
     */
185
    protected $FacetCityState;
186
187
    /**
188
     * FacetPay
189
     *
190
     * @var string
191
     */
192
    protected $FacetPay;
193
194
    /**
195
     * FacetRelatedJobTitle
196
     *
197
     * @var string
198
     */
199
    protected $FacetRelatedJobTitle;
200
201
    /**
202
     * FacetCountry
203
     *
204
     * @var string
205
     */
206
    protected $FacetCountry;
207
208
    /**
209
     * FacetEmploymentType
210
     *
211
     * @var string
212
     */
213
    protected $FacetEmploymentType;
214
215
    /**
216
     * HostSite
217
     *
218
     * @var string
219
     */
220
    protected $HostSite;
221
222
    /**
223
     * IncludeCompanyChildren
224
     *
225
     * @var string
226
     */
227
    protected $IncludeCompanyChildren;
228
229
    /**
230
     * IndustryCodes
231
     *
232
     * @var string
233
     */
234
    protected $IndustryCodes;
235
236
    /**
237
     * JobTitle
238
     *
239
     * @var string
240
     */
241
    protected $JobTitle;
242
243
    /**
244
     * Keywords
245
     *
246
     * @var string
247
     */
248
    protected $Keywords;
249
250
    /**
251
     * Location
252
     *
253
     * @var string
254
     */
255
    protected $Location;
256
257
    /**
258
     * NormalizedCompanyDID
259
     *
260
     * @var string
261
     */
262
    protected $NormalizedCompanyDID;
263
264
    /**
265
     * NormalizedCompanyDIDBoostParams
266
     *
267
     * @var string
268
     */
269
    protected $NormalizedCompanyDIDBoostParams;
270
271
    /**
272
     * NormalizedCompanyName
273
     *
274
     * @var string
275
     */
276
    protected $NormalizedCompanyName;
277
278
    /**
279
     * ONetCode
280
     *
281
     * @var string
282
     */
283
    protected $ONetCode;
284
285
    /**
286
     * OrderBy
287
     *
288
     * @var string
289
     */
290
    protected $OrderBy;
291
292
    /**
293
     * OrderDirection
294
     *
295
     * @var string
296
     */
297
    protected $OrderDirection;
298
299
    /**
300
     * PageNumber
301
     *
302
     * @var string
303
     */
304
    protected $PageNumber;
305
306
    /**
307
     * PartnerID
308
     *
309
     * @var string
310
     */
311
    protected $PartnerID;
312
313
    /**
314
     * PayHigh
315
     *
316
     * @var string
317
     */
318
    protected $PayHigh;
319
320
    /**
321
     * PayInfoOnly
322
     *
323
     * @var string
324
     */
325
    protected $PayInfoOnly;
326
327
    /**
328
     * PayLow
329
     *
330
     * @var string
331
     */
332
    protected $PayLow;
333
334
    /**
335
     * PerPage
336
     *
337
     * @var string
338
     */
339
    protected $PerPage;
340
341
    /**
342
     * PostedWithin
343
     *
344
     * @var string
345
     */
346
    protected $PostedWithin;
347
348
    /**
349
     * Radius
350
     *
351
     * @var string
352
     */
353
    protected $Radius;
354
355
    /**
356
     * RecordsPerGroup
357
     *
358
     * @var string
359
     */
360
    protected $RecordsPerGroup;
361
362
    /**
363
     * RelocateJobs
364
     *
365
     * @var string
366
     */
367
    protected $RelocateJobs;
368
369
    /**
370
     * SOCCode
371
     *
372
     * @var string
373
     */
374
    protected $SOCCode;
375
376
    /**
377
     * SchoolSiteID
378
     *
379
     * @var string
380
     */
381
    protected $SchoolSiteID;
382
383
    /**
384
     * SearchAllCountries
385
     *
386
     * @var string
387
     */
388
    protected $SearchAllCountries;
389
390
    /**
391
     * SearchView
392
     *
393
     * @var string
394
     */
395
    protected $SearchView;
396
397
    /**
398
     * ShowCategories
399
     *
400
     * @var string
401
     */
402
    protected $ShowCategories;
403
404
    /**
405
     * ShowApplyRequirements
406
     *
407
     * @var string
408
     */
409
    protected $ShowApplyRequirements;
410
411
    /**
412
     * SingleONetSearch
413
     *
414
     * @var string
415
     */
416
    protected $SingleONetSearch;
417
418
    /**
419
     * SiteEntity
420
     *
421
     * @var string
422
     */
423
    protected $SiteEntity;
424
425
    /**
426
     * SiteID
427
     *
428
     * @var string
429
     */
430
    protected $SiteID;
431
432
    /**
433
     * Skills
434
     *
435
     * @var string
436
     */
437
    protected $Skills;
438
439
    /**
440
     * SpecificEducation
441
     *
442
     * @var string
443
     */
444
    protected $SpecificEducation;
445
446
    /**
447
     * SpokenLanguage
448
     *
449
     * @var string
450
     */
451
    protected $SpokenLanguage;
452
453
    /**
454
     * Tags
455
     *
456
     * @var string
457
     */
458
    protected $Tags;
459
460
    /**
461
     * TalentNetworkDID
462
     *
463
     * @var string
464
     */
465
    protected $TalentNetworkDID;
466
467
    /**
468
     * UrlCompressionService
469
     *
470
     * @var string
471
     */
472
    protected $UrlCompressionService;
473
474
    /**
475
     * UseFacets
476
     *
477
     * @var string
478
     */
479
    protected $UseFacets;
480
481
    /**
482
     * Get baseUrl
483
     *
484
     * @return  string Value of the base url to this api
485
     */
486 6
    public function getBaseUrl()
487
    {
488 6
        return 'http://api.careerbuilder.com/v2/jobsearch';
489
    }
490
491
    /**
492
     * Get keyword
493
     *
494
     * @return  string Attribute being used as the search keyword
495
     */
496 4
    public function getKeyword()
497
    {
498 4
        return $this->Keywords;
499
    }
500
501
    /**
502
     * Default parameters
503
     *
504
     * @var array
505
     */
506 20
    protected function defaultAttributes()
507
    {
508
        return [
509 20
            'EnableCompanyCollapse' => 'true',
510 20
            'HostSite' => 'US',
511 20
            'UseFacets' => 'true',
512 20
        ];
513
    }
514
515
    /**
516
     * Required parameters
517
     *
518
     * @return array
519
     */
520 6
    protected function requiredAttributes()
521
    {
522
        return [
523 6
            'DeveloperKey',
524 6
        ];
525
    }
526
}
527