1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Calendar;
19
20class Event extends \Google\Collection
21{
22  protected $collection_key = 'recurrence';
23  /**
24   * @var bool
25   */
26  public $anyoneCanAddSelf;
27  protected $attachmentsType = EventAttachment::class;
28  protected $attachmentsDataType = 'array';
29  protected $attendeesType = EventAttendee::class;
30  protected $attendeesDataType = 'array';
31  /**
32   * @var bool
33   */
34  public $attendeesOmitted;
35  /**
36   * @var string
37   */
38  public $colorId;
39  protected $conferenceDataType = ConferenceData::class;
40  protected $conferenceDataDataType = '';
41  /**
42   * @var string
43   */
44  public $created;
45  protected $creatorType = EventCreator::class;
46  protected $creatorDataType = '';
47  /**
48   * @var string
49   */
50  public $description;
51  protected $endType = EventDateTime::class;
52  protected $endDataType = '';
53  /**
54   * @var bool
55   */
56  public $endTimeUnspecified;
57  /**
58   * @var string
59   */
60  public $etag;
61  /**
62   * @var string
63   */
64  public $eventType;
65  protected $extendedPropertiesType = EventExtendedProperties::class;
66  protected $extendedPropertiesDataType = '';
67  protected $gadgetType = EventGadget::class;
68  protected $gadgetDataType = '';
69  /**
70   * @var bool
71   */
72  public $guestsCanInviteOthers;
73  /**
74   * @var bool
75   */
76  public $guestsCanModify;
77  /**
78   * @var bool
79   */
80  public $guestsCanSeeOtherGuests;
81  /**
82   * @var string
83   */
84  public $hangoutLink;
85  /**
86   * @var string
87   */
88  public $htmlLink;
89  /**
90   * @var string
91   */
92  public $iCalUID;
93  /**
94   * @var string
95   */
96  public $id;
97  /**
98   * @var string
99   */
100  public $kind;
101  /**
102   * @var string
103   */
104  public $location;
105  /**
106   * @var bool
107   */
108  public $locked;
109  protected $organizerType = EventOrganizer::class;
110  protected $organizerDataType = '';
111  protected $originalStartTimeType = EventDateTime::class;
112  protected $originalStartTimeDataType = '';
113  /**
114   * @var bool
115   */
116  public $privateCopy;
117  /**
118   * @var string[]
119   */
120  public $recurrence;
121  /**
122   * @var string
123   */
124  public $recurringEventId;
125  protected $remindersType = EventReminders::class;
126  protected $remindersDataType = '';
127  /**
128   * @var int
129   */
130  public $sequence;
131  protected $sourceType = EventSource::class;
132  protected $sourceDataType = '';
133  protected $startType = EventDateTime::class;
134  protected $startDataType = '';
135  /**
136   * @var string
137   */
138  public $status;
139  /**
140   * @var string
141   */
142  public $summary;
143  /**
144   * @var string
145   */
146  public $transparency;
147  /**
148   * @var string
149   */
150  public $updated;
151  /**
152   * @var string
153   */
154  public $visibility;
155
156  /**
157   * @param bool
158   */
159  public function setAnyoneCanAddSelf($anyoneCanAddSelf)
160  {
161    $this->anyoneCanAddSelf = $anyoneCanAddSelf;
162  }
163  /**
164   * @return bool
165   */
166  public function getAnyoneCanAddSelf()
167  {
168    return $this->anyoneCanAddSelf;
169  }
170  /**
171   * @param EventAttachment[]
172   */
173  public function setAttachments($attachments)
174  {
175    $this->attachments = $attachments;
176  }
177  /**
178   * @return EventAttachment[]
179   */
180  public function getAttachments()
181  {
182    return $this->attachments;
183  }
184  /**
185   * @param EventAttendee[]
186   */
187  public function setAttendees($attendees)
188  {
189    $this->attendees = $attendees;
190  }
191  /**
192   * @return EventAttendee[]
193   */
194  public function getAttendees()
195  {
196    return $this->attendees;
197  }
198  /**
199   * @param bool
200   */
201  public function setAttendeesOmitted($attendeesOmitted)
202  {
203    $this->attendeesOmitted = $attendeesOmitted;
204  }
205  /**
206   * @return bool
207   */
208  public function getAttendeesOmitted()
209  {
210    return $this->attendeesOmitted;
211  }
212  /**
213   * @param string
214   */
215  public function setColorId($colorId)
216  {
217    $this->colorId = $colorId;
218  }
219  /**
220   * @return string
221   */
222  public function getColorId()
223  {
224    return $this->colorId;
225  }
226  /**
227   * @param ConferenceData
228   */
229  public function setConferenceData(ConferenceData $conferenceData)
230  {
231    $this->conferenceData = $conferenceData;
232  }
233  /**
234   * @return ConferenceData
235   */
236  public function getConferenceData()
237  {
238    return $this->conferenceData;
239  }
240  /**
241   * @param string
242   */
243  public function setCreated($created)
244  {
245    $this->created = $created;
246  }
247  /**
248   * @return string
249   */
250  public function getCreated()
251  {
252    return $this->created;
253  }
254  /**
255   * @param EventCreator
256   */
257  public function setCreator(EventCreator $creator)
258  {
259    $this->creator = $creator;
260  }
261  /**
262   * @return EventCreator
263   */
264  public function getCreator()
265  {
266    return $this->creator;
267  }
268  /**
269   * @param string
270   */
271  public function setDescription($description)
272  {
273    $this->description = $description;
274  }
275  /**
276   * @return string
277   */
278  public function getDescription()
279  {
280    return $this->description;
281  }
282  /**
283   * @param EventDateTime
284   */
285  public function setEnd(EventDateTime $end)
286  {
287    $this->end = $end;
288  }
289  /**
290   * @return EventDateTime
291   */
292  public function getEnd()
293  {
294    return $this->end;
295  }
296  /**
297   * @param bool
298   */
299  public function setEndTimeUnspecified($endTimeUnspecified)
300  {
301    $this->endTimeUnspecified = $endTimeUnspecified;
302  }
303  /**
304   * @return bool
305   */
306  public function getEndTimeUnspecified()
307  {
308    return $this->endTimeUnspecified;
309  }
310  /**
311   * @param string
312   */
313  public function setEtag($etag)
314  {
315    $this->etag = $etag;
316  }
317  /**
318   * @return string
319   */
320  public function getEtag()
321  {
322    return $this->etag;
323  }
324  /**
325   * @param string
326   */
327  public function setEventType($eventType)
328  {
329    $this->eventType = $eventType;
330  }
331  /**
332   * @return string
333   */
334  public function getEventType()
335  {
336    return $this->eventType;
337  }
338  /**
339   * @param EventExtendedProperties
340   */
341  public function setExtendedProperties(EventExtendedProperties $extendedProperties)
342  {
343    $this->extendedProperties = $extendedProperties;
344  }
345  /**
346   * @return EventExtendedProperties
347   */
348  public function getExtendedProperties()
349  {
350    return $this->extendedProperties;
351  }
352  /**
353   * @param EventGadget
354   */
355  public function setGadget(EventGadget $gadget)
356  {
357    $this->gadget = $gadget;
358  }
359  /**
360   * @return EventGadget
361   */
362  public function getGadget()
363  {
364    return $this->gadget;
365  }
366  /**
367   * @param bool
368   */
369  public function setGuestsCanInviteOthers($guestsCanInviteOthers)
370  {
371    $this->guestsCanInviteOthers = $guestsCanInviteOthers;
372  }
373  /**
374   * @return bool
375   */
376  public function getGuestsCanInviteOthers()
377  {
378    return $this->guestsCanInviteOthers;
379  }
380  /**
381   * @param bool
382   */
383  public function setGuestsCanModify($guestsCanModify)
384  {
385    $this->guestsCanModify = $guestsCanModify;
386  }
387  /**
388   * @return bool
389   */
390  public function getGuestsCanModify()
391  {
392    return $this->guestsCanModify;
393  }
394  /**
395   * @param bool
396   */
397  public function setGuestsCanSeeOtherGuests($guestsCanSeeOtherGuests)
398  {
399    $this->guestsCanSeeOtherGuests = $guestsCanSeeOtherGuests;
400  }
401  /**
402   * @return bool
403   */
404  public function getGuestsCanSeeOtherGuests()
405  {
406    return $this->guestsCanSeeOtherGuests;
407  }
408  /**
409   * @param string
410   */
411  public function setHangoutLink($hangoutLink)
412  {
413    $this->hangoutLink = $hangoutLink;
414  }
415  /**
416   * @return string
417   */
418  public function getHangoutLink()
419  {
420    return $this->hangoutLink;
421  }
422  /**
423   * @param string
424   */
425  public function setHtmlLink($htmlLink)
426  {
427    $this->htmlLink = $htmlLink;
428  }
429  /**
430   * @return string
431   */
432  public function getHtmlLink()
433  {
434    return $this->htmlLink;
435  }
436  /**
437   * @param string
438   */
439  public function setICalUID($iCalUID)
440  {
441    $this->iCalUID = $iCalUID;
442  }
443  /**
444   * @return string
445   */
446  public function getICalUID()
447  {
448    return $this->iCalUID;
449  }
450  /**
451   * @param string
452   */
453  public function setId($id)
454  {
455    $this->id = $id;
456  }
457  /**
458   * @return string
459   */
460  public function getId()
461  {
462    return $this->id;
463  }
464  /**
465   * @param string
466   */
467  public function setKind($kind)
468  {
469    $this->kind = $kind;
470  }
471  /**
472   * @return string
473   */
474  public function getKind()
475  {
476    return $this->kind;
477  }
478  /**
479   * @param string
480   */
481  public function setLocation($location)
482  {
483    $this->location = $location;
484  }
485  /**
486   * @return string
487   */
488  public function getLocation()
489  {
490    return $this->location;
491  }
492  /**
493   * @param bool
494   */
495  public function setLocked($locked)
496  {
497    $this->locked = $locked;
498  }
499  /**
500   * @return bool
501   */
502  public function getLocked()
503  {
504    return $this->locked;
505  }
506  /**
507   * @param EventOrganizer
508   */
509  public function setOrganizer(EventOrganizer $organizer)
510  {
511    $this->organizer = $organizer;
512  }
513  /**
514   * @return EventOrganizer
515   */
516  public function getOrganizer()
517  {
518    return $this->organizer;
519  }
520  /**
521   * @param EventDateTime
522   */
523  public function setOriginalStartTime(EventDateTime $originalStartTime)
524  {
525    $this->originalStartTime = $originalStartTime;
526  }
527  /**
528   * @return EventDateTime
529   */
530  public function getOriginalStartTime()
531  {
532    return $this->originalStartTime;
533  }
534  /**
535   * @param bool
536   */
537  public function setPrivateCopy($privateCopy)
538  {
539    $this->privateCopy = $privateCopy;
540  }
541  /**
542   * @return bool
543   */
544  public function getPrivateCopy()
545  {
546    return $this->privateCopy;
547  }
548  /**
549   * @param string[]
550   */
551  public function setRecurrence($recurrence)
552  {
553    $this->recurrence = $recurrence;
554  }
555  /**
556   * @return string[]
557   */
558  public function getRecurrence()
559  {
560    return $this->recurrence;
561  }
562  /**
563   * @param string
564   */
565  public function setRecurringEventId($recurringEventId)
566  {
567    $this->recurringEventId = $recurringEventId;
568  }
569  /**
570   * @return string
571   */
572  public function getRecurringEventId()
573  {
574    return $this->recurringEventId;
575  }
576  /**
577   * @param EventReminders
578   */
579  public function setReminders(EventReminders $reminders)
580  {
581    $this->reminders = $reminders;
582  }
583  /**
584   * @return EventReminders
585   */
586  public function getReminders()
587  {
588    return $this->reminders;
589  }
590  /**
591   * @param int
592   */
593  public function setSequence($sequence)
594  {
595    $this->sequence = $sequence;
596  }
597  /**
598   * @return int
599   */
600  public function getSequence()
601  {
602    return $this->sequence;
603  }
604  /**
605   * @param EventSource
606   */
607  public function setSource(EventSource $source)
608  {
609    $this->source = $source;
610  }
611  /**
612   * @return EventSource
613   */
614  public function getSource()
615  {
616    return $this->source;
617  }
618  /**
619   * @param EventDateTime
620   */
621  public function setStart(EventDateTime $start)
622  {
623    $this->start = $start;
624  }
625  /**
626   * @return EventDateTime
627   */
628  public function getStart()
629  {
630    return $this->start;
631  }
632  /**
633   * @param string
634   */
635  public function setStatus($status)
636  {
637    $this->status = $status;
638  }
639  /**
640   * @return string
641   */
642  public function getStatus()
643  {
644    return $this->status;
645  }
646  /**
647   * @param string
648   */
649  public function setSummary($summary)
650  {
651    $this->summary = $summary;
652  }
653  /**
654   * @return string
655   */
656  public function getSummary()
657  {
658    return $this->summary;
659  }
660  /**
661   * @param string
662   */
663  public function setTransparency($transparency)
664  {
665    $this->transparency = $transparency;
666  }
667  /**
668   * @return string
669   */
670  public function getTransparency()
671  {
672    return $this->transparency;
673  }
674  /**
675   * @param string
676   */
677  public function setUpdated($updated)
678  {
679    $this->updated = $updated;
680  }
681  /**
682   * @return string
683   */
684  public function getUpdated()
685  {
686    return $this->updated;
687  }
688  /**
689   * @param string
690   */
691  public function setVisibility($visibility)
692  {
693    $this->visibility = $visibility;
694  }
695  /**
696   * @return string
697   */
698  public function getVisibility()
699  {
700    return $this->visibility;
701  }
702}
703
704// Adding a class alias for backwards compatibility with the previous class name.
705class_alias(Event::class, 'Google_Service_Calendar_Event');
706