1 | <?php
|
---|
2 | /*
|
---|
3 | * Copyright 2014 Google Inc.
|
---|
4 | *
|
---|
5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
7 | * the License at
|
---|
8 | *
|
---|
9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 | *
|
---|
11 | * Unless required by applicable law or agreed to in writing, software
|
---|
12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
14 | * License for the specific language governing permissions and limitations under
|
---|
15 | * the License.
|
---|
16 | */
|
---|
17 |
|
---|
18 | namespace Google\Service\CloudSearch;
|
---|
19 |
|
---|
20 | class PersonCore extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'phoneNumbers';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $addressMeAs;
|
---|
27 | protected $adminToType = PersonCore::class;
|
---|
28 | protected $adminToDataType = 'array';
|
---|
29 | protected $adminsType = PersonCore::class;
|
---|
30 | protected $adminsDataType = 'array';
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $availabilityStatus;
|
---|
35 | protected $birthdayType = Date::class;
|
---|
36 | protected $birthdayDataType = '';
|
---|
37 | protected $calendarUrlType = SafeUrlProto::class;
|
---|
38 | protected $calendarUrlDataType = '';
|
---|
39 | protected $chatUrlType = SafeUrlProto::class;
|
---|
40 | protected $chatUrlDataType = '';
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $costCenter;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $department;
|
---|
49 | protected $directReportsType = PersonCore::class;
|
---|
50 | protected $directReportsDataType = 'array';
|
---|
51 | protected $dottedLineManagersType = PersonCore::class;
|
---|
52 | protected $dottedLineManagersDataType = 'array';
|
---|
53 | protected $dottedLineReportsType = PersonCore::class;
|
---|
54 | protected $dottedLineReportsDataType = 'array';
|
---|
55 | /**
|
---|
56 | * @var string[]
|
---|
57 | */
|
---|
58 | public $emails;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $employeeId;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $fingerprint;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $ftePermille;
|
---|
71 | protected $geoLocationType = MapInfo::class;
|
---|
72 | protected $geoLocationDataType = '';
|
---|
73 | /**
|
---|
74 | * @var string
|
---|
75 | */
|
---|
76 | public $gmailUrl;
|
---|
77 | /**
|
---|
78 | * @var string
|
---|
79 | */
|
---|
80 | public $jobTitle;
|
---|
81 | /**
|
---|
82 | * @var string[]
|
---|
83 | */
|
---|
84 | public $keywordTypes;
|
---|
85 | /**
|
---|
86 | * @var string[]
|
---|
87 | */
|
---|
88 | public $keywords;
|
---|
89 | protected $linksType = EnterpriseTopazFrontendTeamsLink::class;
|
---|
90 | protected $linksDataType = 'array';
|
---|
91 | /**
|
---|
92 | * @var string
|
---|
93 | */
|
---|
94 | public $location;
|
---|
95 | protected $managersType = PersonCore::class;
|
---|
96 | protected $managersDataType = 'array';
|
---|
97 | /**
|
---|
98 | * @var string
|
---|
99 | */
|
---|
100 | public $mission;
|
---|
101 | /**
|
---|
102 | * @var string
|
---|
103 | */
|
---|
104 | public $name;
|
---|
105 | /**
|
---|
106 | * @var string
|
---|
107 | */
|
---|
108 | public $officeLocation;
|
---|
109 | /**
|
---|
110 | * @var string
|
---|
111 | */
|
---|
112 | public $personId;
|
---|
113 | protected $phoneNumbersType = EnterpriseTopazFrontendTeamsPersonCorePhoneNumber::class;
|
---|
114 | protected $phoneNumbersDataType = 'array';
|
---|
115 | protected $photoUrlType = SafeUrlProto::class;
|
---|
116 | protected $photoUrlDataType = '';
|
---|
117 | /**
|
---|
118 | * @var string
|
---|
119 | */
|
---|
120 | public $postalAddress;
|
---|
121 | /**
|
---|
122 | * @var int
|
---|
123 | */
|
---|
124 | public $totalDirectReportsCount;
|
---|
125 | /**
|
---|
126 | * @var int
|
---|
127 | */
|
---|
128 | public $totalDlrCount;
|
---|
129 | /**
|
---|
130 | * @var string
|
---|
131 | */
|
---|
132 | public $totalFteCount;
|
---|
133 | /**
|
---|
134 | * @var string
|
---|
135 | */
|
---|
136 | public $username;
|
---|
137 | /**
|
---|
138 | * @var string
|
---|
139 | */
|
---|
140 | public $waldoComeBackTime;
|
---|
141 |
|
---|
142 | /**
|
---|
143 | * @param string
|
---|
144 | */
|
---|
145 | public function setAddressMeAs($addressMeAs)
|
---|
146 | {
|
---|
147 | $this->addressMeAs = $addressMeAs;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @return string
|
---|
151 | */
|
---|
152 | public function getAddressMeAs()
|
---|
153 | {
|
---|
154 | return $this->addressMeAs;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @param PersonCore[]
|
---|
158 | */
|
---|
159 | public function setAdminTo($adminTo)
|
---|
160 | {
|
---|
161 | $this->adminTo = $adminTo;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @return PersonCore[]
|
---|
165 | */
|
---|
166 | public function getAdminTo()
|
---|
167 | {
|
---|
168 | return $this->adminTo;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @param PersonCore[]
|
---|
172 | */
|
---|
173 | public function setAdmins($admins)
|
---|
174 | {
|
---|
175 | $this->admins = $admins;
|
---|
176 | }
|
---|
177 | /**
|
---|
178 | * @return PersonCore[]
|
---|
179 | */
|
---|
180 | public function getAdmins()
|
---|
181 | {
|
---|
182 | return $this->admins;
|
---|
183 | }
|
---|
184 | /**
|
---|
185 | * @param string
|
---|
186 | */
|
---|
187 | public function setAvailabilityStatus($availabilityStatus)
|
---|
188 | {
|
---|
189 | $this->availabilityStatus = $availabilityStatus;
|
---|
190 | }
|
---|
191 | /**
|
---|
192 | * @return string
|
---|
193 | */
|
---|
194 | public function getAvailabilityStatus()
|
---|
195 | {
|
---|
196 | return $this->availabilityStatus;
|
---|
197 | }
|
---|
198 | /**
|
---|
199 | * @param Date
|
---|
200 | */
|
---|
201 | public function setBirthday(Date $birthday)
|
---|
202 | {
|
---|
203 | $this->birthday = $birthday;
|
---|
204 | }
|
---|
205 | /**
|
---|
206 | * @return Date
|
---|
207 | */
|
---|
208 | public function getBirthday()
|
---|
209 | {
|
---|
210 | return $this->birthday;
|
---|
211 | }
|
---|
212 | /**
|
---|
213 | * @param SafeUrlProto
|
---|
214 | */
|
---|
215 | public function setCalendarUrl(SafeUrlProto $calendarUrl)
|
---|
216 | {
|
---|
217 | $this->calendarUrl = $calendarUrl;
|
---|
218 | }
|
---|
219 | /**
|
---|
220 | * @return SafeUrlProto
|
---|
221 | */
|
---|
222 | public function getCalendarUrl()
|
---|
223 | {
|
---|
224 | return $this->calendarUrl;
|
---|
225 | }
|
---|
226 | /**
|
---|
227 | * @param SafeUrlProto
|
---|
228 | */
|
---|
229 | public function setChatUrl(SafeUrlProto $chatUrl)
|
---|
230 | {
|
---|
231 | $this->chatUrl = $chatUrl;
|
---|
232 | }
|
---|
233 | /**
|
---|
234 | * @return SafeUrlProto
|
---|
235 | */
|
---|
236 | public function getChatUrl()
|
---|
237 | {
|
---|
238 | return $this->chatUrl;
|
---|
239 | }
|
---|
240 | /**
|
---|
241 | * @param string
|
---|
242 | */
|
---|
243 | public function setCostCenter($costCenter)
|
---|
244 | {
|
---|
245 | $this->costCenter = $costCenter;
|
---|
246 | }
|
---|
247 | /**
|
---|
248 | * @return string
|
---|
249 | */
|
---|
250 | public function getCostCenter()
|
---|
251 | {
|
---|
252 | return $this->costCenter;
|
---|
253 | }
|
---|
254 | /**
|
---|
255 | * @param string
|
---|
256 | */
|
---|
257 | public function setDepartment($department)
|
---|
258 | {
|
---|
259 | $this->department = $department;
|
---|
260 | }
|
---|
261 | /**
|
---|
262 | * @return string
|
---|
263 | */
|
---|
264 | public function getDepartment()
|
---|
265 | {
|
---|
266 | return $this->department;
|
---|
267 | }
|
---|
268 | /**
|
---|
269 | * @param PersonCore[]
|
---|
270 | */
|
---|
271 | public function setDirectReports($directReports)
|
---|
272 | {
|
---|
273 | $this->directReports = $directReports;
|
---|
274 | }
|
---|
275 | /**
|
---|
276 | * @return PersonCore[]
|
---|
277 | */
|
---|
278 | public function getDirectReports()
|
---|
279 | {
|
---|
280 | return $this->directReports;
|
---|
281 | }
|
---|
282 | /**
|
---|
283 | * @param PersonCore[]
|
---|
284 | */
|
---|
285 | public function setDottedLineManagers($dottedLineManagers)
|
---|
286 | {
|
---|
287 | $this->dottedLineManagers = $dottedLineManagers;
|
---|
288 | }
|
---|
289 | /**
|
---|
290 | * @return PersonCore[]
|
---|
291 | */
|
---|
292 | public function getDottedLineManagers()
|
---|
293 | {
|
---|
294 | return $this->dottedLineManagers;
|
---|
295 | }
|
---|
296 | /**
|
---|
297 | * @param PersonCore[]
|
---|
298 | */
|
---|
299 | public function setDottedLineReports($dottedLineReports)
|
---|
300 | {
|
---|
301 | $this->dottedLineReports = $dottedLineReports;
|
---|
302 | }
|
---|
303 | /**
|
---|
304 | * @return PersonCore[]
|
---|
305 | */
|
---|
306 | public function getDottedLineReports()
|
---|
307 | {
|
---|
308 | return $this->dottedLineReports;
|
---|
309 | }
|
---|
310 | /**
|
---|
311 | * @param string[]
|
---|
312 | */
|
---|
313 | public function setEmails($emails)
|
---|
314 | {
|
---|
315 | $this->emails = $emails;
|
---|
316 | }
|
---|
317 | /**
|
---|
318 | * @return string[]
|
---|
319 | */
|
---|
320 | public function getEmails()
|
---|
321 | {
|
---|
322 | return $this->emails;
|
---|
323 | }
|
---|
324 | /**
|
---|
325 | * @param string
|
---|
326 | */
|
---|
327 | public function setEmployeeId($employeeId)
|
---|
328 | {
|
---|
329 | $this->employeeId = $employeeId;
|
---|
330 | }
|
---|
331 | /**
|
---|
332 | * @return string
|
---|
333 | */
|
---|
334 | public function getEmployeeId()
|
---|
335 | {
|
---|
336 | return $this->employeeId;
|
---|
337 | }
|
---|
338 | /**
|
---|
339 | * @param string
|
---|
340 | */
|
---|
341 | public function setFingerprint($fingerprint)
|
---|
342 | {
|
---|
343 | $this->fingerprint = $fingerprint;
|
---|
344 | }
|
---|
345 | /**
|
---|
346 | * @return string
|
---|
347 | */
|
---|
348 | public function getFingerprint()
|
---|
349 | {
|
---|
350 | return $this->fingerprint;
|
---|
351 | }
|
---|
352 | /**
|
---|
353 | * @param string
|
---|
354 | */
|
---|
355 | public function setFtePermille($ftePermille)
|
---|
356 | {
|
---|
357 | $this->ftePermille = $ftePermille;
|
---|
358 | }
|
---|
359 | /**
|
---|
360 | * @return string
|
---|
361 | */
|
---|
362 | public function getFtePermille()
|
---|
363 | {
|
---|
364 | return $this->ftePermille;
|
---|
365 | }
|
---|
366 | /**
|
---|
367 | * @param MapInfo
|
---|
368 | */
|
---|
369 | public function setGeoLocation(MapInfo $geoLocation)
|
---|
370 | {
|
---|
371 | $this->geoLocation = $geoLocation;
|
---|
372 | }
|
---|
373 | /**
|
---|
374 | * @return MapInfo
|
---|
375 | */
|
---|
376 | public function getGeoLocation()
|
---|
377 | {
|
---|
378 | return $this->geoLocation;
|
---|
379 | }
|
---|
380 | /**
|
---|
381 | * @param string
|
---|
382 | */
|
---|
383 | public function setGmailUrl($gmailUrl)
|
---|
384 | {
|
---|
385 | $this->gmailUrl = $gmailUrl;
|
---|
386 | }
|
---|
387 | /**
|
---|
388 | * @return string
|
---|
389 | */
|
---|
390 | public function getGmailUrl()
|
---|
391 | {
|
---|
392 | return $this->gmailUrl;
|
---|
393 | }
|
---|
394 | /**
|
---|
395 | * @param string
|
---|
396 | */
|
---|
397 | public function setJobTitle($jobTitle)
|
---|
398 | {
|
---|
399 | $this->jobTitle = $jobTitle;
|
---|
400 | }
|
---|
401 | /**
|
---|
402 | * @return string
|
---|
403 | */
|
---|
404 | public function getJobTitle()
|
---|
405 | {
|
---|
406 | return $this->jobTitle;
|
---|
407 | }
|
---|
408 | /**
|
---|
409 | * @param string[]
|
---|
410 | */
|
---|
411 | public function setKeywordTypes($keywordTypes)
|
---|
412 | {
|
---|
413 | $this->keywordTypes = $keywordTypes;
|
---|
414 | }
|
---|
415 | /**
|
---|
416 | * @return string[]
|
---|
417 | */
|
---|
418 | public function getKeywordTypes()
|
---|
419 | {
|
---|
420 | return $this->keywordTypes;
|
---|
421 | }
|
---|
422 | /**
|
---|
423 | * @param string[]
|
---|
424 | */
|
---|
425 | public function setKeywords($keywords)
|
---|
426 | {
|
---|
427 | $this->keywords = $keywords;
|
---|
428 | }
|
---|
429 | /**
|
---|
430 | * @return string[]
|
---|
431 | */
|
---|
432 | public function getKeywords()
|
---|
433 | {
|
---|
434 | return $this->keywords;
|
---|
435 | }
|
---|
436 | /**
|
---|
437 | * @param EnterpriseTopazFrontendTeamsLink[]
|
---|
438 | */
|
---|
439 | public function setLinks($links)
|
---|
440 | {
|
---|
441 | $this->links = $links;
|
---|
442 | }
|
---|
443 | /**
|
---|
444 | * @return EnterpriseTopazFrontendTeamsLink[]
|
---|
445 | */
|
---|
446 | public function getLinks()
|
---|
447 | {
|
---|
448 | return $this->links;
|
---|
449 | }
|
---|
450 | /**
|
---|
451 | * @param string
|
---|
452 | */
|
---|
453 | public function setLocation($location)
|
---|
454 | {
|
---|
455 | $this->location = $location;
|
---|
456 | }
|
---|
457 | /**
|
---|
458 | * @return string
|
---|
459 | */
|
---|
460 | public function getLocation()
|
---|
461 | {
|
---|
462 | return $this->location;
|
---|
463 | }
|
---|
464 | /**
|
---|
465 | * @param PersonCore[]
|
---|
466 | */
|
---|
467 | public function setManagers($managers)
|
---|
468 | {
|
---|
469 | $this->managers = $managers;
|
---|
470 | }
|
---|
471 | /**
|
---|
472 | * @return PersonCore[]
|
---|
473 | */
|
---|
474 | public function getManagers()
|
---|
475 | {
|
---|
476 | return $this->managers;
|
---|
477 | }
|
---|
478 | /**
|
---|
479 | * @param string
|
---|
480 | */
|
---|
481 | public function setMission($mission)
|
---|
482 | {
|
---|
483 | $this->mission = $mission;
|
---|
484 | }
|
---|
485 | /**
|
---|
486 | * @return string
|
---|
487 | */
|
---|
488 | public function getMission()
|
---|
489 | {
|
---|
490 | return $this->mission;
|
---|
491 | }
|
---|
492 | /**
|
---|
493 | * @param string
|
---|
494 | */
|
---|
495 | public function setName($name)
|
---|
496 | {
|
---|
497 | $this->name = $name;
|
---|
498 | }
|
---|
499 | /**
|
---|
500 | * @return string
|
---|
501 | */
|
---|
502 | public function getName()
|
---|
503 | {
|
---|
504 | return $this->name;
|
---|
505 | }
|
---|
506 | /**
|
---|
507 | * @param string
|
---|
508 | */
|
---|
509 | public function setOfficeLocation($officeLocation)
|
---|
510 | {
|
---|
511 | $this->officeLocation = $officeLocation;
|
---|
512 | }
|
---|
513 | /**
|
---|
514 | * @return string
|
---|
515 | */
|
---|
516 | public function getOfficeLocation()
|
---|
517 | {
|
---|
518 | return $this->officeLocation;
|
---|
519 | }
|
---|
520 | /**
|
---|
521 | * @param string
|
---|
522 | */
|
---|
523 | public function setPersonId($personId)
|
---|
524 | {
|
---|
525 | $this->personId = $personId;
|
---|
526 | }
|
---|
527 | /**
|
---|
528 | * @return string
|
---|
529 | */
|
---|
530 | public function getPersonId()
|
---|
531 | {
|
---|
532 | return $this->personId;
|
---|
533 | }
|
---|
534 | /**
|
---|
535 | * @param EnterpriseTopazFrontendTeamsPersonCorePhoneNumber[]
|
---|
536 | */
|
---|
537 | public function setPhoneNumbers($phoneNumbers)
|
---|
538 | {
|
---|
539 | $this->phoneNumbers = $phoneNumbers;
|
---|
540 | }
|
---|
541 | /**
|
---|
542 | * @return EnterpriseTopazFrontendTeamsPersonCorePhoneNumber[]
|
---|
543 | */
|
---|
544 | public function getPhoneNumbers()
|
---|
545 | {
|
---|
546 | return $this->phoneNumbers;
|
---|
547 | }
|
---|
548 | /**
|
---|
549 | * @param SafeUrlProto
|
---|
550 | */
|
---|
551 | public function setPhotoUrl(SafeUrlProto $photoUrl)
|
---|
552 | {
|
---|
553 | $this->photoUrl = $photoUrl;
|
---|
554 | }
|
---|
555 | /**
|
---|
556 | * @return SafeUrlProto
|
---|
557 | */
|
---|
558 | public function getPhotoUrl()
|
---|
559 | {
|
---|
560 | return $this->photoUrl;
|
---|
561 | }
|
---|
562 | /**
|
---|
563 | * @param string
|
---|
564 | */
|
---|
565 | public function setPostalAddress($postalAddress)
|
---|
566 | {
|
---|
567 | $this->postalAddress = $postalAddress;
|
---|
568 | }
|
---|
569 | /**
|
---|
570 | * @return string
|
---|
571 | */
|
---|
572 | public function getPostalAddress()
|
---|
573 | {
|
---|
574 | return $this->postalAddress;
|
---|
575 | }
|
---|
576 | /**
|
---|
577 | * @param int
|
---|
578 | */
|
---|
579 | public function setTotalDirectReportsCount($totalDirectReportsCount)
|
---|
580 | {
|
---|
581 | $this->totalDirectReportsCount = $totalDirectReportsCount;
|
---|
582 | }
|
---|
583 | /**
|
---|
584 | * @return int
|
---|
585 | */
|
---|
586 | public function getTotalDirectReportsCount()
|
---|
587 | {
|
---|
588 | return $this->totalDirectReportsCount;
|
---|
589 | }
|
---|
590 | /**
|
---|
591 | * @param int
|
---|
592 | */
|
---|
593 | public function setTotalDlrCount($totalDlrCount)
|
---|
594 | {
|
---|
595 | $this->totalDlrCount = $totalDlrCount;
|
---|
596 | }
|
---|
597 | /**
|
---|
598 | * @return int
|
---|
599 | */
|
---|
600 | public function getTotalDlrCount()
|
---|
601 | {
|
---|
602 | return $this->totalDlrCount;
|
---|
603 | }
|
---|
604 | /**
|
---|
605 | * @param string
|
---|
606 | */
|
---|
607 | public function setTotalFteCount($totalFteCount)
|
---|
608 | {
|
---|
609 | $this->totalFteCount = $totalFteCount;
|
---|
610 | }
|
---|
611 | /**
|
---|
612 | * @return string
|
---|
613 | */
|
---|
614 | public function getTotalFteCount()
|
---|
615 | {
|
---|
616 | return $this->totalFteCount;
|
---|
617 | }
|
---|
618 | /**
|
---|
619 | * @param string
|
---|
620 | */
|
---|
621 | public function setUsername($username)
|
---|
622 | {
|
---|
623 | $this->username = $username;
|
---|
624 | }
|
---|
625 | /**
|
---|
626 | * @return string
|
---|
627 | */
|
---|
628 | public function getUsername()
|
---|
629 | {
|
---|
630 | return $this->username;
|
---|
631 | }
|
---|
632 | /**
|
---|
633 | * @param string
|
---|
634 | */
|
---|
635 | public function setWaldoComeBackTime($waldoComeBackTime)
|
---|
636 | {
|
---|
637 | $this->waldoComeBackTime = $waldoComeBackTime;
|
---|
638 | }
|
---|
639 | /**
|
---|
640 | * @return string
|
---|
641 | */
|
---|
642 | public function getWaldoComeBackTime()
|
---|
643 | {
|
---|
644 | return $this->waldoComeBackTime;
|
---|
645 | }
|
---|
646 | }
|
---|
647 |
|
---|
648 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
649 | class_alias(PersonCore::class, 'Google_Service_CloudSearch_PersonCore');
|
---|