Total Complexity | 184 |
Total Lines | 1709 |
Duplicated Lines | 0 % |
Changes | 0 |
Complex classes like EwsCalendarItemType 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 EwsCalendarItemType, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
16 | class EwsCalendarItemType extends EwsItemType |
||
17 | { |
||
18 | /** |
||
19 | * The UID |
||
20 | * Meta information extracted from the WSDL |
||
21 | * - minOccurs: 0 |
||
22 | * @var string|null |
||
23 | */ |
||
24 | protected ?string $UID = null; |
||
25 | /** |
||
26 | * The RecurrenceId |
||
27 | * Meta information extracted from the WSDL |
||
28 | * - minOccurs: 0 |
||
29 | * @var string|null |
||
30 | */ |
||
31 | protected ?string $RecurrenceId = null; |
||
32 | /** |
||
33 | * The DateTimeStamp |
||
34 | * Meta information extracted from the WSDL |
||
35 | * - minOccurs: 0 |
||
36 | * @var string|null |
||
37 | */ |
||
38 | protected ?string $DateTimeStamp = null; |
||
39 | /** |
||
40 | * The Start |
||
41 | * Meta information extracted from the WSDL |
||
42 | * - minOccurs: 0 |
||
43 | * @var string|null |
||
44 | */ |
||
45 | protected ?string $Start = null; |
||
46 | /** |
||
47 | * The End |
||
48 | * Meta information extracted from the WSDL |
||
49 | * - minOccurs: 0 |
||
50 | * @var string|null |
||
51 | */ |
||
52 | protected ?string $End = null; |
||
53 | /** |
||
54 | * The OriginalStart |
||
55 | * Meta information extracted from the WSDL |
||
56 | * - minOccurs: 0 |
||
57 | * @var string|null |
||
58 | */ |
||
59 | protected ?string $OriginalStart = null; |
||
60 | /** |
||
61 | * The IsAllDayEvent |
||
62 | * Meta information extracted from the WSDL |
||
63 | * - minOccurs: 0 |
||
64 | * @var bool|null |
||
65 | */ |
||
66 | protected ?bool $IsAllDayEvent = null; |
||
67 | /** |
||
68 | * The LegacyFreeBusyStatus |
||
69 | * Meta information extracted from the WSDL |
||
70 | * - minOccurs: 0 |
||
71 | * @var string|null |
||
72 | */ |
||
73 | protected ?string $LegacyFreeBusyStatus = null; |
||
74 | /** |
||
75 | * The Location |
||
76 | * Meta information extracted from the WSDL |
||
77 | * - minOccurs: 0 |
||
78 | * @var string|null |
||
79 | */ |
||
80 | protected ?string $Location = null; |
||
81 | /** |
||
82 | * The When |
||
83 | * Meta information extracted from the WSDL |
||
84 | * - minOccurs: 0 |
||
85 | * @var string|null |
||
86 | */ |
||
87 | protected ?string $When = null; |
||
88 | /** |
||
89 | * The IsMeeting |
||
90 | * Meta information extracted from the WSDL |
||
91 | * - minOccurs: 0 |
||
92 | * @var bool|null |
||
93 | */ |
||
94 | protected ?bool $IsMeeting = null; |
||
95 | /** |
||
96 | * The IsCancelled |
||
97 | * Meta information extracted from the WSDL |
||
98 | * - minOccurs: 0 |
||
99 | * @var bool|null |
||
100 | */ |
||
101 | protected ?bool $IsCancelled = null; |
||
102 | /** |
||
103 | * The IsRecurring |
||
104 | * Meta information extracted from the WSDL |
||
105 | * - minOccurs: 0 |
||
106 | * @var bool|null |
||
107 | */ |
||
108 | protected ?bool $IsRecurring = null; |
||
109 | /** |
||
110 | * The MeetingRequestWasSent |
||
111 | * Meta information extracted from the WSDL |
||
112 | * - minOccurs: 0 |
||
113 | * @var bool|null |
||
114 | */ |
||
115 | protected ?bool $MeetingRequestWasSent = null; |
||
116 | /** |
||
117 | * The IsResponseRequested |
||
118 | * Meta information extracted from the WSDL |
||
119 | * - minOccurs: 0 |
||
120 | * @var bool|null |
||
121 | */ |
||
122 | protected ?bool $IsResponseRequested = null; |
||
123 | /** |
||
124 | * The CalendarItemType |
||
125 | * Meta information extracted from the WSDL |
||
126 | * - minOccurs: 0 |
||
127 | * @var string|null |
||
128 | */ |
||
129 | protected ?string $CalendarItemType = null; |
||
130 | /** |
||
131 | * The MyResponseType |
||
132 | * Meta information extracted from the WSDL |
||
133 | * - minOccurs: 0 |
||
134 | * @var string|null |
||
135 | */ |
||
136 | protected ?string $MyResponseType = null; |
||
137 | /** |
||
138 | * The Organizer |
||
139 | * Meta information extracted from the WSDL |
||
140 | * - minOccurs: 0 |
||
141 | * @var \StructType\EwsSingleRecipientType|null |
||
142 | */ |
||
143 | protected ?\StructType\EwsSingleRecipientType $Organizer = null; |
||
144 | /** |
||
145 | * The RequiredAttendees |
||
146 | * Meta information extracted from the WSDL |
||
147 | * - minOccurs: 0 |
||
148 | * @var \ArrayType\EwsNonEmptyArrayOfAttendeesType|null |
||
149 | */ |
||
150 | protected ?\ArrayType\EwsNonEmptyArrayOfAttendeesType $RequiredAttendees = null; |
||
151 | /** |
||
152 | * The OptionalAttendees |
||
153 | * Meta information extracted from the WSDL |
||
154 | * - minOccurs: 0 |
||
155 | * @var \ArrayType\EwsNonEmptyArrayOfAttendeesType|null |
||
156 | */ |
||
157 | protected ?\ArrayType\EwsNonEmptyArrayOfAttendeesType $OptionalAttendees = null; |
||
158 | /** |
||
159 | * The Resources |
||
160 | * Meta information extracted from the WSDL |
||
161 | * - minOccurs: 0 |
||
162 | * @var \ArrayType\EwsNonEmptyArrayOfAttendeesType|null |
||
163 | */ |
||
164 | protected ?\ArrayType\EwsNonEmptyArrayOfAttendeesType $Resources = null; |
||
165 | /** |
||
166 | * The InboxReminders |
||
167 | * Meta information extracted from the WSDL |
||
168 | * - minOccurs: 0 |
||
169 | * @var \ArrayType\EwsArrayOfInboxReminderType|null |
||
170 | */ |
||
171 | protected ?\ArrayType\EwsArrayOfInboxReminderType $InboxReminders = null; |
||
172 | /** |
||
173 | * The ConflictingMeetingCount |
||
174 | * Meta information extracted from the WSDL |
||
175 | * - minOccurs: 0 |
||
176 | * @var int|null |
||
177 | */ |
||
178 | protected ?int $ConflictingMeetingCount = null; |
||
179 | /** |
||
180 | * The AdjacentMeetingCount |
||
181 | * Meta information extracted from the WSDL |
||
182 | * - minOccurs: 0 |
||
183 | * @var int|null |
||
184 | */ |
||
185 | protected ?int $AdjacentMeetingCount = null; |
||
186 | /** |
||
187 | * The ConflictingMeetings |
||
188 | * Meta information extracted from the WSDL |
||
189 | * - minOccurs: 0 |
||
190 | * @var \StructType\EwsNonEmptyArrayOfAllItemsType|null |
||
191 | */ |
||
192 | protected ?\StructType\EwsNonEmptyArrayOfAllItemsType $ConflictingMeetings = null; |
||
193 | /** |
||
194 | * The AdjacentMeetings |
||
195 | * Meta information extracted from the WSDL |
||
196 | * - minOccurs: 0 |
||
197 | * @var \StructType\EwsNonEmptyArrayOfAllItemsType|null |
||
198 | */ |
||
199 | protected ?\StructType\EwsNonEmptyArrayOfAllItemsType $AdjacentMeetings = null; |
||
200 | /** |
||
201 | * The Duration |
||
202 | * Meta information extracted from the WSDL |
||
203 | * - minOccurs: 0 |
||
204 | * @var string|null |
||
205 | */ |
||
206 | protected ?string $Duration = null; |
||
207 | /** |
||
208 | * The TimeZone |
||
209 | * Meta information extracted from the WSDL |
||
210 | * - minOccurs: 0 |
||
211 | * @var string|null |
||
212 | */ |
||
213 | protected ?string $TimeZone = null; |
||
214 | /** |
||
215 | * The AppointmentReplyTime |
||
216 | * Meta information extracted from the WSDL |
||
217 | * - minOccurs: 0 |
||
218 | * @var string|null |
||
219 | */ |
||
220 | protected ?string $AppointmentReplyTime = null; |
||
221 | /** |
||
222 | * The AppointmentSequenceNumber |
||
223 | * Meta information extracted from the WSDL |
||
224 | * - minOccurs: 0 |
||
225 | * @var int|null |
||
226 | */ |
||
227 | protected ?int $AppointmentSequenceNumber = null; |
||
228 | /** |
||
229 | * The AppointmentState |
||
230 | * Meta information extracted from the WSDL |
||
231 | * - minOccurs: 0 |
||
232 | * @var int|null |
||
233 | */ |
||
234 | protected ?int $AppointmentState = null; |
||
235 | /** |
||
236 | * The Recurrence |
||
237 | * Meta information extracted from the WSDL |
||
238 | * - minOccurs: 0 |
||
239 | * @var \StructType\EwsRecurrenceType|null |
||
240 | */ |
||
241 | protected ?\StructType\EwsRecurrenceType $Recurrence = null; |
||
242 | /** |
||
243 | * The FirstOccurrence |
||
244 | * Meta information extracted from the WSDL |
||
245 | * - minOccurs: 0 |
||
246 | * @var \StructType\EwsOccurrenceInfoType|null |
||
247 | */ |
||
248 | protected ?\StructType\EwsOccurrenceInfoType $FirstOccurrence = null; |
||
249 | /** |
||
250 | * The LastOccurrence |
||
251 | * Meta information extracted from the WSDL |
||
252 | * - minOccurs: 0 |
||
253 | * @var \StructType\EwsOccurrenceInfoType|null |
||
254 | */ |
||
255 | protected ?\StructType\EwsOccurrenceInfoType $LastOccurrence = null; |
||
256 | /** |
||
257 | * The ModifiedOccurrences |
||
258 | * Meta information extracted from the WSDL |
||
259 | * - minOccurs: 0 |
||
260 | * @var \ArrayType\EwsNonEmptyArrayOfOccurrenceInfoType|null |
||
261 | */ |
||
262 | protected ?\ArrayType\EwsNonEmptyArrayOfOccurrenceInfoType $ModifiedOccurrences = null; |
||
263 | /** |
||
264 | * The DeletedOccurrences |
||
265 | * Meta information extracted from the WSDL |
||
266 | * - minOccurs: 0 |
||
267 | * @var \ArrayType\EwsNonEmptyArrayOfDeletedOccurrencesType|null |
||
268 | */ |
||
269 | protected ?\ArrayType\EwsNonEmptyArrayOfDeletedOccurrencesType $DeletedOccurrences = null; |
||
270 | /** |
||
271 | * The MeetingTimeZone |
||
272 | * Meta information extracted from the WSDL |
||
273 | * - minOccurs: 0 |
||
274 | * @var \StructType\EwsTimeZoneType|null |
||
275 | */ |
||
276 | protected ?\StructType\EwsTimeZoneType $MeetingTimeZone = null; |
||
277 | /** |
||
278 | * The StartTimeZone |
||
279 | * Meta information extracted from the WSDL |
||
280 | * - maxOccurs: 1 |
||
281 | * - minOccurs: 0 |
||
282 | * @var \StructType\EwsTimeZoneDefinitionType|null |
||
283 | */ |
||
284 | protected ?\StructType\EwsTimeZoneDefinitionType $StartTimeZone = null; |
||
285 | /** |
||
286 | * The EndTimeZone |
||
287 | * Meta information extracted from the WSDL |
||
288 | * - maxOccurs: 1 |
||
289 | * - minOccurs: 0 |
||
290 | * @var \StructType\EwsTimeZoneDefinitionType|null |
||
291 | */ |
||
292 | protected ?\StructType\EwsTimeZoneDefinitionType $EndTimeZone = null; |
||
293 | /** |
||
294 | * The ConferenceType |
||
295 | * Meta information extracted from the WSDL |
||
296 | * - minOccurs: 0 |
||
297 | * @var int|null |
||
298 | */ |
||
299 | protected ?int $ConferenceType = null; |
||
300 | /** |
||
301 | * The AllowNewTimeProposal |
||
302 | * Meta information extracted from the WSDL |
||
303 | * - minOccurs: 0 |
||
304 | * @var bool|null |
||
305 | */ |
||
306 | protected ?bool $AllowNewTimeProposal = null; |
||
307 | /** |
||
308 | * The IsOnlineMeeting |
||
309 | * Meta information extracted from the WSDL |
||
310 | * - minOccurs: 0 |
||
311 | * @var bool|null |
||
312 | */ |
||
313 | protected ?bool $IsOnlineMeeting = null; |
||
314 | /** |
||
315 | * The MeetingWorkspaceUrl |
||
316 | * Meta information extracted from the WSDL |
||
317 | * - minOccurs: 0 |
||
318 | * @var string|null |
||
319 | */ |
||
320 | protected ?string $MeetingWorkspaceUrl = null; |
||
321 | /** |
||
322 | * The NetShowUrl |
||
323 | * Meta information extracted from the WSDL |
||
324 | * - minOccurs: 0 |
||
325 | * @var string|null |
||
326 | */ |
||
327 | protected ?string $NetShowUrl = null; |
||
328 | /** |
||
329 | * The EnhancedLocation |
||
330 | * Meta information extracted from the WSDL |
||
331 | * - minOccurs: 0 |
||
332 | * @var \StructType\EwsEnhancedLocationType|null |
||
333 | */ |
||
334 | protected ?\StructType\EwsEnhancedLocationType $EnhancedLocation = null; |
||
335 | /** |
||
336 | * The StartWallClock |
||
337 | * Meta information extracted from the WSDL |
||
338 | * - maxOccurs: 1 |
||
339 | * - minOccurs: 0 |
||
340 | * @var string|null |
||
341 | */ |
||
342 | protected ?string $StartWallClock = null; |
||
343 | /** |
||
344 | * The EndWallClock |
||
345 | * Meta information extracted from the WSDL |
||
346 | * - maxOccurs: 1 |
||
347 | * - minOccurs: 0 |
||
348 | * @var string|null |
||
349 | */ |
||
350 | protected ?string $EndWallClock = null; |
||
351 | /** |
||
352 | * The StartTimeZoneId |
||
353 | * Meta information extracted from the WSDL |
||
354 | * - maxOccurs: 1 |
||
355 | * - minOccurs: 0 |
||
356 | * @var string|null |
||
357 | */ |
||
358 | protected ?string $StartTimeZoneId = null; |
||
359 | /** |
||
360 | * The EndTimeZoneId |
||
361 | * Meta information extracted from the WSDL |
||
362 | * - maxOccurs: 1 |
||
363 | * - minOccurs: 0 |
||
364 | * @var string|null |
||
365 | */ |
||
366 | protected ?string $EndTimeZoneId = null; |
||
367 | /** |
||
368 | * The IntendedFreeBusyStatus |
||
369 | * Meta information extracted from the WSDL |
||
370 | * - minOccurs: 0 |
||
371 | * @var string|null |
||
372 | */ |
||
373 | protected ?string $IntendedFreeBusyStatus = null; |
||
374 | /** |
||
375 | * The JoinOnlineMeetingUrl |
||
376 | * Meta information extracted from the WSDL |
||
377 | * - maxOccurs: 1 |
||
378 | * - minOccurs: 0 |
||
379 | * @var string|null |
||
380 | */ |
||
381 | protected ?string $JoinOnlineMeetingUrl = null; |
||
382 | /** |
||
383 | * The OnlineMeetingSettings |
||
384 | * Meta information extracted from the WSDL |
||
385 | * - maxOccurs: 1 |
||
386 | * - minOccurs: 0 |
||
387 | * @var \StructType\EwsOnlineMeetingSettingsType|null |
||
388 | */ |
||
389 | protected ?\StructType\EwsOnlineMeetingSettingsType $OnlineMeetingSettings = null; |
||
390 | /** |
||
391 | * The IsOrganizer |
||
392 | * Meta information extracted from the WSDL |
||
393 | * - minOccurs: 0 |
||
394 | * @var bool|null |
||
395 | */ |
||
396 | protected ?bool $IsOrganizer = null; |
||
397 | /** |
||
398 | * Constructor method for CalendarItemType |
||
399 | * @uses EwsCalendarItemType::setUID() |
||
400 | * @uses EwsCalendarItemType::setRecurrenceId() |
||
401 | * @uses EwsCalendarItemType::setDateTimeStamp() |
||
402 | * @uses EwsCalendarItemType::setStart() |
||
403 | * @uses EwsCalendarItemType::setEnd() |
||
404 | * @uses EwsCalendarItemType::setOriginalStart() |
||
405 | * @uses EwsCalendarItemType::setIsAllDayEvent() |
||
406 | * @uses EwsCalendarItemType::setLegacyFreeBusyStatus() |
||
407 | * @uses EwsCalendarItemType::setLocation() |
||
408 | * @uses EwsCalendarItemType::setWhen() |
||
409 | * @uses EwsCalendarItemType::setIsMeeting() |
||
410 | * @uses EwsCalendarItemType::setIsCancelled() |
||
411 | * @uses EwsCalendarItemType::setIsRecurring() |
||
412 | * @uses EwsCalendarItemType::setMeetingRequestWasSent() |
||
413 | * @uses EwsCalendarItemType::setIsResponseRequested() |
||
414 | * @uses EwsCalendarItemType::setCalendarItemType() |
||
415 | * @uses EwsCalendarItemType::setMyResponseType() |
||
416 | * @uses EwsCalendarItemType::setOrganizer() |
||
417 | * @uses EwsCalendarItemType::setRequiredAttendees() |
||
418 | * @uses EwsCalendarItemType::setOptionalAttendees() |
||
419 | * @uses EwsCalendarItemType::setResources() |
||
420 | * @uses EwsCalendarItemType::setInboxReminders() |
||
421 | * @uses EwsCalendarItemType::setConflictingMeetingCount() |
||
422 | * @uses EwsCalendarItemType::setAdjacentMeetingCount() |
||
423 | * @uses EwsCalendarItemType::setConflictingMeetings() |
||
424 | * @uses EwsCalendarItemType::setAdjacentMeetings() |
||
425 | * @uses EwsCalendarItemType::setDuration() |
||
426 | * @uses EwsCalendarItemType::setTimeZone() |
||
427 | * @uses EwsCalendarItemType::setAppointmentReplyTime() |
||
428 | * @uses EwsCalendarItemType::setAppointmentSequenceNumber() |
||
429 | * @uses EwsCalendarItemType::setAppointmentState() |
||
430 | * @uses EwsCalendarItemType::setRecurrence() |
||
431 | * @uses EwsCalendarItemType::setFirstOccurrence() |
||
432 | * @uses EwsCalendarItemType::setLastOccurrence() |
||
433 | * @uses EwsCalendarItemType::setModifiedOccurrences() |
||
434 | * @uses EwsCalendarItemType::setDeletedOccurrences() |
||
435 | * @uses EwsCalendarItemType::setMeetingTimeZone() |
||
436 | * @uses EwsCalendarItemType::setStartTimeZone() |
||
437 | * @uses EwsCalendarItemType::setEndTimeZone() |
||
438 | * @uses EwsCalendarItemType::setConferenceType() |
||
439 | * @uses EwsCalendarItemType::setAllowNewTimeProposal() |
||
440 | * @uses EwsCalendarItemType::setIsOnlineMeeting() |
||
441 | * @uses EwsCalendarItemType::setMeetingWorkspaceUrl() |
||
442 | * @uses EwsCalendarItemType::setNetShowUrl() |
||
443 | * @uses EwsCalendarItemType::setEnhancedLocation() |
||
444 | * @uses EwsCalendarItemType::setStartWallClock() |
||
445 | * @uses EwsCalendarItemType::setEndWallClock() |
||
446 | * @uses EwsCalendarItemType::setStartTimeZoneId() |
||
447 | * @uses EwsCalendarItemType::setEndTimeZoneId() |
||
448 | * @uses EwsCalendarItemType::setIntendedFreeBusyStatus() |
||
449 | * @uses EwsCalendarItemType::setJoinOnlineMeetingUrl() |
||
450 | * @uses EwsCalendarItemType::setOnlineMeetingSettings() |
||
451 | * @uses EwsCalendarItemType::setIsOrganizer() |
||
452 | * @param string $uID |
||
453 | * @param string $recurrenceId |
||
454 | * @param string $dateTimeStamp |
||
455 | * @param string $start |
||
456 | * @param string $end |
||
457 | * @param string $originalStart |
||
458 | * @param bool $isAllDayEvent |
||
459 | * @param string $legacyFreeBusyStatus |
||
460 | * @param string $location |
||
461 | * @param string $when |
||
462 | * @param bool $isMeeting |
||
463 | * @param bool $isCancelled |
||
464 | * @param bool $isRecurring |
||
465 | * @param bool $meetingRequestWasSent |
||
466 | * @param bool $isResponseRequested |
||
467 | * @param string $calendarItemType |
||
468 | * @param string $myResponseType |
||
469 | * @param \StructType\EwsSingleRecipientType $organizer |
||
470 | * @param \ArrayType\EwsNonEmptyArrayOfAttendeesType $requiredAttendees |
||
471 | * @param \ArrayType\EwsNonEmptyArrayOfAttendeesType $optionalAttendees |
||
472 | * @param \ArrayType\EwsNonEmptyArrayOfAttendeesType $resources |
||
473 | * @param \ArrayType\EwsArrayOfInboxReminderType $inboxReminders |
||
474 | * @param int $conflictingMeetingCount |
||
475 | * @param int $adjacentMeetingCount |
||
476 | * @param \StructType\EwsNonEmptyArrayOfAllItemsType $conflictingMeetings |
||
477 | * @param \StructType\EwsNonEmptyArrayOfAllItemsType $adjacentMeetings |
||
478 | * @param string $duration |
||
479 | * @param string $timeZone |
||
480 | * @param string $appointmentReplyTime |
||
481 | * @param int $appointmentSequenceNumber |
||
482 | * @param int $appointmentState |
||
483 | * @param \StructType\EwsRecurrenceType $recurrence |
||
484 | * @param \StructType\EwsOccurrenceInfoType $firstOccurrence |
||
485 | * @param \StructType\EwsOccurrenceInfoType $lastOccurrence |
||
486 | * @param \ArrayType\EwsNonEmptyArrayOfOccurrenceInfoType $modifiedOccurrences |
||
487 | * @param \ArrayType\EwsNonEmptyArrayOfDeletedOccurrencesType $deletedOccurrences |
||
488 | * @param \StructType\EwsTimeZoneType $meetingTimeZone |
||
489 | * @param \StructType\EwsTimeZoneDefinitionType $startTimeZone |
||
490 | * @param \StructType\EwsTimeZoneDefinitionType $endTimeZone |
||
491 | * @param int $conferenceType |
||
492 | * @param bool $allowNewTimeProposal |
||
493 | * @param bool $isOnlineMeeting |
||
494 | * @param string $meetingWorkspaceUrl |
||
495 | * @param string $netShowUrl |
||
496 | * @param \StructType\EwsEnhancedLocationType $enhancedLocation |
||
497 | * @param string $startWallClock |
||
498 | * @param string $endWallClock |
||
499 | * @param string $startTimeZoneId |
||
500 | * @param string $endTimeZoneId |
||
501 | * @param string $intendedFreeBusyStatus |
||
502 | * @param string $joinOnlineMeetingUrl |
||
503 | * @param \StructType\EwsOnlineMeetingSettingsType $onlineMeetingSettings |
||
504 | * @param bool $isOrganizer |
||
505 | */ |
||
506 | public function __construct(?string $uID = null, ?string $recurrenceId = null, ?string $dateTimeStamp = null, ?string $start = null, ?string $end = null, ?string $originalStart = null, ?bool $isAllDayEvent = null, ?string $legacyFreeBusyStatus = null, ?string $location = null, ?string $when = null, ?bool $isMeeting = null, ?bool $isCancelled = null, ?bool $isRecurring = null, ?bool $meetingRequestWasSent = null, ?bool $isResponseRequested = null, ?string $calendarItemType = null, ?string $myResponseType = null, ?\StructType\EwsSingleRecipientType $organizer = null, ?\ArrayType\EwsNonEmptyArrayOfAttendeesType $requiredAttendees = null, ?\ArrayType\EwsNonEmptyArrayOfAttendeesType $optionalAttendees = null, ?\ArrayType\EwsNonEmptyArrayOfAttendeesType $resources = null, ?\ArrayType\EwsArrayOfInboxReminderType $inboxReminders = null, ?int $conflictingMeetingCount = null, ?int $adjacentMeetingCount = null, ?\StructType\EwsNonEmptyArrayOfAllItemsType $conflictingMeetings = null, ?\StructType\EwsNonEmptyArrayOfAllItemsType $adjacentMeetings = null, ?string $duration = null, ?string $timeZone = null, ?string $appointmentReplyTime = null, ?int $appointmentSequenceNumber = null, ?int $appointmentState = null, ?\StructType\EwsRecurrenceType $recurrence = null, ?\StructType\EwsOccurrenceInfoType $firstOccurrence = null, ?\StructType\EwsOccurrenceInfoType $lastOccurrence = null, ?\ArrayType\EwsNonEmptyArrayOfOccurrenceInfoType $modifiedOccurrences = null, ?\ArrayType\EwsNonEmptyArrayOfDeletedOccurrencesType $deletedOccurrences = null, ?\StructType\EwsTimeZoneType $meetingTimeZone = null, ?\StructType\EwsTimeZoneDefinitionType $startTimeZone = null, ?\StructType\EwsTimeZoneDefinitionType $endTimeZone = null, ?int $conferenceType = null, ?bool $allowNewTimeProposal = null, ?bool $isOnlineMeeting = null, ?string $meetingWorkspaceUrl = null, ?string $netShowUrl = null, ?\StructType\EwsEnhancedLocationType $enhancedLocation = null, ?string $startWallClock = null, ?string $endWallClock = null, ?string $startTimeZoneId = null, ?string $endTimeZoneId = null, ?string $intendedFreeBusyStatus = null, ?string $joinOnlineMeetingUrl = null, ?\StructType\EwsOnlineMeetingSettingsType $onlineMeetingSettings = null, ?bool $isOrganizer = null) |
||
507 | { |
||
508 | $this |
||
509 | ->setUID($uID) |
||
510 | ->setRecurrenceId($recurrenceId) |
||
511 | ->setDateTimeStamp($dateTimeStamp) |
||
512 | ->setStart($start) |
||
513 | ->setEnd($end) |
||
514 | ->setOriginalStart($originalStart) |
||
515 | ->setIsAllDayEvent($isAllDayEvent) |
||
516 | ->setLegacyFreeBusyStatus($legacyFreeBusyStatus) |
||
517 | ->setLocation($location) |
||
518 | ->setWhen($when) |
||
519 | ->setIsMeeting($isMeeting) |
||
520 | ->setIsCancelled($isCancelled) |
||
521 | ->setIsRecurring($isRecurring) |
||
522 | ->setMeetingRequestWasSent($meetingRequestWasSent) |
||
523 | ->setIsResponseRequested($isResponseRequested) |
||
524 | ->setCalendarItemType($calendarItemType) |
||
525 | ->setMyResponseType($myResponseType) |
||
526 | ->setOrganizer($organizer) |
||
527 | ->setRequiredAttendees($requiredAttendees) |
||
528 | ->setOptionalAttendees($optionalAttendees) |
||
529 | ->setResources($resources) |
||
530 | ->setInboxReminders($inboxReminders) |
||
531 | ->setConflictingMeetingCount($conflictingMeetingCount) |
||
532 | ->setAdjacentMeetingCount($adjacentMeetingCount) |
||
533 | ->setConflictingMeetings($conflictingMeetings) |
||
534 | ->setAdjacentMeetings($adjacentMeetings) |
||
535 | ->setDuration($duration) |
||
536 | ->setTimeZone($timeZone) |
||
537 | ->setAppointmentReplyTime($appointmentReplyTime) |
||
538 | ->setAppointmentSequenceNumber($appointmentSequenceNumber) |
||
539 | ->setAppointmentState($appointmentState) |
||
540 | ->setRecurrence($recurrence) |
||
541 | ->setFirstOccurrence($firstOccurrence) |
||
542 | ->setLastOccurrence($lastOccurrence) |
||
543 | ->setModifiedOccurrences($modifiedOccurrences) |
||
544 | ->setDeletedOccurrences($deletedOccurrences) |
||
545 | ->setMeetingTimeZone($meetingTimeZone) |
||
546 | ->setStartTimeZone($startTimeZone) |
||
547 | ->setEndTimeZone($endTimeZone) |
||
548 | ->setConferenceType($conferenceType) |
||
549 | ->setAllowNewTimeProposal($allowNewTimeProposal) |
||
550 | ->setIsOnlineMeeting($isOnlineMeeting) |
||
551 | ->setMeetingWorkspaceUrl($meetingWorkspaceUrl) |
||
552 | ->setNetShowUrl($netShowUrl) |
||
553 | ->setEnhancedLocation($enhancedLocation) |
||
554 | ->setStartWallClock($startWallClock) |
||
555 | ->setEndWallClock($endWallClock) |
||
556 | ->setStartTimeZoneId($startTimeZoneId) |
||
557 | ->setEndTimeZoneId($endTimeZoneId) |
||
558 | ->setIntendedFreeBusyStatus($intendedFreeBusyStatus) |
||
559 | ->setJoinOnlineMeetingUrl($joinOnlineMeetingUrl) |
||
560 | ->setOnlineMeetingSettings($onlineMeetingSettings) |
||
561 | ->setIsOrganizer($isOrganizer); |
||
562 | } |
||
563 | /** |
||
564 | * Get UID value |
||
565 | * @return string|null |
||
566 | */ |
||
567 | public function getUID(): ?string |
||
568 | { |
||
569 | return $this->UID; |
||
570 | } |
||
571 | /** |
||
572 | * Set UID value |
||
573 | * @param string $uID |
||
574 | * @return \StructType\EwsCalendarItemType |
||
575 | */ |
||
576 | public function setUID(?string $uID = null): self |
||
577 | { |
||
578 | // validation for constraint: string |
||
579 | if (!is_null($uID) && !is_string($uID)) { |
||
|
|||
580 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($uID, true), gettype($uID)), __LINE__); |
||
581 | } |
||
582 | $this->UID = $uID; |
||
583 | |||
584 | return $this; |
||
585 | } |
||
586 | /** |
||
587 | * Get RecurrenceId value |
||
588 | * @return string|null |
||
589 | */ |
||
590 | public function getRecurrenceId(): ?string |
||
591 | { |
||
592 | return $this->RecurrenceId; |
||
593 | } |
||
594 | /** |
||
595 | * Set RecurrenceId value |
||
596 | * @param string $recurrenceId |
||
597 | * @return \StructType\EwsCalendarItemType |
||
598 | */ |
||
599 | public function setRecurrenceId(?string $recurrenceId = null): self |
||
600 | { |
||
601 | // validation for constraint: string |
||
602 | if (!is_null($recurrenceId) && !is_string($recurrenceId)) { |
||
603 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($recurrenceId, true), gettype($recurrenceId)), __LINE__); |
||
604 | } |
||
605 | $this->RecurrenceId = $recurrenceId; |
||
606 | |||
607 | return $this; |
||
608 | } |
||
609 | /** |
||
610 | * Get DateTimeStamp value |
||
611 | * @return string|null |
||
612 | */ |
||
613 | public function getDateTimeStamp(): ?string |
||
614 | { |
||
615 | return $this->DateTimeStamp; |
||
616 | } |
||
617 | /** |
||
618 | * Set DateTimeStamp value |
||
619 | * @param string $dateTimeStamp |
||
620 | * @return \StructType\EwsCalendarItemType |
||
621 | */ |
||
622 | public function setDateTimeStamp(?string $dateTimeStamp = null): self |
||
623 | { |
||
624 | // validation for constraint: string |
||
625 | if (!is_null($dateTimeStamp) && !is_string($dateTimeStamp)) { |
||
626 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dateTimeStamp, true), gettype($dateTimeStamp)), __LINE__); |
||
627 | } |
||
628 | $this->DateTimeStamp = $dateTimeStamp; |
||
629 | |||
630 | return $this; |
||
631 | } |
||
632 | /** |
||
633 | * Get Start value |
||
634 | * @return string|null |
||
635 | */ |
||
636 | public function getStart(): ?string |
||
637 | { |
||
638 | return $this->Start; |
||
639 | } |
||
640 | /** |
||
641 | * Set Start value |
||
642 | * @param string $start |
||
643 | * @return \StructType\EwsCalendarItemType |
||
644 | */ |
||
645 | public function setStart(?string $start = null): self |
||
646 | { |
||
647 | // validation for constraint: string |
||
648 | if (!is_null($start) && !is_string($start)) { |
||
649 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($start, true), gettype($start)), __LINE__); |
||
650 | } |
||
651 | $this->Start = $start; |
||
652 | |||
653 | return $this; |
||
654 | } |
||
655 | /** |
||
656 | * Get End value |
||
657 | * @return string|null |
||
658 | */ |
||
659 | public function getEnd(): ?string |
||
660 | { |
||
661 | return $this->End; |
||
662 | } |
||
663 | /** |
||
664 | * Set End value |
||
665 | * @param string $end |
||
666 | * @return \StructType\EwsCalendarItemType |
||
667 | */ |
||
668 | public function setEnd(?string $end = null): self |
||
677 | } |
||
678 | /** |
||
679 | * Get OriginalStart value |
||
680 | * @return string|null |
||
681 | */ |
||
682 | public function getOriginalStart(): ?string |
||
683 | { |
||
684 | return $this->OriginalStart; |
||
685 | } |
||
686 | /** |
||
687 | * Set OriginalStart value |
||
688 | * @param string $originalStart |
||
689 | * @return \StructType\EwsCalendarItemType |
||
690 | */ |
||
691 | public function setOriginalStart(?string $originalStart = null): self |
||
692 | { |
||
693 | // validation for constraint: string |
||
694 | if (!is_null($originalStart) && !is_string($originalStart)) { |
||
695 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($originalStart, true), gettype($originalStart)), __LINE__); |
||
696 | } |
||
697 | $this->OriginalStart = $originalStart; |
||
698 | |||
699 | return $this; |
||
700 | } |
||
701 | /** |
||
702 | * Get IsAllDayEvent value |
||
703 | * @return bool|null |
||
704 | */ |
||
705 | public function getIsAllDayEvent(): ?bool |
||
706 | { |
||
707 | return $this->IsAllDayEvent; |
||
708 | } |
||
709 | /** |
||
710 | * Set IsAllDayEvent value |
||
711 | * @param bool $isAllDayEvent |
||
712 | * @return \StructType\EwsCalendarItemType |
||
713 | */ |
||
714 | public function setIsAllDayEvent(?bool $isAllDayEvent = null): self |
||
715 | { |
||
716 | // validation for constraint: boolean |
||
717 | if (!is_null($isAllDayEvent) && !is_bool($isAllDayEvent)) { |
||
718 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isAllDayEvent, true), gettype($isAllDayEvent)), __LINE__); |
||
719 | } |
||
720 | $this->IsAllDayEvent = $isAllDayEvent; |
||
721 | |||
722 | return $this; |
||
723 | } |
||
724 | /** |
||
725 | * Get LegacyFreeBusyStatus value |
||
726 | * @return string|null |
||
727 | */ |
||
728 | public function getLegacyFreeBusyStatus(): ?string |
||
729 | { |
||
730 | return $this->LegacyFreeBusyStatus; |
||
731 | } |
||
732 | /** |
||
733 | * Set LegacyFreeBusyStatus value |
||
734 | * @uses \EnumType\EwsLegacyFreeBusyType::valueIsValid() |
||
735 | * @uses \EnumType\EwsLegacyFreeBusyType::getValidValues() |
||
736 | * @throws InvalidArgumentException |
||
737 | * @param string $legacyFreeBusyStatus |
||
738 | * @return \StructType\EwsCalendarItemType |
||
739 | */ |
||
740 | public function setLegacyFreeBusyStatus(?string $legacyFreeBusyStatus = null): self |
||
741 | { |
||
742 | // validation for constraint: enumeration |
||
743 | if (!\EnumType\EwsLegacyFreeBusyType::valueIsValid($legacyFreeBusyStatus)) { |
||
744 | throw new InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\EwsLegacyFreeBusyType', is_array($legacyFreeBusyStatus) ? implode(', ', $legacyFreeBusyStatus) : var_export($legacyFreeBusyStatus, true), implode(', ', \EnumType\EwsLegacyFreeBusyType::getValidValues())), __LINE__); |
||
745 | } |
||
746 | $this->LegacyFreeBusyStatus = $legacyFreeBusyStatus; |
||
747 | |||
748 | return $this; |
||
749 | } |
||
750 | /** |
||
751 | * Get Location value |
||
752 | * @return string|null |
||
753 | */ |
||
754 | public function getLocation(): ?string |
||
755 | { |
||
756 | return $this->Location; |
||
757 | } |
||
758 | /** |
||
759 | * Set Location value |
||
760 | * @param string $location |
||
761 | * @return \StructType\EwsCalendarItemType |
||
762 | */ |
||
763 | public function setLocation(?string $location = null): self |
||
764 | { |
||
765 | // validation for constraint: string |
||
766 | if (!is_null($location) && !is_string($location)) { |
||
767 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($location, true), gettype($location)), __LINE__); |
||
768 | } |
||
769 | $this->Location = $location; |
||
770 | |||
771 | return $this; |
||
772 | } |
||
773 | /** |
||
774 | * Get When value |
||
775 | * @return string|null |
||
776 | */ |
||
777 | public function getWhen(): ?string |
||
778 | { |
||
779 | return $this->When; |
||
780 | } |
||
781 | /** |
||
782 | * Set When value |
||
783 | * @param string $when |
||
784 | * @return \StructType\EwsCalendarItemType |
||
785 | */ |
||
786 | public function setWhen(?string $when = null): self |
||
787 | { |
||
788 | // validation for constraint: string |
||
789 | if (!is_null($when) && !is_string($when)) { |
||
790 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($when, true), gettype($when)), __LINE__); |
||
791 | } |
||
792 | $this->When = $when; |
||
793 | |||
794 | return $this; |
||
795 | } |
||
796 | /** |
||
797 | * Get IsMeeting value |
||
798 | * @return bool|null |
||
799 | */ |
||
800 | public function getIsMeeting(): ?bool |
||
801 | { |
||
802 | return $this->IsMeeting; |
||
803 | } |
||
804 | /** |
||
805 | * Set IsMeeting value |
||
806 | * @param bool $isMeeting |
||
807 | * @return \StructType\EwsCalendarItemType |
||
808 | */ |
||
809 | public function setIsMeeting(?bool $isMeeting = null): self |
||
810 | { |
||
811 | // validation for constraint: boolean |
||
812 | if (!is_null($isMeeting) && !is_bool($isMeeting)) { |
||
813 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isMeeting, true), gettype($isMeeting)), __LINE__); |
||
814 | } |
||
815 | $this->IsMeeting = $isMeeting; |
||
816 | |||
817 | return $this; |
||
818 | } |
||
819 | /** |
||
820 | * Get IsCancelled value |
||
821 | * @return bool|null |
||
822 | */ |
||
823 | public function getIsCancelled(): ?bool |
||
824 | { |
||
825 | return $this->IsCancelled; |
||
826 | } |
||
827 | /** |
||
828 | * Set IsCancelled value |
||
829 | * @param bool $isCancelled |
||
830 | * @return \StructType\EwsCalendarItemType |
||
831 | */ |
||
832 | public function setIsCancelled(?bool $isCancelled = null): self |
||
833 | { |
||
834 | // validation for constraint: boolean |
||
835 | if (!is_null($isCancelled) && !is_bool($isCancelled)) { |
||
836 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isCancelled, true), gettype($isCancelled)), __LINE__); |
||
837 | } |
||
838 | $this->IsCancelled = $isCancelled; |
||
839 | |||
840 | return $this; |
||
841 | } |
||
842 | /** |
||
843 | * Get IsRecurring value |
||
844 | * @return bool|null |
||
845 | */ |
||
846 | public function getIsRecurring(): ?bool |
||
847 | { |
||
848 | return $this->IsRecurring; |
||
849 | } |
||
850 | /** |
||
851 | * Set IsRecurring value |
||
852 | * @param bool $isRecurring |
||
853 | * @return \StructType\EwsCalendarItemType |
||
854 | */ |
||
855 | public function setIsRecurring(?bool $isRecurring = null): self |
||
856 | { |
||
857 | // validation for constraint: boolean |
||
858 | if (!is_null($isRecurring) && !is_bool($isRecurring)) { |
||
859 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isRecurring, true), gettype($isRecurring)), __LINE__); |
||
860 | } |
||
861 | $this->IsRecurring = $isRecurring; |
||
862 | |||
863 | return $this; |
||
864 | } |
||
865 | /** |
||
866 | * Get MeetingRequestWasSent value |
||
867 | * @return bool|null |
||
868 | */ |
||
869 | public function getMeetingRequestWasSent(): ?bool |
||
870 | { |
||
871 | return $this->MeetingRequestWasSent; |
||
872 | } |
||
873 | /** |
||
874 | * Set MeetingRequestWasSent value |
||
875 | * @param bool $meetingRequestWasSent |
||
876 | * @return \StructType\EwsCalendarItemType |
||
877 | */ |
||
878 | public function setMeetingRequestWasSent(?bool $meetingRequestWasSent = null): self |
||
879 | { |
||
880 | // validation for constraint: boolean |
||
881 | if (!is_null($meetingRequestWasSent) && !is_bool($meetingRequestWasSent)) { |
||
882 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($meetingRequestWasSent, true), gettype($meetingRequestWasSent)), __LINE__); |
||
883 | } |
||
884 | $this->MeetingRequestWasSent = $meetingRequestWasSent; |
||
885 | |||
886 | return $this; |
||
887 | } |
||
888 | /** |
||
889 | * Get IsResponseRequested value |
||
890 | * @return bool|null |
||
891 | */ |
||
892 | public function getIsResponseRequested(): ?bool |
||
893 | { |
||
894 | return $this->IsResponseRequested; |
||
895 | } |
||
896 | /** |
||
897 | * Set IsResponseRequested value |
||
898 | * @param bool $isResponseRequested |
||
899 | * @return \StructType\EwsCalendarItemType |
||
900 | */ |
||
901 | public function setIsResponseRequested(?bool $isResponseRequested = null): self |
||
902 | { |
||
903 | // validation for constraint: boolean |
||
904 | if (!is_null($isResponseRequested) && !is_bool($isResponseRequested)) { |
||
905 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isResponseRequested, true), gettype($isResponseRequested)), __LINE__); |
||
906 | } |
||
907 | $this->IsResponseRequested = $isResponseRequested; |
||
908 | |||
909 | return $this; |
||
910 | } |
||
911 | /** |
||
912 | * Get CalendarItemType value |
||
913 | * @return string|null |
||
914 | */ |
||
915 | public function getCalendarItemType(): ?string |
||
916 | { |
||
917 | return $this->CalendarItemType; |
||
918 | } |
||
919 | /** |
||
920 | * Set CalendarItemType value |
||
921 | * @uses \EnumType\EwsCalendarItemTypeType::valueIsValid() |
||
922 | * @uses \EnumType\EwsCalendarItemTypeType::getValidValues() |
||
923 | * @throws InvalidArgumentException |
||
924 | * @param string $calendarItemType |
||
925 | * @return \StructType\EwsCalendarItemType |
||
926 | */ |
||
927 | public function setCalendarItemType(?string $calendarItemType = null): self |
||
928 | { |
||
929 | // validation for constraint: enumeration |
||
930 | if (!\EnumType\EwsCalendarItemTypeType::valueIsValid($calendarItemType)) { |
||
931 | throw new InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\EwsCalendarItemTypeType', is_array($calendarItemType) ? implode(', ', $calendarItemType) : var_export($calendarItemType, true), implode(', ', \EnumType\EwsCalendarItemTypeType::getValidValues())), __LINE__); |
||
932 | } |
||
933 | $this->CalendarItemType = $calendarItemType; |
||
934 | |||
935 | return $this; |
||
936 | } |
||
937 | /** |
||
938 | * Get MyResponseType value |
||
939 | * @return string|null |
||
940 | */ |
||
941 | public function getMyResponseType(): ?string |
||
942 | { |
||
943 | return $this->MyResponseType; |
||
944 | } |
||
945 | /** |
||
946 | * Set MyResponseType value |
||
947 | * @uses \EnumType\EwsResponseTypeType::valueIsValid() |
||
948 | * @uses \EnumType\EwsResponseTypeType::getValidValues() |
||
949 | * @throws InvalidArgumentException |
||
950 | * @param string $myResponseType |
||
951 | * @return \StructType\EwsCalendarItemType |
||
952 | */ |
||
953 | public function setMyResponseType(?string $myResponseType = null): self |
||
954 | { |
||
955 | // validation for constraint: enumeration |
||
956 | if (!\EnumType\EwsResponseTypeType::valueIsValid($myResponseType)) { |
||
957 | throw new InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\EwsResponseTypeType', is_array($myResponseType) ? implode(', ', $myResponseType) : var_export($myResponseType, true), implode(', ', \EnumType\EwsResponseTypeType::getValidValues())), __LINE__); |
||
958 | } |
||
959 | $this->MyResponseType = $myResponseType; |
||
960 | |||
961 | return $this; |
||
962 | } |
||
963 | /** |
||
964 | * Get Organizer value |
||
965 | * @return \StructType\EwsSingleRecipientType|null |
||
966 | */ |
||
967 | public function getOrganizer(): ?\StructType\EwsSingleRecipientType |
||
968 | { |
||
969 | return $this->Organizer; |
||
970 | } |
||
971 | /** |
||
972 | * Set Organizer value |
||
973 | * @param \StructType\EwsSingleRecipientType $organizer |
||
974 | * @return \StructType\EwsCalendarItemType |
||
975 | */ |
||
976 | public function setOrganizer(?\StructType\EwsSingleRecipientType $organizer = null): self |
||
977 | { |
||
978 | $this->Organizer = $organizer; |
||
979 | |||
980 | return $this; |
||
981 | } |
||
982 | /** |
||
983 | * Get RequiredAttendees value |
||
984 | * @return \ArrayType\EwsNonEmptyArrayOfAttendeesType|null |
||
985 | */ |
||
986 | public function getRequiredAttendees(): ?\ArrayType\EwsNonEmptyArrayOfAttendeesType |
||
987 | { |
||
988 | return $this->RequiredAttendees; |
||
989 | } |
||
990 | /** |
||
991 | * Set RequiredAttendees value |
||
992 | * @param \ArrayType\EwsNonEmptyArrayOfAttendeesType $requiredAttendees |
||
993 | * @return \StructType\EwsCalendarItemType |
||
994 | */ |
||
995 | public function setRequiredAttendees(?\ArrayType\EwsNonEmptyArrayOfAttendeesType $requiredAttendees = null): self |
||
996 | { |
||
997 | $this->RequiredAttendees = $requiredAttendees; |
||
998 | |||
999 | return $this; |
||
1000 | } |
||
1001 | /** |
||
1002 | * Get OptionalAttendees value |
||
1003 | * @return \ArrayType\EwsNonEmptyArrayOfAttendeesType|null |
||
1004 | */ |
||
1005 | public function getOptionalAttendees(): ?\ArrayType\EwsNonEmptyArrayOfAttendeesType |
||
1006 | { |
||
1007 | return $this->OptionalAttendees; |
||
1008 | } |
||
1009 | /** |
||
1010 | * Set OptionalAttendees value |
||
1011 | * @param \ArrayType\EwsNonEmptyArrayOfAttendeesType $optionalAttendees |
||
1012 | * @return \StructType\EwsCalendarItemType |
||
1013 | */ |
||
1014 | public function setOptionalAttendees(?\ArrayType\EwsNonEmptyArrayOfAttendeesType $optionalAttendees = null): self |
||
1015 | { |
||
1016 | $this->OptionalAttendees = $optionalAttendees; |
||
1017 | |||
1018 | return $this; |
||
1019 | } |
||
1020 | /** |
||
1021 | * Get Resources value |
||
1022 | * @return \ArrayType\EwsNonEmptyArrayOfAttendeesType|null |
||
1023 | */ |
||
1024 | public function getResources(): ?\ArrayType\EwsNonEmptyArrayOfAttendeesType |
||
1025 | { |
||
1026 | return $this->Resources; |
||
1027 | } |
||
1028 | /** |
||
1029 | * Set Resources value |
||
1030 | * @param \ArrayType\EwsNonEmptyArrayOfAttendeesType $resources |
||
1031 | * @return \StructType\EwsCalendarItemType |
||
1032 | */ |
||
1033 | public function setResources(?\ArrayType\EwsNonEmptyArrayOfAttendeesType $resources = null): self |
||
1034 | { |
||
1035 | $this->Resources = $resources; |
||
1036 | |||
1037 | return $this; |
||
1038 | } |
||
1039 | /** |
||
1040 | * Get InboxReminders value |
||
1041 | * @return \ArrayType\EwsArrayOfInboxReminderType|null |
||
1042 | */ |
||
1043 | public function getInboxReminders(): ?\ArrayType\EwsArrayOfInboxReminderType |
||
1044 | { |
||
1045 | return $this->InboxReminders; |
||
1046 | } |
||
1047 | /** |
||
1048 | * Set InboxReminders value |
||
1049 | * @param \ArrayType\EwsArrayOfInboxReminderType $inboxReminders |
||
1050 | * @return \StructType\EwsCalendarItemType |
||
1051 | */ |
||
1052 | public function setInboxReminders(?\ArrayType\EwsArrayOfInboxReminderType $inboxReminders = null): self |
||
1053 | { |
||
1054 | $this->InboxReminders = $inboxReminders; |
||
1055 | |||
1056 | return $this; |
||
1057 | } |
||
1058 | /** |
||
1059 | * Get ConflictingMeetingCount value |
||
1060 | * @return int|null |
||
1061 | */ |
||
1062 | public function getConflictingMeetingCount(): ?int |
||
1063 | { |
||
1064 | return $this->ConflictingMeetingCount; |
||
1065 | } |
||
1066 | /** |
||
1067 | * Set ConflictingMeetingCount value |
||
1068 | * @param int $conflictingMeetingCount |
||
1069 | * @return \StructType\EwsCalendarItemType |
||
1070 | */ |
||
1071 | public function setConflictingMeetingCount(?int $conflictingMeetingCount = null): self |
||
1072 | { |
||
1073 | // validation for constraint: int |
||
1074 | if (!is_null($conflictingMeetingCount) && !(is_int($conflictingMeetingCount) || ctype_digit($conflictingMeetingCount))) { |
||
1075 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($conflictingMeetingCount, true), gettype($conflictingMeetingCount)), __LINE__); |
||
1076 | } |
||
1077 | $this->ConflictingMeetingCount = $conflictingMeetingCount; |
||
1078 | |||
1079 | return $this; |
||
1080 | } |
||
1081 | /** |
||
1082 | * Get AdjacentMeetingCount value |
||
1083 | * @return int|null |
||
1084 | */ |
||
1085 | public function getAdjacentMeetingCount(): ?int |
||
1086 | { |
||
1087 | return $this->AdjacentMeetingCount; |
||
1088 | } |
||
1089 | /** |
||
1090 | * Set AdjacentMeetingCount value |
||
1091 | * @param int $adjacentMeetingCount |
||
1092 | * @return \StructType\EwsCalendarItemType |
||
1093 | */ |
||
1094 | public function setAdjacentMeetingCount(?int $adjacentMeetingCount = null): self |
||
1095 | { |
||
1096 | // validation for constraint: int |
||
1097 | if (!is_null($adjacentMeetingCount) && !(is_int($adjacentMeetingCount) || ctype_digit($adjacentMeetingCount))) { |
||
1098 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($adjacentMeetingCount, true), gettype($adjacentMeetingCount)), __LINE__); |
||
1099 | } |
||
1100 | $this->AdjacentMeetingCount = $adjacentMeetingCount; |
||
1101 | |||
1102 | return $this; |
||
1103 | } |
||
1104 | /** |
||
1105 | * Get ConflictingMeetings value |
||
1106 | * @return \StructType\EwsNonEmptyArrayOfAllItemsType|null |
||
1107 | */ |
||
1108 | public function getConflictingMeetings(): ?\StructType\EwsNonEmptyArrayOfAllItemsType |
||
1109 | { |
||
1110 | return $this->ConflictingMeetings; |
||
1111 | } |
||
1112 | /** |
||
1113 | * Set ConflictingMeetings value |
||
1114 | * @param \StructType\EwsNonEmptyArrayOfAllItemsType $conflictingMeetings |
||
1115 | * @return \StructType\EwsCalendarItemType |
||
1116 | */ |
||
1117 | public function setConflictingMeetings(?\StructType\EwsNonEmptyArrayOfAllItemsType $conflictingMeetings = null): self |
||
1118 | { |
||
1119 | $this->ConflictingMeetings = $conflictingMeetings; |
||
1120 | |||
1121 | return $this; |
||
1122 | } |
||
1123 | /** |
||
1124 | * Get AdjacentMeetings value |
||
1125 | * @return \StructType\EwsNonEmptyArrayOfAllItemsType|null |
||
1126 | */ |
||
1127 | public function getAdjacentMeetings(): ?\StructType\EwsNonEmptyArrayOfAllItemsType |
||
1128 | { |
||
1129 | return $this->AdjacentMeetings; |
||
1130 | } |
||
1131 | /** |
||
1132 | * Set AdjacentMeetings value |
||
1133 | * @param \StructType\EwsNonEmptyArrayOfAllItemsType $adjacentMeetings |
||
1134 | * @return \StructType\EwsCalendarItemType |
||
1135 | */ |
||
1136 | public function setAdjacentMeetings(?\StructType\EwsNonEmptyArrayOfAllItemsType $adjacentMeetings = null): self |
||
1137 | { |
||
1138 | $this->AdjacentMeetings = $adjacentMeetings; |
||
1139 | |||
1140 | return $this; |
||
1141 | } |
||
1142 | /** |
||
1143 | * Get Duration value |
||
1144 | * @return string|null |
||
1145 | */ |
||
1146 | public function getDuration(): ?string |
||
1147 | { |
||
1148 | return $this->Duration; |
||
1149 | } |
||
1150 | /** |
||
1151 | * Set Duration value |
||
1152 | * @param string $duration |
||
1153 | * @return \StructType\EwsCalendarItemType |
||
1154 | */ |
||
1155 | public function setDuration(?string $duration = null): self |
||
1156 | { |
||
1157 | // validation for constraint: string |
||
1158 | if (!is_null($duration) && !is_string($duration)) { |
||
1159 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($duration, true), gettype($duration)), __LINE__); |
||
1160 | } |
||
1161 | $this->Duration = $duration; |
||
1162 | |||
1163 | return $this; |
||
1164 | } |
||
1165 | /** |
||
1166 | * Get TimeZone value |
||
1167 | * @return string|null |
||
1168 | */ |
||
1169 | public function getTimeZone(): ?string |
||
1170 | { |
||
1171 | return $this->TimeZone; |
||
1172 | } |
||
1173 | /** |
||
1174 | * Set TimeZone value |
||
1175 | * @param string $timeZone |
||
1176 | * @return \StructType\EwsCalendarItemType |
||
1177 | */ |
||
1178 | public function setTimeZone(?string $timeZone = null): self |
||
1179 | { |
||
1180 | // validation for constraint: string |
||
1181 | if (!is_null($timeZone) && !is_string($timeZone)) { |
||
1182 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($timeZone, true), gettype($timeZone)), __LINE__); |
||
1183 | } |
||
1184 | $this->TimeZone = $timeZone; |
||
1185 | |||
1186 | return $this; |
||
1187 | } |
||
1188 | /** |
||
1189 | * Get AppointmentReplyTime value |
||
1190 | * @return string|null |
||
1191 | */ |
||
1192 | public function getAppointmentReplyTime(): ?string |
||
1193 | { |
||
1194 | return $this->AppointmentReplyTime; |
||
1195 | } |
||
1196 | /** |
||
1197 | * Set AppointmentReplyTime value |
||
1198 | * @param string $appointmentReplyTime |
||
1199 | * @return \StructType\EwsCalendarItemType |
||
1200 | */ |
||
1201 | public function setAppointmentReplyTime(?string $appointmentReplyTime = null): self |
||
1202 | { |
||
1203 | // validation for constraint: string |
||
1204 | if (!is_null($appointmentReplyTime) && !is_string($appointmentReplyTime)) { |
||
1205 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($appointmentReplyTime, true), gettype($appointmentReplyTime)), __LINE__); |
||
1206 | } |
||
1207 | $this->AppointmentReplyTime = $appointmentReplyTime; |
||
1208 | |||
1209 | return $this; |
||
1210 | } |
||
1211 | /** |
||
1212 | * Get AppointmentSequenceNumber value |
||
1213 | * @return int|null |
||
1214 | */ |
||
1215 | public function getAppointmentSequenceNumber(): ?int |
||
1216 | { |
||
1217 | return $this->AppointmentSequenceNumber; |
||
1218 | } |
||
1219 | /** |
||
1220 | * Set AppointmentSequenceNumber value |
||
1221 | * @param int $appointmentSequenceNumber |
||
1222 | * @return \StructType\EwsCalendarItemType |
||
1223 | */ |
||
1224 | public function setAppointmentSequenceNumber(?int $appointmentSequenceNumber = null): self |
||
1225 | { |
||
1226 | // validation for constraint: int |
||
1227 | if (!is_null($appointmentSequenceNumber) && !(is_int($appointmentSequenceNumber) || ctype_digit($appointmentSequenceNumber))) { |
||
1228 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($appointmentSequenceNumber, true), gettype($appointmentSequenceNumber)), __LINE__); |
||
1229 | } |
||
1230 | $this->AppointmentSequenceNumber = $appointmentSequenceNumber; |
||
1231 | |||
1232 | return $this; |
||
1233 | } |
||
1234 | /** |
||
1235 | * Get AppointmentState value |
||
1236 | * @return int|null |
||
1237 | */ |
||
1238 | public function getAppointmentState(): ?int |
||
1239 | { |
||
1240 | return $this->AppointmentState; |
||
1241 | } |
||
1242 | /** |
||
1243 | * Set AppointmentState value |
||
1244 | * @param int $appointmentState |
||
1245 | * @return \StructType\EwsCalendarItemType |
||
1246 | */ |
||
1247 | public function setAppointmentState(?int $appointmentState = null): self |
||
1248 | { |
||
1249 | // validation for constraint: int |
||
1250 | if (!is_null($appointmentState) && !(is_int($appointmentState) || ctype_digit($appointmentState))) { |
||
1251 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($appointmentState, true), gettype($appointmentState)), __LINE__); |
||
1252 | } |
||
1253 | $this->AppointmentState = $appointmentState; |
||
1254 | |||
1255 | return $this; |
||
1256 | } |
||
1257 | /** |
||
1258 | * Get Recurrence value |
||
1259 | * @return \StructType\EwsRecurrenceType|null |
||
1260 | */ |
||
1261 | public function getRecurrence(): ?\StructType\EwsRecurrenceType |
||
1262 | { |
||
1263 | return $this->Recurrence; |
||
1264 | } |
||
1265 | /** |
||
1266 | * Set Recurrence value |
||
1267 | * @param \StructType\EwsRecurrenceType $recurrence |
||
1268 | * @return \StructType\EwsCalendarItemType |
||
1269 | */ |
||
1270 | public function setRecurrence(?\StructType\EwsRecurrenceType $recurrence = null): self |
||
1271 | { |
||
1272 | $this->Recurrence = $recurrence; |
||
1273 | |||
1274 | return $this; |
||
1275 | } |
||
1276 | /** |
||
1277 | * Get FirstOccurrence value |
||
1278 | * @return \StructType\EwsOccurrenceInfoType|null |
||
1279 | */ |
||
1280 | public function getFirstOccurrence(): ?\StructType\EwsOccurrenceInfoType |
||
1281 | { |
||
1282 | return $this->FirstOccurrence; |
||
1283 | } |
||
1284 | /** |
||
1285 | * Set FirstOccurrence value |
||
1286 | * @param \StructType\EwsOccurrenceInfoType $firstOccurrence |
||
1287 | * @return \StructType\EwsCalendarItemType |
||
1288 | */ |
||
1289 | public function setFirstOccurrence(?\StructType\EwsOccurrenceInfoType $firstOccurrence = null): self |
||
1290 | { |
||
1291 | $this->FirstOccurrence = $firstOccurrence; |
||
1292 | |||
1293 | return $this; |
||
1294 | } |
||
1295 | /** |
||
1296 | * Get LastOccurrence value |
||
1297 | * @return \StructType\EwsOccurrenceInfoType|null |
||
1298 | */ |
||
1299 | public function getLastOccurrence(): ?\StructType\EwsOccurrenceInfoType |
||
1300 | { |
||
1301 | return $this->LastOccurrence; |
||
1302 | } |
||
1303 | /** |
||
1304 | * Set LastOccurrence value |
||
1305 | * @param \StructType\EwsOccurrenceInfoType $lastOccurrence |
||
1306 | * @return \StructType\EwsCalendarItemType |
||
1307 | */ |
||
1308 | public function setLastOccurrence(?\StructType\EwsOccurrenceInfoType $lastOccurrence = null): self |
||
1309 | { |
||
1310 | $this->LastOccurrence = $lastOccurrence; |
||
1311 | |||
1312 | return $this; |
||
1313 | } |
||
1314 | /** |
||
1315 | * Get ModifiedOccurrences value |
||
1316 | * @return \ArrayType\EwsNonEmptyArrayOfOccurrenceInfoType|null |
||
1317 | */ |
||
1318 | public function getModifiedOccurrences(): ?\ArrayType\EwsNonEmptyArrayOfOccurrenceInfoType |
||
1319 | { |
||
1320 | return $this->ModifiedOccurrences; |
||
1321 | } |
||
1322 | /** |
||
1323 | * Set ModifiedOccurrences value |
||
1324 | * @param \ArrayType\EwsNonEmptyArrayOfOccurrenceInfoType $modifiedOccurrences |
||
1325 | * @return \StructType\EwsCalendarItemType |
||
1326 | */ |
||
1327 | public function setModifiedOccurrences(?\ArrayType\EwsNonEmptyArrayOfOccurrenceInfoType $modifiedOccurrences = null): self |
||
1328 | { |
||
1329 | $this->ModifiedOccurrences = $modifiedOccurrences; |
||
1330 | |||
1331 | return $this; |
||
1332 | } |
||
1333 | /** |
||
1334 | * Get DeletedOccurrences value |
||
1335 | * @return \ArrayType\EwsNonEmptyArrayOfDeletedOccurrencesType|null |
||
1336 | */ |
||
1337 | public function getDeletedOccurrences(): ?\ArrayType\EwsNonEmptyArrayOfDeletedOccurrencesType |
||
1338 | { |
||
1339 | return $this->DeletedOccurrences; |
||
1340 | } |
||
1341 | /** |
||
1342 | * Set DeletedOccurrences value |
||
1343 | * @param \ArrayType\EwsNonEmptyArrayOfDeletedOccurrencesType $deletedOccurrences |
||
1344 | * @return \StructType\EwsCalendarItemType |
||
1345 | */ |
||
1346 | public function setDeletedOccurrences(?\ArrayType\EwsNonEmptyArrayOfDeletedOccurrencesType $deletedOccurrences = null): self |
||
1347 | { |
||
1348 | $this->DeletedOccurrences = $deletedOccurrences; |
||
1349 | |||
1350 | return $this; |
||
1351 | } |
||
1352 | /** |
||
1353 | * Get MeetingTimeZone value |
||
1354 | * @return \StructType\EwsTimeZoneType|null |
||
1355 | */ |
||
1356 | public function getMeetingTimeZone(): ?\StructType\EwsTimeZoneType |
||
1357 | { |
||
1358 | return $this->MeetingTimeZone; |
||
1359 | } |
||
1360 | /** |
||
1361 | * Set MeetingTimeZone value |
||
1362 | * @param \StructType\EwsTimeZoneType $meetingTimeZone |
||
1363 | * @return \StructType\EwsCalendarItemType |
||
1364 | */ |
||
1365 | public function setMeetingTimeZone(?\StructType\EwsTimeZoneType $meetingTimeZone = null): self |
||
1366 | { |
||
1367 | $this->MeetingTimeZone = $meetingTimeZone; |
||
1368 | |||
1369 | return $this; |
||
1370 | } |
||
1371 | /** |
||
1372 | * Get StartTimeZone value |
||
1373 | * @return \StructType\EwsTimeZoneDefinitionType|null |
||
1374 | */ |
||
1375 | public function getStartTimeZone(): ?\StructType\EwsTimeZoneDefinitionType |
||
1376 | { |
||
1377 | return $this->StartTimeZone; |
||
1378 | } |
||
1379 | /** |
||
1380 | * Set StartTimeZone value |
||
1381 | * @param \StructType\EwsTimeZoneDefinitionType $startTimeZone |
||
1382 | * @return \StructType\EwsCalendarItemType |
||
1383 | */ |
||
1384 | public function setStartTimeZone(?\StructType\EwsTimeZoneDefinitionType $startTimeZone = null): self |
||
1385 | { |
||
1386 | $this->StartTimeZone = $startTimeZone; |
||
1387 | |||
1388 | return $this; |
||
1389 | } |
||
1390 | /** |
||
1391 | * Get EndTimeZone value |
||
1392 | * @return \StructType\EwsTimeZoneDefinitionType|null |
||
1393 | */ |
||
1394 | public function getEndTimeZone(): ?\StructType\EwsTimeZoneDefinitionType |
||
1395 | { |
||
1396 | return $this->EndTimeZone; |
||
1397 | } |
||
1398 | /** |
||
1399 | * Set EndTimeZone value |
||
1400 | * @param \StructType\EwsTimeZoneDefinitionType $endTimeZone |
||
1401 | * @return \StructType\EwsCalendarItemType |
||
1402 | */ |
||
1403 | public function setEndTimeZone(?\StructType\EwsTimeZoneDefinitionType $endTimeZone = null): self |
||
1404 | { |
||
1405 | $this->EndTimeZone = $endTimeZone; |
||
1406 | |||
1407 | return $this; |
||
1408 | } |
||
1409 | /** |
||
1410 | * Get ConferenceType value |
||
1411 | * @return int|null |
||
1412 | */ |
||
1413 | public function getConferenceType(): ?int |
||
1414 | { |
||
1415 | return $this->ConferenceType; |
||
1416 | } |
||
1417 | /** |
||
1418 | * Set ConferenceType value |
||
1419 | * @param int $conferenceType |
||
1420 | * @return \StructType\EwsCalendarItemType |
||
1421 | */ |
||
1422 | public function setConferenceType(?int $conferenceType = null): self |
||
1423 | { |
||
1424 | // validation for constraint: int |
||
1425 | if (!is_null($conferenceType) && !(is_int($conferenceType) || ctype_digit($conferenceType))) { |
||
1426 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($conferenceType, true), gettype($conferenceType)), __LINE__); |
||
1427 | } |
||
1428 | $this->ConferenceType = $conferenceType; |
||
1429 | |||
1430 | return $this; |
||
1431 | } |
||
1432 | /** |
||
1433 | * Get AllowNewTimeProposal value |
||
1434 | * @return bool|null |
||
1435 | */ |
||
1436 | public function getAllowNewTimeProposal(): ?bool |
||
1437 | { |
||
1438 | return $this->AllowNewTimeProposal; |
||
1439 | } |
||
1440 | /** |
||
1441 | * Set AllowNewTimeProposal value |
||
1442 | * @param bool $allowNewTimeProposal |
||
1443 | * @return \StructType\EwsCalendarItemType |
||
1444 | */ |
||
1445 | public function setAllowNewTimeProposal(?bool $allowNewTimeProposal = null): self |
||
1446 | { |
||
1447 | // validation for constraint: boolean |
||
1448 | if (!is_null($allowNewTimeProposal) && !is_bool($allowNewTimeProposal)) { |
||
1449 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($allowNewTimeProposal, true), gettype($allowNewTimeProposal)), __LINE__); |
||
1450 | } |
||
1451 | $this->AllowNewTimeProposal = $allowNewTimeProposal; |
||
1452 | |||
1453 | return $this; |
||
1454 | } |
||
1455 | /** |
||
1456 | * Get IsOnlineMeeting value |
||
1457 | * @return bool|null |
||
1458 | */ |
||
1459 | public function getIsOnlineMeeting(): ?bool |
||
1460 | { |
||
1461 | return $this->IsOnlineMeeting; |
||
1462 | } |
||
1463 | /** |
||
1464 | * Set IsOnlineMeeting value |
||
1465 | * @param bool $isOnlineMeeting |
||
1466 | * @return \StructType\EwsCalendarItemType |
||
1467 | */ |
||
1468 | public function setIsOnlineMeeting(?bool $isOnlineMeeting = null): self |
||
1469 | { |
||
1470 | // validation for constraint: boolean |
||
1471 | if (!is_null($isOnlineMeeting) && !is_bool($isOnlineMeeting)) { |
||
1472 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isOnlineMeeting, true), gettype($isOnlineMeeting)), __LINE__); |
||
1473 | } |
||
1474 | $this->IsOnlineMeeting = $isOnlineMeeting; |
||
1475 | |||
1476 | return $this; |
||
1477 | } |
||
1478 | /** |
||
1479 | * Get MeetingWorkspaceUrl value |
||
1480 | * @return string|null |
||
1481 | */ |
||
1482 | public function getMeetingWorkspaceUrl(): ?string |
||
1483 | { |
||
1484 | return $this->MeetingWorkspaceUrl; |
||
1485 | } |
||
1486 | /** |
||
1487 | * Set MeetingWorkspaceUrl value |
||
1488 | * @param string $meetingWorkspaceUrl |
||
1489 | * @return \StructType\EwsCalendarItemType |
||
1490 | */ |
||
1491 | public function setMeetingWorkspaceUrl(?string $meetingWorkspaceUrl = null): self |
||
1492 | { |
||
1493 | // validation for constraint: string |
||
1494 | if (!is_null($meetingWorkspaceUrl) && !is_string($meetingWorkspaceUrl)) { |
||
1495 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($meetingWorkspaceUrl, true), gettype($meetingWorkspaceUrl)), __LINE__); |
||
1496 | } |
||
1497 | $this->MeetingWorkspaceUrl = $meetingWorkspaceUrl; |
||
1498 | |||
1499 | return $this; |
||
1500 | } |
||
1501 | /** |
||
1502 | * Get NetShowUrl value |
||
1503 | * @return string|null |
||
1504 | */ |
||
1505 | public function getNetShowUrl(): ?string |
||
1506 | { |
||
1507 | return $this->NetShowUrl; |
||
1508 | } |
||
1509 | /** |
||
1510 | * Set NetShowUrl value |
||
1511 | * @param string $netShowUrl |
||
1512 | * @return \StructType\EwsCalendarItemType |
||
1513 | */ |
||
1514 | public function setNetShowUrl(?string $netShowUrl = null): self |
||
1515 | { |
||
1516 | // validation for constraint: string |
||
1517 | if (!is_null($netShowUrl) && !is_string($netShowUrl)) { |
||
1518 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($netShowUrl, true), gettype($netShowUrl)), __LINE__); |
||
1519 | } |
||
1520 | $this->NetShowUrl = $netShowUrl; |
||
1521 | |||
1522 | return $this; |
||
1523 | } |
||
1524 | /** |
||
1525 | * Get EnhancedLocation value |
||
1526 | * @return \StructType\EwsEnhancedLocationType|null |
||
1527 | */ |
||
1528 | public function getEnhancedLocation(): ?\StructType\EwsEnhancedLocationType |
||
1529 | { |
||
1530 | return $this->EnhancedLocation; |
||
1531 | } |
||
1532 | /** |
||
1533 | * Set EnhancedLocation value |
||
1534 | * @param \StructType\EwsEnhancedLocationType $enhancedLocation |
||
1535 | * @return \StructType\EwsCalendarItemType |
||
1536 | */ |
||
1537 | public function setEnhancedLocation(?\StructType\EwsEnhancedLocationType $enhancedLocation = null): self |
||
1538 | { |
||
1539 | $this->EnhancedLocation = $enhancedLocation; |
||
1540 | |||
1541 | return $this; |
||
1542 | } |
||
1543 | /** |
||
1544 | * Get StartWallClock value |
||
1545 | * @return string|null |
||
1546 | */ |
||
1547 | public function getStartWallClock(): ?string |
||
1548 | { |
||
1549 | return $this->StartWallClock; |
||
1550 | } |
||
1551 | /** |
||
1552 | * Set StartWallClock value |
||
1553 | * @param string $startWallClock |
||
1554 | * @return \StructType\EwsCalendarItemType |
||
1555 | */ |
||
1556 | public function setStartWallClock(?string $startWallClock = null): self |
||
1557 | { |
||
1558 | // validation for constraint: string |
||
1559 | if (!is_null($startWallClock) && !is_string($startWallClock)) { |
||
1560 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($startWallClock, true), gettype($startWallClock)), __LINE__); |
||
1561 | } |
||
1562 | $this->StartWallClock = $startWallClock; |
||
1563 | |||
1564 | return $this; |
||
1565 | } |
||
1566 | /** |
||
1567 | * Get EndWallClock value |
||
1568 | * @return string|null |
||
1569 | */ |
||
1570 | public function getEndWallClock(): ?string |
||
1571 | { |
||
1572 | return $this->EndWallClock; |
||
1573 | } |
||
1574 | /** |
||
1575 | * Set EndWallClock value |
||
1576 | * @param string $endWallClock |
||
1577 | * @return \StructType\EwsCalendarItemType |
||
1578 | */ |
||
1579 | public function setEndWallClock(?string $endWallClock = null): self |
||
1580 | { |
||
1581 | // validation for constraint: string |
||
1582 | if (!is_null($endWallClock) && !is_string($endWallClock)) { |
||
1583 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($endWallClock, true), gettype($endWallClock)), __LINE__); |
||
1584 | } |
||
1585 | $this->EndWallClock = $endWallClock; |
||
1586 | |||
1587 | return $this; |
||
1588 | } |
||
1589 | /** |
||
1590 | * Get StartTimeZoneId value |
||
1591 | * @return string|null |
||
1592 | */ |
||
1593 | public function getStartTimeZoneId(): ?string |
||
1594 | { |
||
1595 | return $this->StartTimeZoneId; |
||
1596 | } |
||
1597 | /** |
||
1598 | * Set StartTimeZoneId value |
||
1599 | * @param string $startTimeZoneId |
||
1600 | * @return \StructType\EwsCalendarItemType |
||
1601 | */ |
||
1602 | public function setStartTimeZoneId(?string $startTimeZoneId = null): self |
||
1603 | { |
||
1604 | // validation for constraint: string |
||
1605 | if (!is_null($startTimeZoneId) && !is_string($startTimeZoneId)) { |
||
1606 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($startTimeZoneId, true), gettype($startTimeZoneId)), __LINE__); |
||
1607 | } |
||
1608 | $this->StartTimeZoneId = $startTimeZoneId; |
||
1609 | |||
1610 | return $this; |
||
1611 | } |
||
1612 | /** |
||
1613 | * Get EndTimeZoneId value |
||
1614 | * @return string|null |
||
1615 | */ |
||
1616 | public function getEndTimeZoneId(): ?string |
||
1617 | { |
||
1618 | return $this->EndTimeZoneId; |
||
1619 | } |
||
1620 | /** |
||
1621 | * Set EndTimeZoneId value |
||
1622 | * @param string $endTimeZoneId |
||
1623 | * @return \StructType\EwsCalendarItemType |
||
1624 | */ |
||
1625 | public function setEndTimeZoneId(?string $endTimeZoneId = null): self |
||
1626 | { |
||
1627 | // validation for constraint: string |
||
1628 | if (!is_null($endTimeZoneId) && !is_string($endTimeZoneId)) { |
||
1629 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($endTimeZoneId, true), gettype($endTimeZoneId)), __LINE__); |
||
1630 | } |
||
1631 | $this->EndTimeZoneId = $endTimeZoneId; |
||
1632 | |||
1633 | return $this; |
||
1634 | } |
||
1635 | /** |
||
1636 | * Get IntendedFreeBusyStatus value |
||
1637 | * @return string|null |
||
1638 | */ |
||
1639 | public function getIntendedFreeBusyStatus(): ?string |
||
1642 | } |
||
1643 | /** |
||
1644 | * Set IntendedFreeBusyStatus value |
||
1645 | * @uses \EnumType\EwsLegacyFreeBusyType::valueIsValid() |
||
1646 | * @uses \EnumType\EwsLegacyFreeBusyType::getValidValues() |
||
1647 | * @throws InvalidArgumentException |
||
1648 | * @param string $intendedFreeBusyStatus |
||
1649 | * @return \StructType\EwsCalendarItemType |
||
1650 | */ |
||
1651 | public function setIntendedFreeBusyStatus(?string $intendedFreeBusyStatus = null): self |
||
1652 | { |
||
1653 | // validation for constraint: enumeration |
||
1654 | if (!\EnumType\EwsLegacyFreeBusyType::valueIsValid($intendedFreeBusyStatus)) { |
||
1655 | throw new InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\EwsLegacyFreeBusyType', is_array($intendedFreeBusyStatus) ? implode(', ', $intendedFreeBusyStatus) : var_export($intendedFreeBusyStatus, true), implode(', ', \EnumType\EwsLegacyFreeBusyType::getValidValues())), __LINE__); |
||
1656 | } |
||
1657 | $this->IntendedFreeBusyStatus = $intendedFreeBusyStatus; |
||
1658 | |||
1659 | return $this; |
||
1660 | } |
||
1661 | /** |
||
1662 | * Get JoinOnlineMeetingUrl value |
||
1663 | * @return string|null |
||
1664 | */ |
||
1665 | public function getJoinOnlineMeetingUrl(): ?string |
||
1666 | { |
||
1667 | return $this->JoinOnlineMeetingUrl; |
||
1668 | } |
||
1669 | /** |
||
1670 | * Set JoinOnlineMeetingUrl value |
||
1671 | * @param string $joinOnlineMeetingUrl |
||
1672 | * @return \StructType\EwsCalendarItemType |
||
1673 | */ |
||
1674 | public function setJoinOnlineMeetingUrl(?string $joinOnlineMeetingUrl = null): self |
||
1675 | { |
||
1676 | // validation for constraint: string |
||
1677 | if (!is_null($joinOnlineMeetingUrl) && !is_string($joinOnlineMeetingUrl)) { |
||
1678 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($joinOnlineMeetingUrl, true), gettype($joinOnlineMeetingUrl)), __LINE__); |
||
1679 | } |
||
1680 | $this->JoinOnlineMeetingUrl = $joinOnlineMeetingUrl; |
||
1681 | |||
1682 | return $this; |
||
1683 | } |
||
1684 | /** |
||
1685 | * Get OnlineMeetingSettings value |
||
1686 | * @return \StructType\EwsOnlineMeetingSettingsType|null |
||
1687 | */ |
||
1688 | public function getOnlineMeetingSettings(): ?\StructType\EwsOnlineMeetingSettingsType |
||
1689 | { |
||
1690 | return $this->OnlineMeetingSettings; |
||
1691 | } |
||
1692 | /** |
||
1693 | * Set OnlineMeetingSettings value |
||
1694 | * @param \StructType\EwsOnlineMeetingSettingsType $onlineMeetingSettings |
||
1695 | * @return \StructType\EwsCalendarItemType |
||
1696 | */ |
||
1697 | public function setOnlineMeetingSettings(?\StructType\EwsOnlineMeetingSettingsType $onlineMeetingSettings = null): self |
||
1702 | } |
||
1703 | /** |
||
1704 | * Get IsOrganizer value |
||
1705 | * @return bool|null |
||
1706 | */ |
||
1707 | public function getIsOrganizer(): ?bool |
||
1708 | { |
||
1709 | return $this->IsOrganizer; |
||
1710 | } |
||
1711 | /** |
||
1712 | * Set IsOrganizer value |
||
1713 | * @param bool $isOrganizer |
||
1714 | * @return \StructType\EwsCalendarItemType |
||
1715 | */ |
||
1716 | public function setIsOrganizer(?bool $isOrganizer = null): self |
||
1717 | { |
||
1718 | // validation for constraint: boolean |
||
1719 | if (!is_null($isOrganizer) && !is_bool($isOrganizer)) { |
||
1720 | throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isOrganizer, true), gettype($isOrganizer)), __LINE__); |
||
1721 | } |
||
1722 | $this->IsOrganizer = $isOrganizer; |
||
1723 | |||
1724 | return $this; |
||
1725 | } |
||
1726 | } |
||
1727 |