Total Complexity | 312 |
Total Lines | 2707 |
Duplicated Lines | 0 % |
Changes | 0 |
Complex classes like EwsContactItemType often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use EwsContactItemType, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
16 | class EwsContactItemType extends EwsItemType |
||
17 | { |
||
18 | /** |
||
19 | * The FileAs |
||
20 | * Meta information extracted from the WSDL |
||
21 | * - minOccurs: 0 |
||
22 | * @var string|null |
||
23 | */ |
||
24 | protected ?string $FileAs = null; |
||
25 | /** |
||
26 | * The FileAsMapping |
||
27 | * Meta information extracted from the WSDL |
||
28 | * - minOccurs: 0 |
||
29 | * @var string|null |
||
30 | */ |
||
31 | protected ?string $FileAsMapping = null; |
||
32 | /** |
||
33 | * The DisplayName |
||
34 | * Meta information extracted from the WSDL |
||
35 | * - minOccurs: 0 |
||
36 | * @var string|null |
||
37 | */ |
||
38 | protected ?string $DisplayName = null; |
||
39 | /** |
||
40 | * The GivenName |
||
41 | * Meta information extracted from the WSDL |
||
42 | * - minOccurs: 0 |
||
43 | * @var string|null |
||
44 | */ |
||
45 | protected ?string $GivenName = null; |
||
46 | /** |
||
47 | * The Initials |
||
48 | * Meta information extracted from the WSDL |
||
49 | * - minOccurs: 0 |
||
50 | * @var string|null |
||
51 | */ |
||
52 | protected ?string $Initials = null; |
||
53 | /** |
||
54 | * The MiddleName |
||
55 | * Meta information extracted from the WSDL |
||
56 | * - minOccurs: 0 |
||
57 | * @var string|null |
||
58 | */ |
||
59 | protected ?string $MiddleName = null; |
||
60 | /** |
||
61 | * The Nickname |
||
62 | * Meta information extracted from the WSDL |
||
63 | * - minOccurs: 0 |
||
64 | * @var string|null |
||
65 | */ |
||
66 | protected ?string $Nickname = null; |
||
67 | /** |
||
68 | * The CompleteName |
||
69 | * Meta information extracted from the WSDL |
||
70 | * - minOccurs: 0 |
||
71 | * @var \StructType\EwsCompleteNameType|null |
||
72 | */ |
||
73 | protected ?\StructType\EwsCompleteNameType $CompleteName = null; |
||
74 | /** |
||
75 | * The CompanyName |
||
76 | * Meta information extracted from the WSDL |
||
77 | * - minOccurs: 0 |
||
78 | * @var string|null |
||
79 | */ |
||
80 | protected ?string $CompanyName = null; |
||
81 | /** |
||
82 | * The EmailAddresses |
||
83 | * Meta information extracted from the WSDL |
||
84 | * - minOccurs: 0 |
||
85 | * @var \StructType\EwsEmailAddressDictionaryType|null |
||
86 | */ |
||
87 | protected ?\StructType\EwsEmailAddressDictionaryType $EmailAddresses = null; |
||
88 | /** |
||
89 | * The AbchEmailAddresses |
||
90 | * Meta information extracted from the WSDL |
||
91 | * - minOccurs: 0 |
||
92 | * @var \StructType\EwsAbchEmailAddressDictionaryType|null |
||
93 | */ |
||
94 | protected ?\StructType\EwsAbchEmailAddressDictionaryType $AbchEmailAddresses = null; |
||
95 | /** |
||
96 | * The PhysicalAddresses |
||
97 | * Meta information extracted from the WSDL |
||
98 | * - minOccurs: 0 |
||
99 | * @var \StructType\EwsPhysicalAddressDictionaryType|null |
||
100 | */ |
||
101 | protected ?\StructType\EwsPhysicalAddressDictionaryType $PhysicalAddresses = null; |
||
102 | /** |
||
103 | * The PhoneNumbers |
||
104 | * Meta information extracted from the WSDL |
||
105 | * - minOccurs: 0 |
||
106 | * @var \StructType\EwsPhoneNumberDictionaryType|null |
||
107 | */ |
||
108 | protected ?\StructType\EwsPhoneNumberDictionaryType $PhoneNumbers = null; |
||
109 | /** |
||
110 | * The AssistantName |
||
111 | * Meta information extracted from the WSDL |
||
112 | * - minOccurs: 0 |
||
113 | * @var string|null |
||
114 | */ |
||
115 | protected ?string $AssistantName = null; |
||
116 | /** |
||
117 | * The Birthday |
||
118 | * Meta information extracted from the WSDL |
||
119 | * - minOccurs: 0 |
||
120 | * @var string|null |
||
121 | */ |
||
122 | protected ?string $Birthday = null; |
||
123 | /** |
||
124 | * The BusinessHomePage |
||
125 | * Meta information extracted from the WSDL |
||
126 | * - minOccurs: 0 |
||
127 | * @var string|null |
||
128 | */ |
||
129 | protected ?string $BusinessHomePage = null; |
||
130 | /** |
||
131 | * The Children |
||
132 | * Meta information extracted from the WSDL |
||
133 | * - minOccurs: 0 |
||
134 | * @var \ArrayType\EwsArrayOfStringsType|null |
||
135 | */ |
||
136 | protected ?\ArrayType\EwsArrayOfStringsType $Children = null; |
||
137 | /** |
||
138 | * The Companies |
||
139 | * Meta information extracted from the WSDL |
||
140 | * - minOccurs: 0 |
||
141 | * @var \ArrayType\EwsArrayOfStringsType|null |
||
142 | */ |
||
143 | protected ?\ArrayType\EwsArrayOfStringsType $Companies = null; |
||
144 | /** |
||
145 | * The ContactSource |
||
146 | * Meta information extracted from the WSDL |
||
147 | * - minOccurs: 0 |
||
148 | * @var string|null |
||
149 | */ |
||
150 | protected ?string $ContactSource = null; |
||
151 | /** |
||
152 | * The Department |
||
153 | * Meta information extracted from the WSDL |
||
154 | * - minOccurs: 0 |
||
155 | * @var string|null |
||
156 | */ |
||
157 | protected ?string $Department = null; |
||
158 | /** |
||
159 | * The Generation |
||
160 | * Meta information extracted from the WSDL |
||
161 | * - minOccurs: 0 |
||
162 | * @var string|null |
||
163 | */ |
||
164 | protected ?string $Generation = null; |
||
165 | /** |
||
166 | * The ImAddresses |
||
167 | * Meta information extracted from the WSDL |
||
168 | * - minOccurs: 0 |
||
169 | * @var \StructType\EwsImAddressDictionaryType|null |
||
170 | */ |
||
171 | protected ?\StructType\EwsImAddressDictionaryType $ImAddresses = null; |
||
172 | /** |
||
173 | * The JobTitle |
||
174 | * Meta information extracted from the WSDL |
||
175 | * - minOccurs: 0 |
||
176 | * @var string|null |
||
177 | */ |
||
178 | protected ?string $JobTitle = null; |
||
179 | /** |
||
180 | * The Manager |
||
181 | * Meta information extracted from the WSDL |
||
182 | * - minOccurs: 0 |
||
183 | * @var string|null |
||
184 | */ |
||
185 | protected ?string $Manager = null; |
||
186 | /** |
||
187 | * The Mileage |
||
188 | * Meta information extracted from the WSDL |
||
189 | * - minOccurs: 0 |
||
190 | * @var string|null |
||
191 | */ |
||
192 | protected ?string $Mileage = null; |
||
193 | /** |
||
194 | * The OfficeLocation |
||
195 | * Meta information extracted from the WSDL |
||
196 | * - minOccurs: 0 |
||
197 | * @var string|null |
||
198 | */ |
||
199 | protected ?string $OfficeLocation = null; |
||
200 | /** |
||
201 | * The PostalAddressIndex |
||
202 | * Meta information extracted from the WSDL |
||
203 | * - minOccurs: 0 |
||
204 | * @var string|null |
||
205 | */ |
||
206 | protected ?string $PostalAddressIndex = null; |
||
207 | /** |
||
208 | * The Profession |
||
209 | * Meta information extracted from the WSDL |
||
210 | * - minOccurs: 0 |
||
211 | * @var string|null |
||
212 | */ |
||
213 | protected ?string $Profession = null; |
||
214 | /** |
||
215 | * The SpouseName |
||
216 | * Meta information extracted from the WSDL |
||
217 | * - minOccurs: 0 |
||
218 | * @var string|null |
||
219 | */ |
||
220 | protected ?string $SpouseName = null; |
||
221 | /** |
||
222 | * The Surname |
||
223 | * Meta information extracted from the WSDL |
||
224 | * - minOccurs: 0 |
||
225 | * @var string|null |
||
226 | */ |
||
227 | protected ?string $Surname = null; |
||
228 | /** |
||
229 | * The WeddingAnniversary |
||
230 | * Meta information extracted from the WSDL |
||
231 | * - minOccurs: 0 |
||
232 | * @var string|null |
||
233 | */ |
||
234 | protected ?string $WeddingAnniversary = null; |
||
235 | /** |
||
236 | * The HasPicture |
||
237 | * Meta information extracted from the WSDL |
||
238 | * - minOccurs: 0 |
||
239 | * @var bool|null |
||
240 | */ |
||
241 | protected ?bool $HasPicture = null; |
||
242 | /** |
||
243 | * The PhoneticFullName |
||
244 | * Meta information extracted from the WSDL |
||
245 | * - minOccurs: 0 |
||
246 | * @var string|null |
||
247 | */ |
||
248 | protected ?string $PhoneticFullName = null; |
||
249 | /** |
||
250 | * The PhoneticFirstName |
||
251 | * Meta information extracted from the WSDL |
||
252 | * - minOccurs: 0 |
||
253 | * @var string|null |
||
254 | */ |
||
255 | protected ?string $PhoneticFirstName = null; |
||
256 | /** |
||
257 | * The PhoneticLastName |
||
258 | * Meta information extracted from the WSDL |
||
259 | * - minOccurs: 0 |
||
260 | * @var string|null |
||
261 | */ |
||
262 | protected ?string $PhoneticLastName = null; |
||
263 | /** |
||
264 | * The Alias |
||
265 | * Meta information extracted from the WSDL |
||
266 | * - minOccurs: 0 |
||
267 | * @var string|null |
||
268 | */ |
||
269 | protected ?string $Alias = null; |
||
270 | /** |
||
271 | * The Notes |
||
272 | * Meta information extracted from the WSDL |
||
273 | * - minOccurs: 0 |
||
274 | * @var string|null |
||
275 | */ |
||
276 | protected ?string $Notes = null; |
||
277 | /** |
||
278 | * The Photo |
||
279 | * Meta information extracted from the WSDL |
||
280 | * - minOccurs: 0 |
||
281 | * @var string|null |
||
282 | */ |
||
283 | protected ?string $Photo = null; |
||
284 | /** |
||
285 | * The UserSMIMECertificate |
||
286 | * Meta information extracted from the WSDL |
||
287 | * - minOccurs: 0 |
||
288 | * @var \ArrayType\EwsArrayOfBinaryType|null |
||
289 | */ |
||
290 | protected ?\ArrayType\EwsArrayOfBinaryType $UserSMIMECertificate = null; |
||
291 | /** |
||
292 | * The MSExchangeCertificate |
||
293 | * Meta information extracted from the WSDL |
||
294 | * - minOccurs: 0 |
||
295 | * @var \ArrayType\EwsArrayOfBinaryType|null |
||
296 | */ |
||
297 | protected ?\ArrayType\EwsArrayOfBinaryType $MSExchangeCertificate = null; |
||
298 | /** |
||
299 | * The DirectoryId |
||
300 | * Meta information extracted from the WSDL |
||
301 | * - minOccurs: 0 |
||
302 | * @var string|null |
||
303 | */ |
||
304 | protected ?string $DirectoryId = null; |
||
305 | /** |
||
306 | * The ManagerMailbox |
||
307 | * Meta information extracted from the WSDL |
||
308 | * - minOccurs: 0 |
||
309 | * @var \StructType\EwsSingleRecipientType|null |
||
310 | */ |
||
311 | protected ?\StructType\EwsSingleRecipientType $ManagerMailbox = null; |
||
312 | /** |
||
313 | * The DirectReports |
||
314 | * Meta information extracted from the WSDL |
||
315 | * - minOccurs: 0 |
||
316 | * @var \ArrayType\EwsArrayOfRecipientsType|null |
||
317 | */ |
||
318 | protected ?\ArrayType\EwsArrayOfRecipientsType $DirectReports = null; |
||
319 | /** |
||
320 | * The AccountName |
||
321 | * Meta information extracted from the WSDL |
||
322 | * - minOccurs: 0 |
||
323 | * @var string|null |
||
324 | */ |
||
325 | protected ?string $AccountName = null; |
||
326 | /** |
||
327 | * The IsAutoUpdateDisabled |
||
328 | * Meta information extracted from the WSDL |
||
329 | * - minOccurs: 0 |
||
330 | * @var bool|null |
||
331 | */ |
||
332 | protected ?bool $IsAutoUpdateDisabled = null; |
||
333 | /** |
||
334 | * The IsMessengerEnabled |
||
335 | * Meta information extracted from the WSDL |
||
336 | * - minOccurs: 0 |
||
337 | * @var bool|null |
||
338 | */ |
||
339 | protected ?bool $IsMessengerEnabled = null; |
||
340 | /** |
||
341 | * The Comment |
||
342 | * Meta information extracted from the WSDL |
||
343 | * - minOccurs: 0 |
||
344 | * @var string|null |
||
345 | */ |
||
346 | protected ?string $Comment = null; |
||
347 | /** |
||
348 | * The ContactShortId |
||
349 | * Meta information extracted from the WSDL |
||
350 | * - minOccurs: 0 |
||
351 | * @var int|null |
||
352 | */ |
||
353 | protected ?int $ContactShortId = null; |
||
354 | /** |
||
355 | * The ContactType |
||
356 | * Meta information extracted from the WSDL |
||
357 | * - minOccurs: 0 |
||
358 | * @var string|null |
||
359 | */ |
||
360 | protected ?string $ContactType = null; |
||
361 | /** |
||
362 | * The Gender |
||
363 | * Meta information extracted from the WSDL |
||
364 | * - minOccurs: 0 |
||
365 | * @var string|null |
||
366 | */ |
||
367 | protected ?string $Gender = null; |
||
368 | /** |
||
369 | * The IsHidden |
||
370 | * Meta information extracted from the WSDL |
||
371 | * - minOccurs: 0 |
||
372 | * @var bool|null |
||
373 | */ |
||
374 | protected ?bool $IsHidden = null; |
||
375 | /** |
||
376 | * The ObjectId |
||
377 | * Meta information extracted from the WSDL |
||
378 | * - minOccurs: 0 |
||
379 | * @var string|null |
||
380 | */ |
||
381 | protected ?string $ObjectId = null; |
||
382 | /** |
||
383 | * The PassportId |
||
384 | * Meta information extracted from the WSDL |
||
385 | * - minOccurs: 0 |
||
386 | * @var int|null |
||
387 | */ |
||
388 | protected ?int $PassportId = null; |
||
389 | /** |
||
390 | * The IsPrivate |
||
391 | * Meta information extracted from the WSDL |
||
392 | * - minOccurs: 0 |
||
393 | * @var bool|null |
||
394 | */ |
||
395 | protected ?bool $IsPrivate = null; |
||
396 | /** |
||
397 | * The SourceId |
||
398 | * Meta information extracted from the WSDL |
||
399 | * - minOccurs: 0 |
||
400 | * @var string|null |
||
401 | */ |
||
402 | protected ?string $SourceId = null; |
||
403 | /** |
||
404 | * The TrustLevel |
||
405 | * Meta information extracted from the WSDL |
||
406 | * - minOccurs: 0 |
||
407 | * @var int|null |
||
408 | */ |
||
409 | protected ?int $TrustLevel = null; |
||
410 | /** |
||
411 | * The CreatedBy |
||
412 | * Meta information extracted from the WSDL |
||
413 | * - minOccurs: 0 |
||
414 | * @var string|null |
||
415 | */ |
||
416 | protected ?string $CreatedBy = null; |
||
417 | /** |
||
418 | * The Urls |
||
419 | * Meta information extracted from the WSDL |
||
420 | * - minOccurs: 0 |
||
421 | * @var \StructType\EwsContactUrlDictionaryType|null |
||
422 | */ |
||
423 | protected ?\StructType\EwsContactUrlDictionaryType $Urls = null; |
||
424 | /** |
||
425 | * The Cid |
||
426 | * Meta information extracted from the WSDL |
||
427 | * - minOccurs: 0 |
||
428 | * @var int|null |
||
429 | */ |
||
430 | protected ?int $Cid = null; |
||
431 | /** |
||
432 | * The SkypeAuthCertificate |
||
433 | * Meta information extracted from the WSDL |
||
434 | * - minOccurs: 0 |
||
435 | * @var string|null |
||
436 | */ |
||
437 | protected ?string $SkypeAuthCertificate = null; |
||
438 | /** |
||
439 | * The SkypeContext |
||
440 | * Meta information extracted from the WSDL |
||
441 | * - minOccurs: 0 |
||
442 | * @var string|null |
||
443 | */ |
||
444 | protected ?string $SkypeContext = null; |
||
445 | /** |
||
446 | * The SkypeId |
||
447 | * Meta information extracted from the WSDL |
||
448 | * - minOccurs: 0 |
||
449 | * @var string|null |
||
450 | */ |
||
451 | protected ?string $SkypeId = null; |
||
452 | /** |
||
453 | * The SkypeRelationship |
||
454 | * Meta information extracted from the WSDL |
||
455 | * - minOccurs: 0 |
||
456 | * @var string|null |
||
457 | */ |
||
458 | protected ?string $SkypeRelationship = null; |
||
459 | /** |
||
460 | * The YomiNickname |
||
461 | * Meta information extracted from the WSDL |
||
462 | * - minOccurs: 0 |
||
463 | * @var string|null |
||
464 | */ |
||
465 | protected ?string $YomiNickname = null; |
||
466 | /** |
||
467 | * The XboxLiveTag |
||
468 | * Meta information extracted from the WSDL |
||
469 | * - minOccurs: 0 |
||
470 | * @var string|null |
||
471 | */ |
||
472 | protected ?string $XboxLiveTag = null; |
||
473 | /** |
||
474 | * The InviteFree |
||
475 | * Meta information extracted from the WSDL |
||
476 | * - minOccurs: 0 |
||
477 | * @var bool|null |
||
478 | */ |
||
479 | protected ?bool $InviteFree = null; |
||
480 | /** |
||
481 | * The HidePresenceAndProfile |
||
482 | * Meta information extracted from the WSDL |
||
483 | * - minOccurs: 0 |
||
484 | * @var bool|null |
||
485 | */ |
||
486 | protected ?bool $HidePresenceAndProfile = null; |
||
487 | /** |
||
488 | * The IsPendingOutbound |
||
489 | * Meta information extracted from the WSDL |
||
490 | * - minOccurs: 0 |
||
491 | * @var bool|null |
||
492 | */ |
||
493 | protected ?bool $IsPendingOutbound = null; |
||
494 | /** |
||
495 | * The SupportGroupFeeds |
||
496 | * Meta information extracted from the WSDL |
||
497 | * - minOccurs: 0 |
||
498 | * @var bool|null |
||
499 | */ |
||
500 | protected ?bool $SupportGroupFeeds = null; |
||
501 | /** |
||
502 | * The UserTileHash |
||
503 | * Meta information extracted from the WSDL |
||
504 | * - minOccurs: 0 |
||
505 | * @var string|null |
||
506 | */ |
||
507 | protected ?string $UserTileHash = null; |
||
508 | /** |
||
509 | * The UnifiedInbox |
||
510 | * Meta information extracted from the WSDL |
||
511 | * - minOccurs: 0 |
||
512 | * @var bool|null |
||
513 | */ |
||
514 | protected ?bool $UnifiedInbox = null; |
||
515 | /** |
||
516 | * The Mris |
||
517 | * Meta information extracted from the WSDL |
||
518 | * - minOccurs: 0 |
||
519 | * @var \ArrayType\EwsArrayOfStringsType|null |
||
520 | */ |
||
521 | protected ?\ArrayType\EwsArrayOfStringsType $Mris = null; |
||
522 | /** |
||
523 | * The Wlid |
||
524 | * Meta information extracted from the WSDL |
||
525 | * - minOccurs: 0 |
||
526 | * @var string|null |
||
527 | */ |
||
528 | protected ?string $Wlid = null; |
||
529 | /** |
||
530 | * The AbchContactId |
||
531 | * Meta information extracted from the WSDL |
||
532 | * - documentation: The regular expression captures the standard representation of a GUID |
||
533 | * - base: xs:string |
||
534 | * - minOccurs: 0 |
||
535 | * - pattern: [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12} |
||
536 | * @var string|null |
||
537 | */ |
||
538 | protected ?string $AbchContactId = null; |
||
539 | /** |
||
540 | * The NotInBirthdayCalendar |
||
541 | * Meta information extracted from the WSDL |
||
542 | * - minOccurs: 0 |
||
543 | * @var bool|null |
||
544 | */ |
||
545 | protected ?bool $NotInBirthdayCalendar = null; |
||
546 | /** |
||
547 | * The ShellContactType |
||
548 | * Meta information extracted from the WSDL |
||
549 | * - minOccurs: 0 |
||
550 | * @var string|null |
||
551 | */ |
||
552 | protected ?string $ShellContactType = null; |
||
553 | /** |
||
554 | * The ImMri |
||
555 | * Meta information extracted from the WSDL |
||
556 | * - minOccurs: 0 |
||
557 | * @var string|null |
||
558 | */ |
||
559 | protected ?string $ImMri = null; |
||
560 | /** |
||
561 | * The PresenceTrustLevel |
||
562 | * Meta information extracted from the WSDL |
||
563 | * - minOccurs: 0 |
||
564 | * @var int|null |
||
565 | */ |
||
566 | protected ?int $PresenceTrustLevel = null; |
||
567 | /** |
||
568 | * The OtherMri |
||
569 | * Meta information extracted from the WSDL |
||
570 | * - minOccurs: 0 |
||
571 | * @var string|null |
||
572 | */ |
||
573 | protected ?string $OtherMri = null; |
||
574 | /** |
||
575 | * The ProfileLastChanged |
||
576 | * Meta information extracted from the WSDL |
||
577 | * - minOccurs: 0 |
||
578 | * @var string|null |
||
579 | */ |
||
580 | protected ?string $ProfileLastChanged = null; |
||
581 | /** |
||
582 | * The MobileIMEnabled |
||
583 | * Meta information extracted from the WSDL |
||
584 | * - minOccurs: 0 |
||
585 | * @var bool|null |
||
586 | */ |
||
587 | protected ?bool $MobileIMEnabled = null; |
||
588 | /** |
||
589 | * The PartnerNetworkProfilePhotoUrl |
||
590 | * Meta information extracted from the WSDL |
||
591 | * - minOccurs: 0 |
||
592 | * @var string|null |
||
593 | */ |
||
594 | protected ?string $PartnerNetworkProfilePhotoUrl = null; |
||
595 | /** |
||
596 | * The PartnerNetworkThumbnailPhotoUrl |
||
597 | * Meta information extracted from the WSDL |
||
598 | * - minOccurs: 0 |
||
599 | * @var string|null |
||
600 | */ |
||
601 | protected ?string $PartnerNetworkThumbnailPhotoUrl = null; |
||
602 | /** |
||
603 | * Constructor method for ContactItemType |
||
604 | * @uses EwsContactItemType::setFileAs() |
||
605 | * @uses EwsContactItemType::setFileAsMapping() |
||
606 | * @uses EwsContactItemType::setDisplayName() |
||
607 | * @uses EwsContactItemType::setGivenName() |
||
608 | * @uses EwsContactItemType::setInitials() |
||
609 | * @uses EwsContactItemType::setMiddleName() |
||
610 | * @uses EwsContactItemType::setNickname() |
||
611 | * @uses EwsContactItemType::setCompleteName() |
||
612 | * @uses EwsContactItemType::setCompanyName() |
||
613 | * @uses EwsContactItemType::setEmailAddresses() |
||
614 | * @uses EwsContactItemType::setAbchEmailAddresses() |
||
615 | * @uses EwsContactItemType::setPhysicalAddresses() |
||
616 | * @uses EwsContactItemType::setPhoneNumbers() |
||
617 | * @uses EwsContactItemType::setAssistantName() |
||
618 | * @uses EwsContactItemType::setBirthday() |
||
619 | * @uses EwsContactItemType::setBusinessHomePage() |
||
620 | * @uses EwsContactItemType::setChildren() |
||
621 | * @uses EwsContactItemType::setCompanies() |
||
622 | * @uses EwsContactItemType::setContactSource() |
||
623 | * @uses EwsContactItemType::setDepartment() |
||
624 | * @uses EwsContactItemType::setGeneration() |
||
625 | * @uses EwsContactItemType::setImAddresses() |
||
626 | * @uses EwsContactItemType::setJobTitle() |
||
627 | * @uses EwsContactItemType::setManager() |
||
628 | * @uses EwsContactItemType::setMileage() |
||
629 | * @uses EwsContactItemType::setOfficeLocation() |
||
630 | * @uses EwsContactItemType::setPostalAddressIndex() |
||
631 | * @uses EwsContactItemType::setProfession() |
||
632 | * @uses EwsContactItemType::setSpouseName() |
||
633 | * @uses EwsContactItemType::setSurname() |
||
634 | * @uses EwsContactItemType::setWeddingAnniversary() |
||
635 | * @uses EwsContactItemType::setHasPicture() |
||
636 | * @uses EwsContactItemType::setPhoneticFullName() |
||
637 | * @uses EwsContactItemType::setPhoneticFirstName() |
||
638 | * @uses EwsContactItemType::setPhoneticLastName() |
||
639 | * @uses EwsContactItemType::setAlias() |
||
640 | * @uses EwsContactItemType::setNotes() |
||
641 | * @uses EwsContactItemType::setPhoto() |
||
642 | * @uses EwsContactItemType::setUserSMIMECertificate() |
||
643 | * @uses EwsContactItemType::setMSExchangeCertificate() |
||
644 | * @uses EwsContactItemType::setDirectoryId() |
||
645 | * @uses EwsContactItemType::setManagerMailbox() |
||
646 | * @uses EwsContactItemType::setDirectReports() |
||
647 | * @uses EwsContactItemType::setAccountName() |
||
648 | * @uses EwsContactItemType::setIsAutoUpdateDisabled() |
||
649 | * @uses EwsContactItemType::setIsMessengerEnabled() |
||
650 | * @uses EwsContactItemType::setComment() |
||
651 | * @uses EwsContactItemType::setContactShortId() |
||
652 | * @uses EwsContactItemType::setContactType() |
||
653 | * @uses EwsContactItemType::setGender() |
||
654 | * @uses EwsContactItemType::setIsHidden() |
||
655 | * @uses EwsContactItemType::setObjectId() |
||
656 | * @uses EwsContactItemType::setPassportId() |
||
657 | * @uses EwsContactItemType::setIsPrivate() |
||
658 | * @uses EwsContactItemType::setSourceId() |
||
659 | * @uses EwsContactItemType::setTrustLevel() |
||
660 | * @uses EwsContactItemType::setCreatedBy() |
||
661 | * @uses EwsContactItemType::setUrls() |
||
662 | * @uses EwsContactItemType::setCid() |
||
663 | * @uses EwsContactItemType::setSkypeAuthCertificate() |
||
664 | * @uses EwsContactItemType::setSkypeContext() |
||
665 | * @uses EwsContactItemType::setSkypeId() |
||
666 | * @uses EwsContactItemType::setSkypeRelationship() |
||
667 | * @uses EwsContactItemType::setYomiNickname() |
||
668 | * @uses EwsContactItemType::setXboxLiveTag() |
||
669 | * @uses EwsContactItemType::setInviteFree() |
||
670 | * @uses EwsContactItemType::setHidePresenceAndProfile() |
||
671 | * @uses EwsContactItemType::setIsPendingOutbound() |
||
672 | * @uses EwsContactItemType::setSupportGroupFeeds() |
||
673 | * @uses EwsContactItemType::setUserTileHash() |
||
674 | * @uses EwsContactItemType::setUnifiedInbox() |
||
675 | * @uses EwsContactItemType::setMris() |
||
676 | * @uses EwsContactItemType::setWlid() |
||
677 | * @uses EwsContactItemType::setAbchContactId() |
||
678 | * @uses EwsContactItemType::setNotInBirthdayCalendar() |
||
679 | * @uses EwsContactItemType::setShellContactType() |
||
680 | * @uses EwsContactItemType::setImMri() |
||
681 | * @uses EwsContactItemType::setPresenceTrustLevel() |
||
682 | * @uses EwsContactItemType::setOtherMri() |
||
683 | * @uses EwsContactItemType::setProfileLastChanged() |
||
684 | * @uses EwsContactItemType::setMobileIMEnabled() |
||
685 | * @uses EwsContactItemType::setPartnerNetworkProfilePhotoUrl() |
||
686 | * @uses EwsContactItemType::setPartnerNetworkThumbnailPhotoUrl() |
||
687 | * @param string $fileAs |
||
688 | * @param string $fileAsMapping |
||
689 | * @param string $displayName |
||
690 | * @param string $givenName |
||
691 | * @param string $initials |
||
692 | * @param string $middleName |
||
693 | * @param string $nickname |
||
694 | * @param \StructType\EwsCompleteNameType $completeName |
||
695 | * @param string $companyName |
||
696 | * @param \StructType\EwsEmailAddressDictionaryType $emailAddresses |
||
697 | * @param \StructType\EwsAbchEmailAddressDictionaryType $abchEmailAddresses |
||
698 | * @param \StructType\EwsPhysicalAddressDictionaryType $physicalAddresses |
||
699 | * @param \StructType\EwsPhoneNumberDictionaryType $phoneNumbers |
||
700 | * @param string $assistantName |
||
701 | * @param string $birthday |
||
702 | * @param string $businessHomePage |
||
703 | * @param \ArrayType\EwsArrayOfStringsType $children |
||
704 | * @param \ArrayType\EwsArrayOfStringsType $companies |
||
705 | * @param string $contactSource |
||
706 | * @param string $department |
||
707 | * @param string $generation |
||
708 | * @param \StructType\EwsImAddressDictionaryType $imAddresses |
||
709 | * @param string $jobTitle |
||
710 | * @param string $manager |
||
711 | * @param string $mileage |
||
712 | * @param string $officeLocation |
||
713 | * @param string $postalAddressIndex |
||
714 | * @param string $profession |
||
715 | * @param string $spouseName |
||
716 | * @param string $surname |
||
717 | * @param string $weddingAnniversary |
||
718 | * @param bool $hasPicture |
||
719 | * @param string $phoneticFullName |
||
720 | * @param string $phoneticFirstName |
||
721 | * @param string $phoneticLastName |
||
722 | * @param string $alias |
||
723 | * @param string $notes |
||
724 | * @param string $photo |
||
725 | * @param \ArrayType\EwsArrayOfBinaryType $userSMIMECertificate |
||
726 | * @param \ArrayType\EwsArrayOfBinaryType $mSExchangeCertificate |
||
727 | * @param string $directoryId |
||
728 | * @param \StructType\EwsSingleRecipientType $managerMailbox |
||
729 | * @param \ArrayType\EwsArrayOfRecipientsType $directReports |
||
730 | * @param string $accountName |
||
731 | * @param bool $isAutoUpdateDisabled |
||
732 | * @param bool $isMessengerEnabled |
||
733 | * @param string $comment |
||
734 | * @param int $contactShortId |
||
735 | * @param string $contactType |
||
736 | * @param string $gender |
||
737 | * @param bool $isHidden |
||
738 | * @param string $objectId |
||
739 | * @param int $passportId |
||
740 | * @param bool $isPrivate |
||
741 | * @param string $sourceId |
||
742 | * @param int $trustLevel |
||
743 | * @param string $createdBy |
||
744 | * @param \StructType\EwsContactUrlDictionaryType $urls |
||
745 | * @param int $cid |
||
746 | * @param string $skypeAuthCertificate |
||
747 | * @param string $skypeContext |
||
748 | * @param string $skypeId |
||
749 | * @param string $skypeRelationship |
||
750 | * @param string $yomiNickname |
||
751 | * @param string $xboxLiveTag |
||
752 | * @param bool $inviteFree |
||
753 | * @param bool $hidePresenceAndProfile |
||
754 | * @param bool $isPendingOutbound |
||
755 | * @param bool $supportGroupFeeds |
||
756 | * @param string $userTileHash |
||
757 | * @param bool $unifiedInbox |
||
758 | * @param \ArrayType\EwsArrayOfStringsType $mris |
||
759 | * @param string $wlid |
||
760 | * @param string $abchContactId |
||
761 | * @param bool $notInBirthdayCalendar |
||
762 | * @param string $shellContactType |
||
763 | * @param string $imMri |
||
764 | * @param int $presenceTrustLevel |
||
765 | * @param string $otherMri |
||
766 | * @param string $profileLastChanged |
||
767 | * @param bool $mobileIMEnabled |
||
768 | * @param string $partnerNetworkProfilePhotoUrl |
||
769 | * @param string $partnerNetworkThumbnailPhotoUrl |
||
770 | */ |
||
771 | public function __construct(?string $fileAs = null, ?string $fileAsMapping = null, ?string $displayName = null, ?string $givenName = null, ?string $initials = null, ?string $middleName = null, ?string $nickname = null, ?\StructType\EwsCompleteNameType $completeName = null, ?string $companyName = null, ?\StructType\EwsEmailAddressDictionaryType $emailAddresses = null, ?\StructType\EwsAbchEmailAddressDictionaryType $abchEmailAddresses = null, ?\StructType\EwsPhysicalAddressDictionaryType $physicalAddresses = null, ?\StructType\EwsPhoneNumberDictionaryType $phoneNumbers = null, ?string $assistantName = null, ?string $birthday = null, ?string $businessHomePage = null, ?\ArrayType\EwsArrayOfStringsType $children = null, ?\ArrayType\EwsArrayOfStringsType $companies = null, ?string $contactSource = null, ?string $department = null, ?string $generation = null, ?\StructType\EwsImAddressDictionaryType $imAddresses = null, ?string $jobTitle = null, ?string $manager = null, ?string $mileage = null, ?string $officeLocation = null, ?string $postalAddressIndex = null, ?string $profession = null, ?string $spouseName = null, ?string $surname = null, ?string $weddingAnniversary = null, ?bool $hasPicture = null, ?string $phoneticFullName = null, ?string $phoneticFirstName = null, ?string $phoneticLastName = null, ?string $alias = null, ?string $notes = null, ?string $photo = null, ?\ArrayType\EwsArrayOfBinaryType $userSMIMECertificate = null, ?\ArrayType\EwsArrayOfBinaryType $mSExchangeCertificate = null, ?string $directoryId = null, ?\StructType\EwsSingleRecipientType $managerMailbox = null, ?\ArrayType\EwsArrayOfRecipientsType $directReports = null, ?string $accountName = null, ?bool $isAutoUpdateDisabled = null, ?bool $isMessengerEnabled = null, ?string $comment = null, ?int $contactShortId = null, ?string $contactType = null, ?string $gender = null, ?bool $isHidden = null, ?string $objectId = null, ?int $passportId = null, ?bool $isPrivate = null, ?string $sourceId = null, ?int $trustLevel = null, ?string $createdBy = null, ?\StructType\EwsContactUrlDictionaryType $urls = null, ?int $cid = null, ?string $skypeAuthCertificate = null, ?string $skypeContext = null, ?string $skypeId = null, ?string $skypeRelationship = null, ?string $yomiNickname = null, ?string $xboxLiveTag = null, ?bool $inviteFree = null, ?bool $hidePresenceAndProfile = null, ?bool $isPendingOutbound = null, ?bool $supportGroupFeeds = null, ?string $userTileHash = null, ?bool $unifiedInbox = null, ?\ArrayType\EwsArrayOfStringsType $mris = null, ?string $wlid = null, ?string $abchContactId = null, ?bool $notInBirthdayCalendar = null, ?string $shellContactType = null, ?string $imMri = null, ?int $presenceTrustLevel = null, ?string $otherMri = null, ?string $profileLastChanged = null, ?bool $mobileIMEnabled = null, ?string $partnerNetworkProfilePhotoUrl = null, ?string $partnerNetworkThumbnailPhotoUrl = null) |
||
772 | { |
||
773 | $this |
||
774 | ->setFileAs($fileAs) |
||
775 | ->setFileAsMapping($fileAsMapping) |
||
776 | ->setDisplayName($displayName) |
||
777 | ->setGivenName($givenName) |
||
778 | ->setInitials($initials) |
||
779 | ->setMiddleName($middleName) |
||
780 | ->setNickname($nickname) |
||
781 | ->setCompleteName($completeName) |
||
782 | ->setCompanyName($companyName) |
||
783 | ->setEmailAddresses($emailAddresses) |
||
784 | ->setAbchEmailAddresses($abchEmailAddresses) |
||
785 | ->setPhysicalAddresses($physicalAddresses) |
||
786 | ->setPhoneNumbers($phoneNumbers) |
||
787 | ->setAssistantName($assistantName) |
||
788 | ->setBirthday($birthday) |
||
789 | ->setBusinessHomePage($businessHomePage) |
||
790 | ->setChildren($children) |
||
791 | ->setCompanies($companies) |
||
792 | ->setContactSource($contactSource) |
||
793 | ->setDepartment($department) |
||
794 | ->setGeneration($generation) |
||
795 | ->setImAddresses($imAddresses) |
||
796 | ->setJobTitle($jobTitle) |
||
797 | ->setManager($manager) |
||
798 | ->setMileage($mileage) |
||
799 | ->setOfficeLocation($officeLocation) |
||
800 | ->setPostalAddressIndex($postalAddressIndex) |
||
801 | ->setProfession($profession) |
||
802 | ->setSpouseName($spouseName) |
||
803 | ->setSurname($surname) |
||
804 | ->setWeddingAnniversary($weddingAnniversary) |
||
805 | ->setHasPicture($hasPicture) |
||
806 | ->setPhoneticFullName($phoneticFullName) |
||
807 | ->setPhoneticFirstName($phoneticFirstName) |
||
808 | ->setPhoneticLastName($phoneticLastName) |
||
809 | ->setAlias($alias) |
||
810 | ->setNotes($notes) |
||
811 | ->setPhoto($photo) |
||
812 | ->setUserSMIMECertificate($userSMIMECertificate) |
||
813 | ->setMSExchangeCertificate($mSExchangeCertificate) |
||
814 | ->setDirectoryId($directoryId) |
||
815 | ->setManagerMailbox($managerMailbox) |
||
816 | ->setDirectReports($directReports) |
||
817 | ->setAccountName($accountName) |
||
818 | ->setIsAutoUpdateDisabled($isAutoUpdateDisabled) |
||
819 | ->setIsMessengerEnabled($isMessengerEnabled) |
||
820 | ->setComment($comment) |
||
821 | ->setContactShortId($contactShortId) |
||
822 | ->setContactType($contactType) |
||
823 | ->setGender($gender) |
||
824 | ->setIsHidden($isHidden) |
||
825 | ->setObjectId($objectId) |
||
826 | ->setPassportId($passportId) |
||
827 | ->setIsPrivate($isPrivate) |
||
828 | ->setSourceId($sourceId) |
||
829 | ->setTrustLevel($trustLevel) |
||
830 | ->setCreatedBy($createdBy) |
||
831 | ->setUrls($urls) |
||
832 | ->setCid($cid) |
||
833 | ->setSkypeAuthCertificate($skypeAuthCertificate) |
||
834 | ->setSkypeContext($skypeContext) |
||
835 | ->setSkypeId($skypeId) |
||
836 | ->setSkypeRelationship($skypeRelationship) |
||
837 | ->setYomiNickname($yomiNickname) |
||
838 | ->setXboxLiveTag($xboxLiveTag) |
||
839 | ->setInviteFree($inviteFree) |
||
840 | ->setHidePresenceAndProfile($hidePresenceAndProfile) |
||
841 | ->setIsPendingOutbound($isPendingOutbound) |
||
842 | ->setSupportGroupFeeds($supportGroupFeeds) |
||
843 | ->setUserTileHash($userTileHash) |
||
844 | ->setUnifiedInbox($unifiedInbox) |
||
845 | ->setMris($mris) |
||
846 | ->setWlid($wlid) |
||
847 | ->setAbchContactId($abchContactId) |
||
848 | ->setNotInBirthdayCalendar($notInBirthdayCalendar) |
||
849 | ->setShellContactType($shellContactType) |
||
850 | ->setImMri($imMri) |
||
851 | ->setPresenceTrustLevel($presenceTrustLevel) |
||
852 | ->setOtherMri($otherMri) |
||
853 | ->setProfileLastChanged($profileLastChanged) |
||
854 | ->setMobileIMEnabled($mobileIMEnabled) |
||
855 | ->setPartnerNetworkProfilePhotoUrl($partnerNetworkProfilePhotoUrl) |
||
856 | ->setPartnerNetworkThumbnailPhotoUrl($partnerNetworkThumbnailPhotoUrl); |
||
857 | } |
||
858 | /** |
||
859 | * Get FileAs value |
||
860 | * @return string|null |
||
861 | */ |
||
862 | public function getFileAs(): ?string |
||
863 | { |
||
864 | return $this->FileAs; |
||
865 | } |
||
866 | /** |
||
867 | * Set FileAs value |
||
868 | * @param string $fileAs |
||
869 | * @return \StructType\EwsContactItemType |
||
870 | */ |
||
871 | public function setFileAs(?string $fileAs = null): self |
||
872 | { |
||
873 | // validation for constraint: string |
||
874 | if (!is_null($fileAs) && !is_string($fileAs)) { |
||
|
|||
875 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($fileAs, true), gettype($fileAs)), __LINE__); |
||
876 | } |
||
877 | $this->FileAs = $fileAs; |
||
878 | |||
879 | return $this; |
||
880 | } |
||
881 | /** |
||
882 | * Get FileAsMapping value |
||
883 | * @return string|null |
||
884 | */ |
||
885 | public function getFileAsMapping(): ?string |
||
886 | { |
||
887 | return $this->FileAsMapping; |
||
888 | } |
||
889 | /** |
||
890 | * Set FileAsMapping value |
||
891 | * @uses \EnumType\EwsFileAsMappingType::valueIsValid() |
||
892 | * @uses \EnumType\EwsFileAsMappingType::getValidValues() |
||
893 | * @throws InvalidArgumentException |
||
894 | * @param string $fileAsMapping |
||
895 | * @return \StructType\EwsContactItemType |
||
896 | */ |
||
897 | public function setFileAsMapping(?string $fileAsMapping = null): self |
||
898 | { |
||
899 | // validation for constraint: enumeration |
||
900 | if (!\EnumType\EwsFileAsMappingType::valueIsValid($fileAsMapping)) { |
||
901 | throw new InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\EwsFileAsMappingType', is_array($fileAsMapping) ? implode(', ', $fileAsMapping) : var_export($fileAsMapping, true), implode(', ', \EnumType\EwsFileAsMappingType::getValidValues())), __LINE__); |
||
902 | } |
||
903 | $this->FileAsMapping = $fileAsMapping; |
||
904 | |||
905 | return $this; |
||
906 | } |
||
907 | /** |
||
908 | * Get DisplayName value |
||
909 | * @return string|null |
||
910 | */ |
||
911 | public function getDisplayName(): ?string |
||
914 | } |
||
915 | /** |
||
916 | * Set DisplayName value |
||
917 | * @param string $displayName |
||
918 | * @return \StructType\EwsContactItemType |
||
919 | */ |
||
920 | public function setDisplayName(?string $displayName = null): self |
||
921 | { |
||
922 | // validation for constraint: string |
||
923 | if (!is_null($displayName) && !is_string($displayName)) { |
||
924 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($displayName, true), gettype($displayName)), __LINE__); |
||
925 | } |
||
926 | $this->DisplayName = $displayName; |
||
927 | |||
928 | return $this; |
||
929 | } |
||
930 | /** |
||
931 | * Get GivenName value |
||
932 | * @return string|null |
||
933 | */ |
||
934 | public function getGivenName(): ?string |
||
935 | { |
||
936 | return $this->GivenName; |
||
937 | } |
||
938 | /** |
||
939 | * Set GivenName value |
||
940 | * @param string $givenName |
||
941 | * @return \StructType\EwsContactItemType |
||
942 | */ |
||
943 | public function setGivenName(?string $givenName = null): self |
||
944 | { |
||
945 | // validation for constraint: string |
||
946 | if (!is_null($givenName) && !is_string($givenName)) { |
||
947 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($givenName, true), gettype($givenName)), __LINE__); |
||
948 | } |
||
949 | $this->GivenName = $givenName; |
||
950 | |||
951 | return $this; |
||
952 | } |
||
953 | /** |
||
954 | * Get Initials value |
||
955 | * @return string|null |
||
956 | */ |
||
957 | public function getInitials(): ?string |
||
958 | { |
||
959 | return $this->Initials; |
||
960 | } |
||
961 | /** |
||
962 | * Set Initials value |
||
963 | * @param string $initials |
||
964 | * @return \StructType\EwsContactItemType |
||
965 | */ |
||
966 | public function setInitials(?string $initials = null): self |
||
967 | { |
||
968 | // validation for constraint: string |
||
969 | if (!is_null($initials) && !is_string($initials)) { |
||
970 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($initials, true), gettype($initials)), __LINE__); |
||
971 | } |
||
972 | $this->Initials = $initials; |
||
973 | |||
974 | return $this; |
||
975 | } |
||
976 | /** |
||
977 | * Get MiddleName value |
||
978 | * @return string|null |
||
979 | */ |
||
980 | public function getMiddleName(): ?string |
||
981 | { |
||
982 | return $this->MiddleName; |
||
983 | } |
||
984 | /** |
||
985 | * Set MiddleName value |
||
986 | * @param string $middleName |
||
987 | * @return \StructType\EwsContactItemType |
||
988 | */ |
||
989 | public function setMiddleName(?string $middleName = null): self |
||
990 | { |
||
991 | // validation for constraint: string |
||
992 | if (!is_null($middleName) && !is_string($middleName)) { |
||
993 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($middleName, true), gettype($middleName)), __LINE__); |
||
994 | } |
||
995 | $this->MiddleName = $middleName; |
||
996 | |||
997 | return $this; |
||
998 | } |
||
999 | /** |
||
1000 | * Get Nickname value |
||
1001 | * @return string|null |
||
1002 | */ |
||
1003 | public function getNickname(): ?string |
||
1004 | { |
||
1005 | return $this->Nickname; |
||
1006 | } |
||
1007 | /** |
||
1008 | * Set Nickname value |
||
1009 | * @param string $nickname |
||
1010 | * @return \StructType\EwsContactItemType |
||
1011 | */ |
||
1012 | public function setNickname(?string $nickname = null): self |
||
1013 | { |
||
1014 | // validation for constraint: string |
||
1015 | if (!is_null($nickname) && !is_string($nickname)) { |
||
1016 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($nickname, true), gettype($nickname)), __LINE__); |
||
1017 | } |
||
1018 | $this->Nickname = $nickname; |
||
1019 | |||
1020 | return $this; |
||
1021 | } |
||
1022 | /** |
||
1023 | * Get CompleteName value |
||
1024 | * @return \StructType\EwsCompleteNameType|null |
||
1025 | */ |
||
1026 | public function getCompleteName(): ?\StructType\EwsCompleteNameType |
||
1027 | { |
||
1028 | return $this->CompleteName; |
||
1029 | } |
||
1030 | /** |
||
1031 | * Set CompleteName value |
||
1032 | * @param \StructType\EwsCompleteNameType $completeName |
||
1033 | * @return \StructType\EwsContactItemType |
||
1034 | */ |
||
1035 | public function setCompleteName(?\StructType\EwsCompleteNameType $completeName = null): self |
||
1036 | { |
||
1037 | $this->CompleteName = $completeName; |
||
1038 | |||
1039 | return $this; |
||
1040 | } |
||
1041 | /** |
||
1042 | * Get CompanyName value |
||
1043 | * @return string|null |
||
1044 | */ |
||
1045 | public function getCompanyName(): ?string |
||
1046 | { |
||
1047 | return $this->CompanyName; |
||
1048 | } |
||
1049 | /** |
||
1050 | * Set CompanyName value |
||
1051 | * @param string $companyName |
||
1052 | * @return \StructType\EwsContactItemType |
||
1053 | */ |
||
1054 | public function setCompanyName(?string $companyName = null): self |
||
1055 | { |
||
1056 | // validation for constraint: string |
||
1057 | if (!is_null($companyName) && !is_string($companyName)) { |
||
1058 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($companyName, true), gettype($companyName)), __LINE__); |
||
1059 | } |
||
1060 | $this->CompanyName = $companyName; |
||
1061 | |||
1062 | return $this; |
||
1063 | } |
||
1064 | /** |
||
1065 | * Get EmailAddresses value |
||
1066 | * @return \StructType\EwsEmailAddressDictionaryType|null |
||
1067 | */ |
||
1068 | public function getEmailAddresses(): ?\StructType\EwsEmailAddressDictionaryType |
||
1069 | { |
||
1070 | return $this->EmailAddresses; |
||
1071 | } |
||
1072 | /** |
||
1073 | * Set EmailAddresses value |
||
1074 | * @param \StructType\EwsEmailAddressDictionaryType $emailAddresses |
||
1075 | * @return \StructType\EwsContactItemType |
||
1076 | */ |
||
1077 | public function setEmailAddresses(?\StructType\EwsEmailAddressDictionaryType $emailAddresses = null): self |
||
1078 | { |
||
1079 | $this->EmailAddresses = $emailAddresses; |
||
1080 | |||
1081 | return $this; |
||
1082 | } |
||
1083 | /** |
||
1084 | * Get AbchEmailAddresses value |
||
1085 | * @return \StructType\EwsAbchEmailAddressDictionaryType|null |
||
1086 | */ |
||
1087 | public function getAbchEmailAddresses(): ?\StructType\EwsAbchEmailAddressDictionaryType |
||
1088 | { |
||
1089 | return $this->AbchEmailAddresses; |
||
1090 | } |
||
1091 | /** |
||
1092 | * Set AbchEmailAddresses value |
||
1093 | * @param \StructType\EwsAbchEmailAddressDictionaryType $abchEmailAddresses |
||
1094 | * @return \StructType\EwsContactItemType |
||
1095 | */ |
||
1096 | public function setAbchEmailAddresses(?\StructType\EwsAbchEmailAddressDictionaryType $abchEmailAddresses = null): self |
||
1097 | { |
||
1098 | $this->AbchEmailAddresses = $abchEmailAddresses; |
||
1099 | |||
1100 | return $this; |
||
1101 | } |
||
1102 | /** |
||
1103 | * Get PhysicalAddresses value |
||
1104 | * @return \StructType\EwsPhysicalAddressDictionaryType|null |
||
1105 | */ |
||
1106 | public function getPhysicalAddresses(): ?\StructType\EwsPhysicalAddressDictionaryType |
||
1107 | { |
||
1108 | return $this->PhysicalAddresses; |
||
1109 | } |
||
1110 | /** |
||
1111 | * Set PhysicalAddresses value |
||
1112 | * @param \StructType\EwsPhysicalAddressDictionaryType $physicalAddresses |
||
1113 | * @return \StructType\EwsContactItemType |
||
1114 | */ |
||
1115 | public function setPhysicalAddresses(?\StructType\EwsPhysicalAddressDictionaryType $physicalAddresses = null): self |
||
1116 | { |
||
1117 | $this->PhysicalAddresses = $physicalAddresses; |
||
1118 | |||
1119 | return $this; |
||
1120 | } |
||
1121 | /** |
||
1122 | * Get PhoneNumbers value |
||
1123 | * @return \StructType\EwsPhoneNumberDictionaryType|null |
||
1124 | */ |
||
1125 | public function getPhoneNumbers(): ?\StructType\EwsPhoneNumberDictionaryType |
||
1126 | { |
||
1127 | return $this->PhoneNumbers; |
||
1128 | } |
||
1129 | /** |
||
1130 | * Set PhoneNumbers value |
||
1131 | * @param \StructType\EwsPhoneNumberDictionaryType $phoneNumbers |
||
1132 | * @return \StructType\EwsContactItemType |
||
1133 | */ |
||
1134 | public function setPhoneNumbers(?\StructType\EwsPhoneNumberDictionaryType $phoneNumbers = null): self |
||
1135 | { |
||
1136 | $this->PhoneNumbers = $phoneNumbers; |
||
1137 | |||
1138 | return $this; |
||
1139 | } |
||
1140 | /** |
||
1141 | * Get AssistantName value |
||
1142 | * @return string|null |
||
1143 | */ |
||
1144 | public function getAssistantName(): ?string |
||
1145 | { |
||
1146 | return $this->AssistantName; |
||
1147 | } |
||
1148 | /** |
||
1149 | * Set AssistantName value |
||
1150 | * @param string $assistantName |
||
1151 | * @return \StructType\EwsContactItemType |
||
1152 | */ |
||
1153 | public function setAssistantName(?string $assistantName = null): self |
||
1154 | { |
||
1155 | // validation for constraint: string |
||
1156 | if (!is_null($assistantName) && !is_string($assistantName)) { |
||
1157 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($assistantName, true), gettype($assistantName)), __LINE__); |
||
1158 | } |
||
1159 | $this->AssistantName = $assistantName; |
||
1160 | |||
1161 | return $this; |
||
1162 | } |
||
1163 | /** |
||
1164 | * Get Birthday value |
||
1165 | * @return string|null |
||
1166 | */ |
||
1167 | public function getBirthday(): ?string |
||
1168 | { |
||
1169 | return $this->Birthday; |
||
1170 | } |
||
1171 | /** |
||
1172 | * Set Birthday value |
||
1173 | * @param string $birthday |
||
1174 | * @return \StructType\EwsContactItemType |
||
1175 | */ |
||
1176 | public function setBirthday(?string $birthday = null): self |
||
1177 | { |
||
1178 | // validation for constraint: string |
||
1179 | if (!is_null($birthday) && !is_string($birthday)) { |
||
1180 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($birthday, true), gettype($birthday)), __LINE__); |
||
1181 | } |
||
1182 | $this->Birthday = $birthday; |
||
1183 | |||
1184 | return $this; |
||
1185 | } |
||
1186 | /** |
||
1187 | * Get BusinessHomePage value |
||
1188 | * @return string|null |
||
1189 | */ |
||
1190 | public function getBusinessHomePage(): ?string |
||
1191 | { |
||
1192 | return $this->BusinessHomePage; |
||
1193 | } |
||
1194 | /** |
||
1195 | * Set BusinessHomePage value |
||
1196 | * @param string $businessHomePage |
||
1197 | * @return \StructType\EwsContactItemType |
||
1198 | */ |
||
1199 | public function setBusinessHomePage(?string $businessHomePage = null): self |
||
1200 | { |
||
1201 | // validation for constraint: string |
||
1202 | if (!is_null($businessHomePage) && !is_string($businessHomePage)) { |
||
1203 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($businessHomePage, true), gettype($businessHomePage)), __LINE__); |
||
1204 | } |
||
1205 | $this->BusinessHomePage = $businessHomePage; |
||
1206 | |||
1207 | return $this; |
||
1208 | } |
||
1209 | /** |
||
1210 | * Get Children value |
||
1211 | * @return \ArrayType\EwsArrayOfStringsType|null |
||
1212 | */ |
||
1213 | public function getChildren(): ?\ArrayType\EwsArrayOfStringsType |
||
1214 | { |
||
1215 | return $this->Children; |
||
1216 | } |
||
1217 | /** |
||
1218 | * Set Children value |
||
1219 | * @param \ArrayType\EwsArrayOfStringsType $children |
||
1220 | * @return \StructType\EwsContactItemType |
||
1221 | */ |
||
1222 | public function setChildren(?\ArrayType\EwsArrayOfStringsType $children = null): self |
||
1223 | { |
||
1224 | $this->Children = $children; |
||
1225 | |||
1226 | return $this; |
||
1227 | } |
||
1228 | /** |
||
1229 | * Get Companies value |
||
1230 | * @return \ArrayType\EwsArrayOfStringsType|null |
||
1231 | */ |
||
1232 | public function getCompanies(): ?\ArrayType\EwsArrayOfStringsType |
||
1233 | { |
||
1234 | return $this->Companies; |
||
1235 | } |
||
1236 | /** |
||
1237 | * Set Companies value |
||
1238 | * @param \ArrayType\EwsArrayOfStringsType $companies |
||
1239 | * @return \StructType\EwsContactItemType |
||
1240 | */ |
||
1241 | public function setCompanies(?\ArrayType\EwsArrayOfStringsType $companies = null): self |
||
1242 | { |
||
1243 | $this->Companies = $companies; |
||
1244 | |||
1245 | return $this; |
||
1246 | } |
||
1247 | /** |
||
1248 | * Get ContactSource value |
||
1249 | * @return string|null |
||
1250 | */ |
||
1251 | public function getContactSource(): ?string |
||
1252 | { |
||
1253 | return $this->ContactSource; |
||
1254 | } |
||
1255 | /** |
||
1256 | * Set ContactSource value |
||
1257 | * @uses \EnumType\EwsContactSourceType::valueIsValid() |
||
1258 | * @uses \EnumType\EwsContactSourceType::getValidValues() |
||
1259 | * @throws InvalidArgumentException |
||
1260 | * @param string $contactSource |
||
1261 | * @return \StructType\EwsContactItemType |
||
1262 | */ |
||
1263 | public function setContactSource(?string $contactSource = null): self |
||
1264 | { |
||
1265 | // validation for constraint: enumeration |
||
1266 | if (!\EnumType\EwsContactSourceType::valueIsValid($contactSource)) { |
||
1267 | throw new InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\EwsContactSourceType', is_array($contactSource) ? implode(', ', $contactSource) : var_export($contactSource, true), implode(', ', \EnumType\EwsContactSourceType::getValidValues())), __LINE__); |
||
1268 | } |
||
1269 | $this->ContactSource = $contactSource; |
||
1270 | |||
1271 | return $this; |
||
1272 | } |
||
1273 | /** |
||
1274 | * Get Department value |
||
1275 | * @return string|null |
||
1276 | */ |
||
1277 | public function getDepartment(): ?string |
||
1278 | { |
||
1279 | return $this->Department; |
||
1280 | } |
||
1281 | /** |
||
1282 | * Set Department value |
||
1283 | * @param string $department |
||
1284 | * @return \StructType\EwsContactItemType |
||
1285 | */ |
||
1286 | public function setDepartment(?string $department = null): self |
||
1287 | { |
||
1288 | // validation for constraint: string |
||
1289 | if (!is_null($department) && !is_string($department)) { |
||
1290 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($department, true), gettype($department)), __LINE__); |
||
1291 | } |
||
1292 | $this->Department = $department; |
||
1293 | |||
1294 | return $this; |
||
1295 | } |
||
1296 | /** |
||
1297 | * Get Generation value |
||
1298 | * @return string|null |
||
1299 | */ |
||
1300 | public function getGeneration(): ?string |
||
1301 | { |
||
1302 | return $this->Generation; |
||
1303 | } |
||
1304 | /** |
||
1305 | * Set Generation value |
||
1306 | * @param string $generation |
||
1307 | * @return \StructType\EwsContactItemType |
||
1308 | */ |
||
1309 | public function setGeneration(?string $generation = null): self |
||
1310 | { |
||
1311 | // validation for constraint: string |
||
1312 | if (!is_null($generation) && !is_string($generation)) { |
||
1313 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($generation, true), gettype($generation)), __LINE__); |
||
1314 | } |
||
1315 | $this->Generation = $generation; |
||
1316 | |||
1317 | return $this; |
||
1318 | } |
||
1319 | /** |
||
1320 | * Get ImAddresses value |
||
1321 | * @return \StructType\EwsImAddressDictionaryType|null |
||
1322 | */ |
||
1323 | public function getImAddresses(): ?\StructType\EwsImAddressDictionaryType |
||
1324 | { |
||
1325 | return $this->ImAddresses; |
||
1326 | } |
||
1327 | /** |
||
1328 | * Set ImAddresses value |
||
1329 | * @param \StructType\EwsImAddressDictionaryType $imAddresses |
||
1330 | * @return \StructType\EwsContactItemType |
||
1331 | */ |
||
1332 | public function setImAddresses(?\StructType\EwsImAddressDictionaryType $imAddresses = null): self |
||
1333 | { |
||
1334 | $this->ImAddresses = $imAddresses; |
||
1335 | |||
1336 | return $this; |
||
1337 | } |
||
1338 | /** |
||
1339 | * Get JobTitle value |
||
1340 | * @return string|null |
||
1341 | */ |
||
1342 | public function getJobTitle(): ?string |
||
1343 | { |
||
1344 | return $this->JobTitle; |
||
1345 | } |
||
1346 | /** |
||
1347 | * Set JobTitle value |
||
1348 | * @param string $jobTitle |
||
1349 | * @return \StructType\EwsContactItemType |
||
1350 | */ |
||
1351 | public function setJobTitle(?string $jobTitle = null): self |
||
1352 | { |
||
1353 | // validation for constraint: string |
||
1354 | if (!is_null($jobTitle) && !is_string($jobTitle)) { |
||
1355 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($jobTitle, true), gettype($jobTitle)), __LINE__); |
||
1356 | } |
||
1357 | $this->JobTitle = $jobTitle; |
||
1358 | |||
1359 | return $this; |
||
1360 | } |
||
1361 | /** |
||
1362 | * Get Manager value |
||
1363 | * @return string|null |
||
1364 | */ |
||
1365 | public function getManager(): ?string |
||
1366 | { |
||
1367 | return $this->Manager; |
||
1368 | } |
||
1369 | /** |
||
1370 | * Set Manager value |
||
1371 | * @param string $manager |
||
1372 | * @return \StructType\EwsContactItemType |
||
1373 | */ |
||
1374 | public function setManager(?string $manager = null): self |
||
1375 | { |
||
1376 | // validation for constraint: string |
||
1377 | if (!is_null($manager) && !is_string($manager)) { |
||
1378 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($manager, true), gettype($manager)), __LINE__); |
||
1379 | } |
||
1380 | $this->Manager = $manager; |
||
1381 | |||
1382 | return $this; |
||
1383 | } |
||
1384 | /** |
||
1385 | * Get Mileage value |
||
1386 | * @return string|null |
||
1387 | */ |
||
1388 | public function getMileage(): ?string |
||
1389 | { |
||
1390 | return $this->Mileage; |
||
1391 | } |
||
1392 | /** |
||
1393 | * Set Mileage value |
||
1394 | * @param string $mileage |
||
1395 | * @return \StructType\EwsContactItemType |
||
1396 | */ |
||
1397 | public function setMileage(?string $mileage = null): self |
||
1398 | { |
||
1399 | // validation for constraint: string |
||
1400 | if (!is_null($mileage) && !is_string($mileage)) { |
||
1401 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($mileage, true), gettype($mileage)), __LINE__); |
||
1402 | } |
||
1403 | $this->Mileage = $mileage; |
||
1404 | |||
1405 | return $this; |
||
1406 | } |
||
1407 | /** |
||
1408 | * Get OfficeLocation value |
||
1409 | * @return string|null |
||
1410 | */ |
||
1411 | public function getOfficeLocation(): ?string |
||
1412 | { |
||
1413 | return $this->OfficeLocation; |
||
1414 | } |
||
1415 | /** |
||
1416 | * Set OfficeLocation value |
||
1417 | * @param string $officeLocation |
||
1418 | * @return \StructType\EwsContactItemType |
||
1419 | */ |
||
1420 | public function setOfficeLocation(?string $officeLocation = null): self |
||
1421 | { |
||
1422 | // validation for constraint: string |
||
1423 | if (!is_null($officeLocation) && !is_string($officeLocation)) { |
||
1424 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($officeLocation, true), gettype($officeLocation)), __LINE__); |
||
1425 | } |
||
1426 | $this->OfficeLocation = $officeLocation; |
||
1427 | |||
1428 | return $this; |
||
1429 | } |
||
1430 | /** |
||
1431 | * Get PostalAddressIndex value |
||
1432 | * @return string|null |
||
1433 | */ |
||
1434 | public function getPostalAddressIndex(): ?string |
||
1435 | { |
||
1436 | return $this->PostalAddressIndex; |
||
1437 | } |
||
1438 | /** |
||
1439 | * Set PostalAddressIndex value |
||
1440 | * @uses \EnumType\EwsPhysicalAddressIndexType::valueIsValid() |
||
1441 | * @uses \EnumType\EwsPhysicalAddressIndexType::getValidValues() |
||
1442 | * @throws InvalidArgumentException |
||
1443 | * @param string $postalAddressIndex |
||
1444 | * @return \StructType\EwsContactItemType |
||
1445 | */ |
||
1446 | public function setPostalAddressIndex(?string $postalAddressIndex = null): self |
||
1447 | { |
||
1448 | // validation for constraint: enumeration |
||
1449 | if (!\EnumType\EwsPhysicalAddressIndexType::valueIsValid($postalAddressIndex)) { |
||
1450 | throw new InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\EwsPhysicalAddressIndexType', is_array($postalAddressIndex) ? implode(', ', $postalAddressIndex) : var_export($postalAddressIndex, true), implode(', ', \EnumType\EwsPhysicalAddressIndexType::getValidValues())), __LINE__); |
||
1451 | } |
||
1452 | $this->PostalAddressIndex = $postalAddressIndex; |
||
1453 | |||
1454 | return $this; |
||
1455 | } |
||
1456 | /** |
||
1457 | * Get Profession value |
||
1458 | * @return string|null |
||
1459 | */ |
||
1460 | public function getProfession(): ?string |
||
1461 | { |
||
1462 | return $this->Profession; |
||
1463 | } |
||
1464 | /** |
||
1465 | * Set Profession value |
||
1466 | * @param string $profession |
||
1467 | * @return \StructType\EwsContactItemType |
||
1468 | */ |
||
1469 | public function setProfession(?string $profession = null): self |
||
1470 | { |
||
1471 | // validation for constraint: string |
||
1472 | if (!is_null($profession) && !is_string($profession)) { |
||
1473 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($profession, true), gettype($profession)), __LINE__); |
||
1474 | } |
||
1475 | $this->Profession = $profession; |
||
1476 | |||
1477 | return $this; |
||
1478 | } |
||
1479 | /** |
||
1480 | * Get SpouseName value |
||
1481 | * @return string|null |
||
1482 | */ |
||
1483 | public function getSpouseName(): ?string |
||
1484 | { |
||
1485 | return $this->SpouseName; |
||
1486 | } |
||
1487 | /** |
||
1488 | * Set SpouseName value |
||
1489 | * @param string $spouseName |
||
1490 | * @return \StructType\EwsContactItemType |
||
1491 | */ |
||
1492 | public function setSpouseName(?string $spouseName = null): self |
||
1493 | { |
||
1494 | // validation for constraint: string |
||
1495 | if (!is_null($spouseName) && !is_string($spouseName)) { |
||
1496 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($spouseName, true), gettype($spouseName)), __LINE__); |
||
1497 | } |
||
1498 | $this->SpouseName = $spouseName; |
||
1499 | |||
1500 | return $this; |
||
1501 | } |
||
1502 | /** |
||
1503 | * Get Surname value |
||
1504 | * @return string|null |
||
1505 | */ |
||
1506 | public function getSurname(): ?string |
||
1507 | { |
||
1508 | return $this->Surname; |
||
1509 | } |
||
1510 | /** |
||
1511 | * Set Surname value |
||
1512 | * @param string $surname |
||
1513 | * @return \StructType\EwsContactItemType |
||
1514 | */ |
||
1515 | public function setSurname(?string $surname = null): self |
||
1516 | { |
||
1517 | // validation for constraint: string |
||
1518 | if (!is_null($surname) && !is_string($surname)) { |
||
1519 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($surname, true), gettype($surname)), __LINE__); |
||
1520 | } |
||
1521 | $this->Surname = $surname; |
||
1522 | |||
1523 | return $this; |
||
1524 | } |
||
1525 | /** |
||
1526 | * Get WeddingAnniversary value |
||
1527 | * @return string|null |
||
1528 | */ |
||
1529 | public function getWeddingAnniversary(): ?string |
||
1530 | { |
||
1531 | return $this->WeddingAnniversary; |
||
1532 | } |
||
1533 | /** |
||
1534 | * Set WeddingAnniversary value |
||
1535 | * @param string $weddingAnniversary |
||
1536 | * @return \StructType\EwsContactItemType |
||
1537 | */ |
||
1538 | public function setWeddingAnniversary(?string $weddingAnniversary = null): self |
||
1539 | { |
||
1540 | // validation for constraint: string |
||
1541 | if (!is_null($weddingAnniversary) && !is_string($weddingAnniversary)) { |
||
1542 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($weddingAnniversary, true), gettype($weddingAnniversary)), __LINE__); |
||
1543 | } |
||
1544 | $this->WeddingAnniversary = $weddingAnniversary; |
||
1545 | |||
1546 | return $this; |
||
1547 | } |
||
1548 | /** |
||
1549 | * Get HasPicture value |
||
1550 | * @return bool|null |
||
1551 | */ |
||
1552 | public function getHasPicture(): ?bool |
||
1553 | { |
||
1554 | return $this->HasPicture; |
||
1555 | } |
||
1556 | /** |
||
1557 | * Set HasPicture value |
||
1558 | * @param bool $hasPicture |
||
1559 | * @return \StructType\EwsContactItemType |
||
1560 | */ |
||
1561 | public function setHasPicture(?bool $hasPicture = null): self |
||
1562 | { |
||
1563 | // validation for constraint: boolean |
||
1564 | if (!is_null($hasPicture) && !is_bool($hasPicture)) { |
||
1565 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($hasPicture, true), gettype($hasPicture)), __LINE__); |
||
1566 | } |
||
1567 | $this->HasPicture = $hasPicture; |
||
1568 | |||
1569 | return $this; |
||
1570 | } |
||
1571 | /** |
||
1572 | * Get PhoneticFullName value |
||
1573 | * @return string|null |
||
1574 | */ |
||
1575 | public function getPhoneticFullName(): ?string |
||
1576 | { |
||
1577 | return $this->PhoneticFullName; |
||
1578 | } |
||
1579 | /** |
||
1580 | * Set PhoneticFullName value |
||
1581 | * @param string $phoneticFullName |
||
1582 | * @return \StructType\EwsContactItemType |
||
1583 | */ |
||
1584 | public function setPhoneticFullName(?string $phoneticFullName = null): self |
||
1585 | { |
||
1586 | // validation for constraint: string |
||
1587 | if (!is_null($phoneticFullName) && !is_string($phoneticFullName)) { |
||
1588 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($phoneticFullName, true), gettype($phoneticFullName)), __LINE__); |
||
1589 | } |
||
1590 | $this->PhoneticFullName = $phoneticFullName; |
||
1591 | |||
1592 | return $this; |
||
1593 | } |
||
1594 | /** |
||
1595 | * Get PhoneticFirstName value |
||
1596 | * @return string|null |
||
1597 | */ |
||
1598 | public function getPhoneticFirstName(): ?string |
||
1599 | { |
||
1600 | return $this->PhoneticFirstName; |
||
1601 | } |
||
1602 | /** |
||
1603 | * Set PhoneticFirstName value |
||
1604 | * @param string $phoneticFirstName |
||
1605 | * @return \StructType\EwsContactItemType |
||
1606 | */ |
||
1607 | public function setPhoneticFirstName(?string $phoneticFirstName = null): self |
||
1608 | { |
||
1609 | // validation for constraint: string |
||
1610 | if (!is_null($phoneticFirstName) && !is_string($phoneticFirstName)) { |
||
1611 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($phoneticFirstName, true), gettype($phoneticFirstName)), __LINE__); |
||
1612 | } |
||
1613 | $this->PhoneticFirstName = $phoneticFirstName; |
||
1614 | |||
1615 | return $this; |
||
1616 | } |
||
1617 | /** |
||
1618 | * Get PhoneticLastName value |
||
1619 | * @return string|null |
||
1620 | */ |
||
1621 | public function getPhoneticLastName(): ?string |
||
1622 | { |
||
1623 | return $this->PhoneticLastName; |
||
1624 | } |
||
1625 | /** |
||
1626 | * Set PhoneticLastName value |
||
1627 | * @param string $phoneticLastName |
||
1628 | * @return \StructType\EwsContactItemType |
||
1629 | */ |
||
1630 | public function setPhoneticLastName(?string $phoneticLastName = null): self |
||
1631 | { |
||
1632 | // validation for constraint: string |
||
1633 | if (!is_null($phoneticLastName) && !is_string($phoneticLastName)) { |
||
1634 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($phoneticLastName, true), gettype($phoneticLastName)), __LINE__); |
||
1635 | } |
||
1636 | $this->PhoneticLastName = $phoneticLastName; |
||
1637 | |||
1638 | return $this; |
||
1639 | } |
||
1640 | /** |
||
1641 | * Get Alias value |
||
1642 | * @return string|null |
||
1643 | */ |
||
1644 | public function getAlias(): ?string |
||
1645 | { |
||
1646 | return $this->Alias; |
||
1647 | } |
||
1648 | /** |
||
1649 | * Set Alias value |
||
1650 | * @param string $alias |
||
1651 | * @return \StructType\EwsContactItemType |
||
1652 | */ |
||
1653 | public function setAlias(?string $alias = null): self |
||
1654 | { |
||
1655 | // validation for constraint: string |
||
1656 | if (!is_null($alias) && !is_string($alias)) { |
||
1657 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($alias, true), gettype($alias)), __LINE__); |
||
1658 | } |
||
1659 | $this->Alias = $alias; |
||
1660 | |||
1661 | return $this; |
||
1662 | } |
||
1663 | /** |
||
1664 | * Get Notes value |
||
1665 | * @return string|null |
||
1666 | */ |
||
1667 | public function getNotes(): ?string |
||
1668 | { |
||
1669 | return $this->Notes; |
||
1670 | } |
||
1671 | /** |
||
1672 | * Set Notes value |
||
1673 | * @param string $notes |
||
1674 | * @return \StructType\EwsContactItemType |
||
1675 | */ |
||
1676 | public function setNotes(?string $notes = null): self |
||
1677 | { |
||
1678 | // validation for constraint: string |
||
1679 | if (!is_null($notes) && !is_string($notes)) { |
||
1680 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($notes, true), gettype($notes)), __LINE__); |
||
1681 | } |
||
1682 | $this->Notes = $notes; |
||
1683 | |||
1684 | return $this; |
||
1685 | } |
||
1686 | /** |
||
1687 | * Get Photo value |
||
1688 | * @return string|null |
||
1689 | */ |
||
1690 | public function getPhoto(): ?string |
||
1691 | { |
||
1692 | return $this->Photo; |
||
1693 | } |
||
1694 | /** |
||
1695 | * Set Photo value |
||
1696 | * @param string $photo |
||
1697 | * @return \StructType\EwsContactItemType |
||
1698 | */ |
||
1699 | public function setPhoto(?string $photo = null): self |
||
1700 | { |
||
1701 | // validation for constraint: string |
||
1702 | if (!is_null($photo) && !is_string($photo)) { |
||
1703 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($photo, true), gettype($photo)), __LINE__); |
||
1704 | } |
||
1705 | $this->Photo = $photo; |
||
1706 | |||
1707 | return $this; |
||
1708 | } |
||
1709 | /** |
||
1710 | * Get UserSMIMECertificate value |
||
1711 | * @return \ArrayType\EwsArrayOfBinaryType|null |
||
1712 | */ |
||
1713 | public function getUserSMIMECertificate(): ?\ArrayType\EwsArrayOfBinaryType |
||
1714 | { |
||
1715 | return $this->UserSMIMECertificate; |
||
1716 | } |
||
1717 | /** |
||
1718 | * Set UserSMIMECertificate value |
||
1719 | * @param \ArrayType\EwsArrayOfBinaryType $userSMIMECertificate |
||
1720 | * @return \StructType\EwsContactItemType |
||
1721 | */ |
||
1722 | public function setUserSMIMECertificate(?\ArrayType\EwsArrayOfBinaryType $userSMIMECertificate = null): self |
||
1723 | { |
||
1724 | $this->UserSMIMECertificate = $userSMIMECertificate; |
||
1725 | |||
1726 | return $this; |
||
1727 | } |
||
1728 | /** |
||
1729 | * Get MSExchangeCertificate value |
||
1730 | * @return \ArrayType\EwsArrayOfBinaryType|null |
||
1731 | */ |
||
1732 | public function getMSExchangeCertificate(): ?\ArrayType\EwsArrayOfBinaryType |
||
1733 | { |
||
1734 | return $this->MSExchangeCertificate; |
||
1735 | } |
||
1736 | /** |
||
1737 | * Set MSExchangeCertificate value |
||
1738 | * @param \ArrayType\EwsArrayOfBinaryType $mSExchangeCertificate |
||
1739 | * @return \StructType\EwsContactItemType |
||
1740 | */ |
||
1741 | public function setMSExchangeCertificate(?\ArrayType\EwsArrayOfBinaryType $mSExchangeCertificate = null): self |
||
1742 | { |
||
1743 | $this->MSExchangeCertificate = $mSExchangeCertificate; |
||
1744 | |||
1745 | return $this; |
||
1746 | } |
||
1747 | /** |
||
1748 | * Get DirectoryId value |
||
1749 | * @return string|null |
||
1750 | */ |
||
1751 | public function getDirectoryId(): ?string |
||
1752 | { |
||
1753 | return $this->DirectoryId; |
||
1754 | } |
||
1755 | /** |
||
1756 | * Set DirectoryId value |
||
1757 | * @param string $directoryId |
||
1758 | * @return \StructType\EwsContactItemType |
||
1759 | */ |
||
1760 | public function setDirectoryId(?string $directoryId = null): self |
||
1761 | { |
||
1762 | // validation for constraint: string |
||
1763 | if (!is_null($directoryId) && !is_string($directoryId)) { |
||
1764 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($directoryId, true), gettype($directoryId)), __LINE__); |
||
1765 | } |
||
1766 | $this->DirectoryId = $directoryId; |
||
1767 | |||
1768 | return $this; |
||
1769 | } |
||
1770 | /** |
||
1771 | * Get ManagerMailbox value |
||
1772 | * @return \StructType\EwsSingleRecipientType|null |
||
1773 | */ |
||
1774 | public function getManagerMailbox(): ?\StructType\EwsSingleRecipientType |
||
1775 | { |
||
1776 | return $this->ManagerMailbox; |
||
1777 | } |
||
1778 | /** |
||
1779 | * Set ManagerMailbox value |
||
1780 | * @param \StructType\EwsSingleRecipientType $managerMailbox |
||
1781 | * @return \StructType\EwsContactItemType |
||
1782 | */ |
||
1783 | public function setManagerMailbox(?\StructType\EwsSingleRecipientType $managerMailbox = null): self |
||
1784 | { |
||
1785 | $this->ManagerMailbox = $managerMailbox; |
||
1786 | |||
1787 | return $this; |
||
1788 | } |
||
1789 | /** |
||
1790 | * Get DirectReports value |
||
1791 | * @return \ArrayType\EwsArrayOfRecipientsType|null |
||
1792 | */ |
||
1793 | public function getDirectReports(): ?\ArrayType\EwsArrayOfRecipientsType |
||
1794 | { |
||
1795 | return $this->DirectReports; |
||
1796 | } |
||
1797 | /** |
||
1798 | * Set DirectReports value |
||
1799 | * @param \ArrayType\EwsArrayOfRecipientsType $directReports |
||
1800 | * @return \StructType\EwsContactItemType |
||
1801 | */ |
||
1802 | public function setDirectReports(?\ArrayType\EwsArrayOfRecipientsType $directReports = null): self |
||
1803 | { |
||
1804 | $this->DirectReports = $directReports; |
||
1805 | |||
1806 | return $this; |
||
1807 | } |
||
1808 | /** |
||
1809 | * Get AccountName value |
||
1810 | * @return string|null |
||
1811 | */ |
||
1812 | public function getAccountName(): ?string |
||
1813 | { |
||
1814 | return $this->AccountName; |
||
1815 | } |
||
1816 | /** |
||
1817 | * Set AccountName value |
||
1818 | * @param string $accountName |
||
1819 | * @return \StructType\EwsContactItemType |
||
1820 | */ |
||
1821 | public function setAccountName(?string $accountName = null): self |
||
1822 | { |
||
1823 | // validation for constraint: string |
||
1824 | if (!is_null($accountName) && !is_string($accountName)) { |
||
1825 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($accountName, true), gettype($accountName)), __LINE__); |
||
1826 | } |
||
1827 | $this->AccountName = $accountName; |
||
1828 | |||
1829 | return $this; |
||
1830 | } |
||
1831 | /** |
||
1832 | * Get IsAutoUpdateDisabled value |
||
1833 | * @return bool|null |
||
1834 | */ |
||
1835 | public function getIsAutoUpdateDisabled(): ?bool |
||
1836 | { |
||
1837 | return $this->IsAutoUpdateDisabled; |
||
1838 | } |
||
1839 | /** |
||
1840 | * Set IsAutoUpdateDisabled value |
||
1841 | * @param bool $isAutoUpdateDisabled |
||
1842 | * @return \StructType\EwsContactItemType |
||
1843 | */ |
||
1844 | public function setIsAutoUpdateDisabled(?bool $isAutoUpdateDisabled = null): self |
||
1845 | { |
||
1846 | // validation for constraint: boolean |
||
1847 | if (!is_null($isAutoUpdateDisabled) && !is_bool($isAutoUpdateDisabled)) { |
||
1848 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isAutoUpdateDisabled, true), gettype($isAutoUpdateDisabled)), __LINE__); |
||
1849 | } |
||
1850 | $this->IsAutoUpdateDisabled = $isAutoUpdateDisabled; |
||
1851 | |||
1852 | return $this; |
||
1853 | } |
||
1854 | /** |
||
1855 | * Get IsMessengerEnabled value |
||
1856 | * @return bool|null |
||
1857 | */ |
||
1858 | public function getIsMessengerEnabled(): ?bool |
||
1859 | { |
||
1860 | return $this->IsMessengerEnabled; |
||
1861 | } |
||
1862 | /** |
||
1863 | * Set IsMessengerEnabled value |
||
1864 | * @param bool $isMessengerEnabled |
||
1865 | * @return \StructType\EwsContactItemType |
||
1866 | */ |
||
1867 | public function setIsMessengerEnabled(?bool $isMessengerEnabled = null): self |
||
1868 | { |
||
1869 | // validation for constraint: boolean |
||
1870 | if (!is_null($isMessengerEnabled) && !is_bool($isMessengerEnabled)) { |
||
1871 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isMessengerEnabled, true), gettype($isMessengerEnabled)), __LINE__); |
||
1872 | } |
||
1873 | $this->IsMessengerEnabled = $isMessengerEnabled; |
||
1874 | |||
1875 | return $this; |
||
1876 | } |
||
1877 | /** |
||
1878 | * Get Comment value |
||
1879 | * @return string|null |
||
1880 | */ |
||
1881 | public function getComment(): ?string |
||
1882 | { |
||
1883 | return $this->Comment; |
||
1884 | } |
||
1885 | /** |
||
1886 | * Set Comment value |
||
1887 | * @param string $comment |
||
1888 | * @return \StructType\EwsContactItemType |
||
1889 | */ |
||
1890 | public function setComment(?string $comment = null): self |
||
1891 | { |
||
1892 | // validation for constraint: string |
||
1893 | if (!is_null($comment) && !is_string($comment)) { |
||
1894 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($comment, true), gettype($comment)), __LINE__); |
||
1895 | } |
||
1896 | $this->Comment = $comment; |
||
1897 | |||
1898 | return $this; |
||
1899 | } |
||
1900 | /** |
||
1901 | * Get ContactShortId value |
||
1902 | * @return int|null |
||
1903 | */ |
||
1904 | public function getContactShortId(): ?int |
||
1905 | { |
||
1906 | return $this->ContactShortId; |
||
1907 | } |
||
1908 | /** |
||
1909 | * Set ContactShortId value |
||
1910 | * @param int $contactShortId |
||
1911 | * @return \StructType\EwsContactItemType |
||
1912 | */ |
||
1913 | public function setContactShortId(?int $contactShortId = null): self |
||
1914 | { |
||
1915 | // validation for constraint: int |
||
1916 | if (!is_null($contactShortId) && !(is_int($contactShortId) || ctype_digit($contactShortId))) { |
||
1917 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($contactShortId, true), gettype($contactShortId)), __LINE__); |
||
1918 | } |
||
1919 | $this->ContactShortId = $contactShortId; |
||
1920 | |||
1921 | return $this; |
||
1922 | } |
||
1923 | /** |
||
1924 | * Get ContactType value |
||
1925 | * @return string|null |
||
1926 | */ |
||
1927 | public function getContactType(): ?string |
||
1928 | { |
||
1929 | return $this->ContactType; |
||
1930 | } |
||
1931 | /** |
||
1932 | * Set ContactType value |
||
1933 | * @param string $contactType |
||
1934 | * @return \StructType\EwsContactItemType |
||
1935 | */ |
||
1936 | public function setContactType(?string $contactType = null): self |
||
1937 | { |
||
1938 | // validation for constraint: string |
||
1939 | if (!is_null($contactType) && !is_string($contactType)) { |
||
1940 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($contactType, true), gettype($contactType)), __LINE__); |
||
1941 | } |
||
1942 | $this->ContactType = $contactType; |
||
1943 | |||
1944 | return $this; |
||
1945 | } |
||
1946 | /** |
||
1947 | * Get Gender value |
||
1948 | * @return string|null |
||
1949 | */ |
||
1950 | public function getGender(): ?string |
||
1951 | { |
||
1952 | return $this->Gender; |
||
1953 | } |
||
1954 | /** |
||
1955 | * Set Gender value |
||
1956 | * @param string $gender |
||
1957 | * @return \StructType\EwsContactItemType |
||
1958 | */ |
||
1959 | public function setGender(?string $gender = null): self |
||
1960 | { |
||
1961 | // validation for constraint: string |
||
1962 | if (!is_null($gender) && !is_string($gender)) { |
||
1963 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($gender, true), gettype($gender)), __LINE__); |
||
1964 | } |
||
1965 | $this->Gender = $gender; |
||
1966 | |||
1967 | return $this; |
||
1968 | } |
||
1969 | /** |
||
1970 | * Get IsHidden value |
||
1971 | * @return bool|null |
||
1972 | */ |
||
1973 | public function getIsHidden(): ?bool |
||
1974 | { |
||
1975 | return $this->IsHidden; |
||
1976 | } |
||
1977 | /** |
||
1978 | * Set IsHidden value |
||
1979 | * @param bool $isHidden |
||
1980 | * @return \StructType\EwsContactItemType |
||
1981 | */ |
||
1982 | public function setIsHidden(?bool $isHidden = null): self |
||
1983 | { |
||
1984 | // validation for constraint: boolean |
||
1985 | if (!is_null($isHidden) && !is_bool($isHidden)) { |
||
1986 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isHidden, true), gettype($isHidden)), __LINE__); |
||
1987 | } |
||
1988 | $this->IsHidden = $isHidden; |
||
1989 | |||
1990 | return $this; |
||
1991 | } |
||
1992 | /** |
||
1993 | * Get ObjectId value |
||
1994 | * @return string|null |
||
1995 | */ |
||
1996 | public function getObjectId(): ?string |
||
1997 | { |
||
1998 | return $this->ObjectId; |
||
1999 | } |
||
2000 | /** |
||
2001 | * Set ObjectId value |
||
2002 | * @param string $objectId |
||
2003 | * @return \StructType\EwsContactItemType |
||
2004 | */ |
||
2005 | public function setObjectId(?string $objectId = null): self |
||
2006 | { |
||
2007 | // validation for constraint: string |
||
2008 | if (!is_null($objectId) && !is_string($objectId)) { |
||
2009 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($objectId, true), gettype($objectId)), __LINE__); |
||
2010 | } |
||
2011 | $this->ObjectId = $objectId; |
||
2012 | |||
2013 | return $this; |
||
2014 | } |
||
2015 | /** |
||
2016 | * Get PassportId value |
||
2017 | * @return int|null |
||
2018 | */ |
||
2019 | public function getPassportId(): ?int |
||
2020 | { |
||
2021 | return $this->PassportId; |
||
2022 | } |
||
2023 | /** |
||
2024 | * Set PassportId value |
||
2025 | * @param int $passportId |
||
2026 | * @return \StructType\EwsContactItemType |
||
2027 | */ |
||
2028 | public function setPassportId(?int $passportId = null): self |
||
2029 | { |
||
2030 | // validation for constraint: int |
||
2031 | if (!is_null($passportId) && !(is_int($passportId) || ctype_digit($passportId))) { |
||
2032 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($passportId, true), gettype($passportId)), __LINE__); |
||
2033 | } |
||
2034 | $this->PassportId = $passportId; |
||
2035 | |||
2036 | return $this; |
||
2037 | } |
||
2038 | /** |
||
2039 | * Get IsPrivate value |
||
2040 | * @return bool|null |
||
2041 | */ |
||
2042 | public function getIsPrivate(): ?bool |
||
2043 | { |
||
2044 | return $this->IsPrivate; |
||
2045 | } |
||
2046 | /** |
||
2047 | * Set IsPrivate value |
||
2048 | * @param bool $isPrivate |
||
2049 | * @return \StructType\EwsContactItemType |
||
2050 | */ |
||
2051 | public function setIsPrivate(?bool $isPrivate = null): self |
||
2052 | { |
||
2053 | // validation for constraint: boolean |
||
2054 | if (!is_null($isPrivate) && !is_bool($isPrivate)) { |
||
2055 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isPrivate, true), gettype($isPrivate)), __LINE__); |
||
2056 | } |
||
2057 | $this->IsPrivate = $isPrivate; |
||
2058 | |||
2059 | return $this; |
||
2060 | } |
||
2061 | /** |
||
2062 | * Get SourceId value |
||
2063 | * @return string|null |
||
2064 | */ |
||
2065 | public function getSourceId(): ?string |
||
2066 | { |
||
2067 | return $this->SourceId; |
||
2068 | } |
||
2069 | /** |
||
2070 | * Set SourceId value |
||
2071 | * @param string $sourceId |
||
2072 | * @return \StructType\EwsContactItemType |
||
2073 | */ |
||
2074 | public function setSourceId(?string $sourceId = null): self |
||
2075 | { |
||
2076 | // validation for constraint: string |
||
2077 | if (!is_null($sourceId) && !is_string($sourceId)) { |
||
2078 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($sourceId, true), gettype($sourceId)), __LINE__); |
||
2079 | } |
||
2080 | $this->SourceId = $sourceId; |
||
2081 | |||
2082 | return $this; |
||
2083 | } |
||
2084 | /** |
||
2085 | * Get TrustLevel value |
||
2086 | * @return int|null |
||
2087 | */ |
||
2088 | public function getTrustLevel(): ?int |
||
2089 | { |
||
2090 | return $this->TrustLevel; |
||
2091 | } |
||
2092 | /** |
||
2093 | * Set TrustLevel value |
||
2094 | * @param int $trustLevel |
||
2095 | * @return \StructType\EwsContactItemType |
||
2096 | */ |
||
2097 | public function setTrustLevel(?int $trustLevel = null): self |
||
2098 | { |
||
2099 | // validation for constraint: int |
||
2100 | if (!is_null($trustLevel) && !(is_int($trustLevel) || ctype_digit($trustLevel))) { |
||
2101 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($trustLevel, true), gettype($trustLevel)), __LINE__); |
||
2102 | } |
||
2103 | $this->TrustLevel = $trustLevel; |
||
2104 | |||
2105 | return $this; |
||
2106 | } |
||
2107 | /** |
||
2108 | * Get CreatedBy value |
||
2109 | * @return string|null |
||
2110 | */ |
||
2111 | public function getCreatedBy(): ?string |
||
2112 | { |
||
2113 | return $this->CreatedBy; |
||
2114 | } |
||
2115 | /** |
||
2116 | * Set CreatedBy value |
||
2117 | * @param string $createdBy |
||
2118 | * @return \StructType\EwsContactItemType |
||
2119 | */ |
||
2120 | public function setCreatedBy(?string $createdBy = null): self |
||
2121 | { |
||
2122 | // validation for constraint: string |
||
2123 | if (!is_null($createdBy) && !is_string($createdBy)) { |
||
2124 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($createdBy, true), gettype($createdBy)), __LINE__); |
||
2125 | } |
||
2126 | $this->CreatedBy = $createdBy; |
||
2127 | |||
2128 | return $this; |
||
2129 | } |
||
2130 | /** |
||
2131 | * Get Urls value |
||
2132 | * @return \StructType\EwsContactUrlDictionaryType|null |
||
2133 | */ |
||
2134 | public function getUrls(): ?\StructType\EwsContactUrlDictionaryType |
||
2135 | { |
||
2136 | return $this->Urls; |
||
2137 | } |
||
2138 | /** |
||
2139 | * Set Urls value |
||
2140 | * @param \StructType\EwsContactUrlDictionaryType $urls |
||
2141 | * @return \StructType\EwsContactItemType |
||
2142 | */ |
||
2143 | public function setUrls(?\StructType\EwsContactUrlDictionaryType $urls = null): self |
||
2144 | { |
||
2145 | $this->Urls = $urls; |
||
2146 | |||
2147 | return $this; |
||
2148 | } |
||
2149 | /** |
||
2150 | * Get Cid value |
||
2151 | * @return int|null |
||
2152 | */ |
||
2153 | public function getCid(): ?int |
||
2154 | { |
||
2155 | return $this->Cid; |
||
2156 | } |
||
2157 | /** |
||
2158 | * Set Cid value |
||
2159 | * @param int $cid |
||
2160 | * @return \StructType\EwsContactItemType |
||
2161 | */ |
||
2162 | public function setCid(?int $cid = null): self |
||
2163 | { |
||
2164 | // validation for constraint: int |
||
2165 | if (!is_null($cid) && !(is_int($cid) || ctype_digit($cid))) { |
||
2166 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($cid, true), gettype($cid)), __LINE__); |
||
2167 | } |
||
2168 | $this->Cid = $cid; |
||
2169 | |||
2170 | return $this; |
||
2171 | } |
||
2172 | /** |
||
2173 | * Get SkypeAuthCertificate value |
||
2174 | * @return string|null |
||
2175 | */ |
||
2176 | public function getSkypeAuthCertificate(): ?string |
||
2177 | { |
||
2178 | return $this->SkypeAuthCertificate; |
||
2179 | } |
||
2180 | /** |
||
2181 | * Set SkypeAuthCertificate value |
||
2182 | * @param string $skypeAuthCertificate |
||
2183 | * @return \StructType\EwsContactItemType |
||
2184 | */ |
||
2185 | public function setSkypeAuthCertificate(?string $skypeAuthCertificate = null): self |
||
2186 | { |
||
2187 | // validation for constraint: string |
||
2188 | if (!is_null($skypeAuthCertificate) && !is_string($skypeAuthCertificate)) { |
||
2189 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($skypeAuthCertificate, true), gettype($skypeAuthCertificate)), __LINE__); |
||
2190 | } |
||
2191 | $this->SkypeAuthCertificate = $skypeAuthCertificate; |
||
2192 | |||
2193 | return $this; |
||
2194 | } |
||
2195 | /** |
||
2196 | * Get SkypeContext value |
||
2197 | * @return string|null |
||
2198 | */ |
||
2199 | public function getSkypeContext(): ?string |
||
2200 | { |
||
2201 | return $this->SkypeContext; |
||
2202 | } |
||
2203 | /** |
||
2204 | * Set SkypeContext value |
||
2205 | * @param string $skypeContext |
||
2206 | * @return \StructType\EwsContactItemType |
||
2207 | */ |
||
2208 | public function setSkypeContext(?string $skypeContext = null): self |
||
2209 | { |
||
2210 | // validation for constraint: string |
||
2211 | if (!is_null($skypeContext) && !is_string($skypeContext)) { |
||
2212 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($skypeContext, true), gettype($skypeContext)), __LINE__); |
||
2213 | } |
||
2214 | $this->SkypeContext = $skypeContext; |
||
2215 | |||
2216 | return $this; |
||
2217 | } |
||
2218 | /** |
||
2219 | * Get SkypeId value |
||
2220 | * @return string|null |
||
2221 | */ |
||
2222 | public function getSkypeId(): ?string |
||
2223 | { |
||
2224 | return $this->SkypeId; |
||
2225 | } |
||
2226 | /** |
||
2227 | * Set SkypeId value |
||
2228 | * @param string $skypeId |
||
2229 | * @return \StructType\EwsContactItemType |
||
2230 | */ |
||
2231 | public function setSkypeId(?string $skypeId = null): self |
||
2232 | { |
||
2233 | // validation for constraint: string |
||
2234 | if (!is_null($skypeId) && !is_string($skypeId)) { |
||
2235 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($skypeId, true), gettype($skypeId)), __LINE__); |
||
2236 | } |
||
2237 | $this->SkypeId = $skypeId; |
||
2238 | |||
2239 | return $this; |
||
2240 | } |
||
2241 | /** |
||
2242 | * Get SkypeRelationship value |
||
2243 | * @return string|null |
||
2244 | */ |
||
2245 | public function getSkypeRelationship(): ?string |
||
2246 | { |
||
2247 | return $this->SkypeRelationship; |
||
2248 | } |
||
2249 | /** |
||
2250 | * Set SkypeRelationship value |
||
2251 | * @param string $skypeRelationship |
||
2252 | * @return \StructType\EwsContactItemType |
||
2253 | */ |
||
2254 | public function setSkypeRelationship(?string $skypeRelationship = null): self |
||
2255 | { |
||
2256 | // validation for constraint: string |
||
2257 | if (!is_null($skypeRelationship) && !is_string($skypeRelationship)) { |
||
2258 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($skypeRelationship, true), gettype($skypeRelationship)), __LINE__); |
||
2259 | } |
||
2260 | $this->SkypeRelationship = $skypeRelationship; |
||
2261 | |||
2262 | return $this; |
||
2263 | } |
||
2264 | /** |
||
2265 | * Get YomiNickname value |
||
2266 | * @return string|null |
||
2267 | */ |
||
2268 | public function getYomiNickname(): ?string |
||
2269 | { |
||
2270 | return $this->YomiNickname; |
||
2271 | } |
||
2272 | /** |
||
2273 | * Set YomiNickname value |
||
2274 | * @param string $yomiNickname |
||
2275 | * @return \StructType\EwsContactItemType |
||
2276 | */ |
||
2277 | public function setYomiNickname(?string $yomiNickname = null): self |
||
2278 | { |
||
2279 | // validation for constraint: string |
||
2280 | if (!is_null($yomiNickname) && !is_string($yomiNickname)) { |
||
2281 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($yomiNickname, true), gettype($yomiNickname)), __LINE__); |
||
2282 | } |
||
2283 | $this->YomiNickname = $yomiNickname; |
||
2284 | |||
2285 | return $this; |
||
2286 | } |
||
2287 | /** |
||
2288 | * Get XboxLiveTag value |
||
2289 | * @return string|null |
||
2290 | */ |
||
2291 | public function getXboxLiveTag(): ?string |
||
2292 | { |
||
2293 | return $this->XboxLiveTag; |
||
2294 | } |
||
2295 | /** |
||
2296 | * Set XboxLiveTag value |
||
2297 | * @param string $xboxLiveTag |
||
2298 | * @return \StructType\EwsContactItemType |
||
2299 | */ |
||
2300 | public function setXboxLiveTag(?string $xboxLiveTag = null): self |
||
2301 | { |
||
2302 | // validation for constraint: string |
||
2303 | if (!is_null($xboxLiveTag) && !is_string($xboxLiveTag)) { |
||
2304 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($xboxLiveTag, true), gettype($xboxLiveTag)), __LINE__); |
||
2305 | } |
||
2306 | $this->XboxLiveTag = $xboxLiveTag; |
||
2307 | |||
2308 | return $this; |
||
2309 | } |
||
2310 | /** |
||
2311 | * Get InviteFree value |
||
2312 | * @return bool|null |
||
2313 | */ |
||
2314 | public function getInviteFree(): ?bool |
||
2315 | { |
||
2316 | return $this->InviteFree; |
||
2317 | } |
||
2318 | /** |
||
2319 | * Set InviteFree value |
||
2320 | * @param bool $inviteFree |
||
2321 | * @return \StructType\EwsContactItemType |
||
2322 | */ |
||
2323 | public function setInviteFree(?bool $inviteFree = null): self |
||
2324 | { |
||
2325 | // validation for constraint: boolean |
||
2326 | if (!is_null($inviteFree) && !is_bool($inviteFree)) { |
||
2327 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($inviteFree, true), gettype($inviteFree)), __LINE__); |
||
2328 | } |
||
2329 | $this->InviteFree = $inviteFree; |
||
2330 | |||
2331 | return $this; |
||
2332 | } |
||
2333 | /** |
||
2334 | * Get HidePresenceAndProfile value |
||
2335 | * @return bool|null |
||
2336 | */ |
||
2337 | public function getHidePresenceAndProfile(): ?bool |
||
2338 | { |
||
2339 | return $this->HidePresenceAndProfile; |
||
2340 | } |
||
2341 | /** |
||
2342 | * Set HidePresenceAndProfile value |
||
2343 | * @param bool $hidePresenceAndProfile |
||
2344 | * @return \StructType\EwsContactItemType |
||
2345 | */ |
||
2346 | public function setHidePresenceAndProfile(?bool $hidePresenceAndProfile = null): self |
||
2347 | { |
||
2348 | // validation for constraint: boolean |
||
2349 | if (!is_null($hidePresenceAndProfile) && !is_bool($hidePresenceAndProfile)) { |
||
2350 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($hidePresenceAndProfile, true), gettype($hidePresenceAndProfile)), __LINE__); |
||
2351 | } |
||
2352 | $this->HidePresenceAndProfile = $hidePresenceAndProfile; |
||
2353 | |||
2354 | return $this; |
||
2355 | } |
||
2356 | /** |
||
2357 | * Get IsPendingOutbound value |
||
2358 | * @return bool|null |
||
2359 | */ |
||
2360 | public function getIsPendingOutbound(): ?bool |
||
2361 | { |
||
2362 | return $this->IsPendingOutbound; |
||
2363 | } |
||
2364 | /** |
||
2365 | * Set IsPendingOutbound value |
||
2366 | * @param bool $isPendingOutbound |
||
2367 | * @return \StructType\EwsContactItemType |
||
2368 | */ |
||
2369 | public function setIsPendingOutbound(?bool $isPendingOutbound = null): self |
||
2370 | { |
||
2371 | // validation for constraint: boolean |
||
2372 | if (!is_null($isPendingOutbound) && !is_bool($isPendingOutbound)) { |
||
2373 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isPendingOutbound, true), gettype($isPendingOutbound)), __LINE__); |
||
2374 | } |
||
2375 | $this->IsPendingOutbound = $isPendingOutbound; |
||
2376 | |||
2377 | return $this; |
||
2378 | } |
||
2379 | /** |
||
2380 | * Get SupportGroupFeeds value |
||
2381 | * @return bool|null |
||
2382 | */ |
||
2383 | public function getSupportGroupFeeds(): ?bool |
||
2384 | { |
||
2385 | return $this->SupportGroupFeeds; |
||
2386 | } |
||
2387 | /** |
||
2388 | * Set SupportGroupFeeds value |
||
2389 | * @param bool $supportGroupFeeds |
||
2390 | * @return \StructType\EwsContactItemType |
||
2391 | */ |
||
2392 | public function setSupportGroupFeeds(?bool $supportGroupFeeds = null): self |
||
2393 | { |
||
2394 | // validation for constraint: boolean |
||
2395 | if (!is_null($supportGroupFeeds) && !is_bool($supportGroupFeeds)) { |
||
2396 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($supportGroupFeeds, true), gettype($supportGroupFeeds)), __LINE__); |
||
2397 | } |
||
2398 | $this->SupportGroupFeeds = $supportGroupFeeds; |
||
2399 | |||
2400 | return $this; |
||
2401 | } |
||
2402 | /** |
||
2403 | * Get UserTileHash value |
||
2404 | * @return string|null |
||
2405 | */ |
||
2406 | public function getUserTileHash(): ?string |
||
2407 | { |
||
2408 | return $this->UserTileHash; |
||
2409 | } |
||
2410 | /** |
||
2411 | * Set UserTileHash value |
||
2412 | * @param string $userTileHash |
||
2413 | * @return \StructType\EwsContactItemType |
||
2414 | */ |
||
2415 | public function setUserTileHash(?string $userTileHash = null): self |
||
2416 | { |
||
2417 | // validation for constraint: string |
||
2418 | if (!is_null($userTileHash) && !is_string($userTileHash)) { |
||
2419 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($userTileHash, true), gettype($userTileHash)), __LINE__); |
||
2420 | } |
||
2421 | $this->UserTileHash = $userTileHash; |
||
2422 | |||
2423 | return $this; |
||
2424 | } |
||
2425 | /** |
||
2426 | * Get UnifiedInbox value |
||
2427 | * @return bool|null |
||
2428 | */ |
||
2429 | public function getUnifiedInbox(): ?bool |
||
2430 | { |
||
2431 | return $this->UnifiedInbox; |
||
2432 | } |
||
2433 | /** |
||
2434 | * Set UnifiedInbox value |
||
2435 | * @param bool $unifiedInbox |
||
2436 | * @return \StructType\EwsContactItemType |
||
2437 | */ |
||
2438 | public function setUnifiedInbox(?bool $unifiedInbox = null): self |
||
2439 | { |
||
2440 | // validation for constraint: boolean |
||
2441 | if (!is_null($unifiedInbox) && !is_bool($unifiedInbox)) { |
||
2442 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($unifiedInbox, true), gettype($unifiedInbox)), __LINE__); |
||
2443 | } |
||
2444 | $this->UnifiedInbox = $unifiedInbox; |
||
2445 | |||
2446 | return $this; |
||
2447 | } |
||
2448 | /** |
||
2449 | * Get Mris value |
||
2450 | * @return \ArrayType\EwsArrayOfStringsType|null |
||
2451 | */ |
||
2452 | public function getMris(): ?\ArrayType\EwsArrayOfStringsType |
||
2453 | { |
||
2454 | return $this->Mris; |
||
2455 | } |
||
2456 | /** |
||
2457 | * Set Mris value |
||
2458 | * @param \ArrayType\EwsArrayOfStringsType $mris |
||
2459 | * @return \StructType\EwsContactItemType |
||
2460 | */ |
||
2461 | public function setMris(?\ArrayType\EwsArrayOfStringsType $mris = null): self |
||
2462 | { |
||
2463 | $this->Mris = $mris; |
||
2464 | |||
2465 | return $this; |
||
2466 | } |
||
2467 | /** |
||
2468 | * Get Wlid value |
||
2469 | * @return string|null |
||
2470 | */ |
||
2471 | public function getWlid(): ?string |
||
2472 | { |
||
2473 | return $this->Wlid; |
||
2474 | } |
||
2475 | /** |
||
2476 | * Set Wlid value |
||
2477 | * @param string $wlid |
||
2478 | * @return \StructType\EwsContactItemType |
||
2479 | */ |
||
2480 | public function setWlid(?string $wlid = null): self |
||
2481 | { |
||
2482 | // validation for constraint: string |
||
2483 | if (!is_null($wlid) && !is_string($wlid)) { |
||
2484 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($wlid, true), gettype($wlid)), __LINE__); |
||
2485 | } |
||
2486 | $this->Wlid = $wlid; |
||
2487 | |||
2488 | return $this; |
||
2489 | } |
||
2490 | /** |
||
2491 | * Get AbchContactId value |
||
2492 | * @return string|null |
||
2493 | */ |
||
2494 | public function getAbchContactId(): ?string |
||
2495 | { |
||
2496 | return $this->AbchContactId; |
||
2497 | } |
||
2498 | /** |
||
2499 | * Set AbchContactId value |
||
2500 | * @param string $abchContactId |
||
2501 | * @return \StructType\EwsContactItemType |
||
2502 | */ |
||
2503 | public function setAbchContactId(?string $abchContactId = null): self |
||
2504 | { |
||
2505 | // validation for constraint: string |
||
2506 | if (!is_null($abchContactId) && !is_string($abchContactId)) { |
||
2507 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($abchContactId, true), gettype($abchContactId)), __LINE__); |
||
2508 | } |
||
2509 | // validation for constraint: pattern([0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}) |
||
2510 | if (!is_null($abchContactId) && !preg_match('/[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}/', $abchContactId)) { |
||
2511 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a literal that is among the set of character sequences denoted by the regular expression /[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}/', var_export($abchContactId, true)), __LINE__); |
||
2512 | } |
||
2513 | $this->AbchContactId = $abchContactId; |
||
2514 | |||
2515 | return $this; |
||
2516 | } |
||
2517 | /** |
||
2518 | * Get NotInBirthdayCalendar value |
||
2519 | * @return bool|null |
||
2520 | */ |
||
2521 | public function getNotInBirthdayCalendar(): ?bool |
||
2522 | { |
||
2523 | return $this->NotInBirthdayCalendar; |
||
2524 | } |
||
2525 | /** |
||
2526 | * Set NotInBirthdayCalendar value |
||
2527 | * @param bool $notInBirthdayCalendar |
||
2528 | * @return \StructType\EwsContactItemType |
||
2529 | */ |
||
2530 | public function setNotInBirthdayCalendar(?bool $notInBirthdayCalendar = null): self |
||
2531 | { |
||
2532 | // validation for constraint: boolean |
||
2533 | if (!is_null($notInBirthdayCalendar) && !is_bool($notInBirthdayCalendar)) { |
||
2534 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($notInBirthdayCalendar, true), gettype($notInBirthdayCalendar)), __LINE__); |
||
2535 | } |
||
2536 | $this->NotInBirthdayCalendar = $notInBirthdayCalendar; |
||
2537 | |||
2538 | return $this; |
||
2539 | } |
||
2540 | /** |
||
2541 | * Get ShellContactType value |
||
2542 | * @return string|null |
||
2543 | */ |
||
2544 | public function getShellContactType(): ?string |
||
2545 | { |
||
2546 | return $this->ShellContactType; |
||
2547 | } |
||
2548 | /** |
||
2549 | * Set ShellContactType value |
||
2550 | * @param string $shellContactType |
||
2551 | * @return \StructType\EwsContactItemType |
||
2552 | */ |
||
2553 | public function setShellContactType(?string $shellContactType = null): self |
||
2554 | { |
||
2555 | // validation for constraint: string |
||
2556 | if (!is_null($shellContactType) && !is_string($shellContactType)) { |
||
2557 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($shellContactType, true), gettype($shellContactType)), __LINE__); |
||
2558 | } |
||
2559 | $this->ShellContactType = $shellContactType; |
||
2560 | |||
2561 | return $this; |
||
2562 | } |
||
2563 | /** |
||
2564 | * Get ImMri value |
||
2565 | * @return string|null |
||
2566 | */ |
||
2567 | public function getImMri(): ?string |
||
2568 | { |
||
2569 | return $this->ImMri; |
||
2570 | } |
||
2571 | /** |
||
2572 | * Set ImMri value |
||
2573 | * @param string $imMri |
||
2574 | * @return \StructType\EwsContactItemType |
||
2575 | */ |
||
2576 | public function setImMri(?string $imMri = null): self |
||
2577 | { |
||
2578 | // validation for constraint: string |
||
2579 | if (!is_null($imMri) && !is_string($imMri)) { |
||
2580 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($imMri, true), gettype($imMri)), __LINE__); |
||
2581 | } |
||
2582 | $this->ImMri = $imMri; |
||
2583 | |||
2584 | return $this; |
||
2585 | } |
||
2586 | /** |
||
2587 | * Get PresenceTrustLevel value |
||
2588 | * @return int|null |
||
2589 | */ |
||
2590 | public function getPresenceTrustLevel(): ?int |
||
2591 | { |
||
2592 | return $this->PresenceTrustLevel; |
||
2593 | } |
||
2594 | /** |
||
2595 | * Set PresenceTrustLevel value |
||
2596 | * @param int $presenceTrustLevel |
||
2597 | * @return \StructType\EwsContactItemType |
||
2598 | */ |
||
2599 | public function setPresenceTrustLevel(?int $presenceTrustLevel = null): self |
||
2600 | { |
||
2601 | // validation for constraint: int |
||
2602 | if (!is_null($presenceTrustLevel) && !(is_int($presenceTrustLevel) || ctype_digit($presenceTrustLevel))) { |
||
2603 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($presenceTrustLevel, true), gettype($presenceTrustLevel)), __LINE__); |
||
2604 | } |
||
2605 | $this->PresenceTrustLevel = $presenceTrustLevel; |
||
2606 | |||
2607 | return $this; |
||
2608 | } |
||
2609 | /** |
||
2610 | * Get OtherMri value |
||
2611 | * @return string|null |
||
2612 | */ |
||
2613 | public function getOtherMri(): ?string |
||
2614 | { |
||
2615 | return $this->OtherMri; |
||
2616 | } |
||
2617 | /** |
||
2618 | * Set OtherMri value |
||
2619 | * @param string $otherMri |
||
2620 | * @return \StructType\EwsContactItemType |
||
2621 | */ |
||
2622 | public function setOtherMri(?string $otherMri = null): self |
||
2623 | { |
||
2624 | // validation for constraint: string |
||
2625 | if (!is_null($otherMri) && !is_string($otherMri)) { |
||
2626 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($otherMri, true), gettype($otherMri)), __LINE__); |
||
2627 | } |
||
2628 | $this->OtherMri = $otherMri; |
||
2629 | |||
2630 | return $this; |
||
2631 | } |
||
2632 | /** |
||
2633 | * Get ProfileLastChanged value |
||
2634 | * @return string|null |
||
2635 | */ |
||
2636 | public function getProfileLastChanged(): ?string |
||
2637 | { |
||
2638 | return $this->ProfileLastChanged; |
||
2639 | } |
||
2640 | /** |
||
2641 | * Set ProfileLastChanged value |
||
2642 | * @param string $profileLastChanged |
||
2643 | * @return \StructType\EwsContactItemType |
||
2644 | */ |
||
2645 | public function setProfileLastChanged(?string $profileLastChanged = null): self |
||
2646 | { |
||
2647 | // validation for constraint: string |
||
2648 | if (!is_null($profileLastChanged) && !is_string($profileLastChanged)) { |
||
2649 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($profileLastChanged, true), gettype($profileLastChanged)), __LINE__); |
||
2650 | } |
||
2651 | $this->ProfileLastChanged = $profileLastChanged; |
||
2652 | |||
2653 | return $this; |
||
2654 | } |
||
2655 | /** |
||
2656 | * Get MobileIMEnabled value |
||
2657 | * @return bool|null |
||
2658 | */ |
||
2659 | public function getMobileIMEnabled(): ?bool |
||
2662 | } |
||
2663 | /** |
||
2664 | * Set MobileIMEnabled value |
||
2665 | * @param bool $mobileIMEnabled |
||
2666 | * @return \StructType\EwsContactItemType |
||
2667 | */ |
||
2668 | public function setMobileIMEnabled(?bool $mobileIMEnabled = null): self |
||
2669 | { |
||
2670 | // validation for constraint: boolean |
||
2671 | if (!is_null($mobileIMEnabled) && !is_bool($mobileIMEnabled)) { |
||
2672 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($mobileIMEnabled, true), gettype($mobileIMEnabled)), __LINE__); |
||
2673 | } |
||
2674 | $this->MobileIMEnabled = $mobileIMEnabled; |
||
2675 | |||
2676 | return $this; |
||
2677 | } |
||
2678 | /** |
||
2679 | * Get PartnerNetworkProfilePhotoUrl value |
||
2680 | * @return string|null |
||
2681 | */ |
||
2682 | public function getPartnerNetworkProfilePhotoUrl(): ?string |
||
2683 | { |
||
2684 | return $this->PartnerNetworkProfilePhotoUrl; |
||
2685 | } |
||
2686 | /** |
||
2687 | * Set PartnerNetworkProfilePhotoUrl value |
||
2688 | * @param string $partnerNetworkProfilePhotoUrl |
||
2689 | * @return \StructType\EwsContactItemType |
||
2690 | */ |
||
2691 | public function setPartnerNetworkProfilePhotoUrl(?string $partnerNetworkProfilePhotoUrl = null): self |
||
2692 | { |
||
2693 | // validation for constraint: string |
||
2694 | if (!is_null($partnerNetworkProfilePhotoUrl) && !is_string($partnerNetworkProfilePhotoUrl)) { |
||
2695 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($partnerNetworkProfilePhotoUrl, true), gettype($partnerNetworkProfilePhotoUrl)), __LINE__); |
||
2696 | } |
||
2697 | $this->PartnerNetworkProfilePhotoUrl = $partnerNetworkProfilePhotoUrl; |
||
2698 | |||
2699 | return $this; |
||
2700 | } |
||
2701 | /** |
||
2702 | * Get PartnerNetworkThumbnailPhotoUrl value |
||
2703 | * @return string|null |
||
2704 | */ |
||
2705 | public function getPartnerNetworkThumbnailPhotoUrl(): ?string |
||
2706 | { |
||
2707 | return $this->PartnerNetworkThumbnailPhotoUrl; |
||
2708 | } |
||
2709 | /** |
||
2710 | * Set PartnerNetworkThumbnailPhotoUrl value |
||
2711 | * @param string $partnerNetworkThumbnailPhotoUrl |
||
2712 | * @return \StructType\EwsContactItemType |
||
2713 | */ |
||
2714 | public function setPartnerNetworkThumbnailPhotoUrl(?string $partnerNetworkThumbnailPhotoUrl = null): self |
||
2723 | } |
||
2724 | } |
||
2725 |