EwsMeetingRequestMessageType::getFirstOccurrence()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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