google-apis-calendar_v3 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module CalendarV3
18
+ # Version of the google-apis-calendar_v3 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201028"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,781 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module CalendarV3
24
+
25
+ class Acl
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AclRule
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ class Scope
35
+ class Representation < Google::Apis::Core::JsonRepresentation; end
36
+
37
+ include Google::Apis::Core::JsonObjectSupport
38
+ end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Calendar
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class CalendarList
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CalendarListEntry
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ class NotificationSettings
59
+ class Representation < Google::Apis::Core::JsonRepresentation; end
60
+
61
+ include Google::Apis::Core::JsonObjectSupport
62
+ end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CalendarNotification
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Channel
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ColorDefinition
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Colors
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ConferenceData
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ConferenceParameters
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ConferenceParametersAddOnParameters
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ConferenceProperties
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ConferenceRequestStatus
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ConferenceSolution
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ConferenceSolutionKey
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class CreateConferenceRequest
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class EntryPoint
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Error
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Event
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ class Creator
155
+ class Representation < Google::Apis::Core::JsonRepresentation; end
156
+
157
+ include Google::Apis::Core::JsonObjectSupport
158
+ end
159
+
160
+ class ExtendedProperties
161
+ class Representation < Google::Apis::Core::JsonRepresentation; end
162
+
163
+ include Google::Apis::Core::JsonObjectSupport
164
+ end
165
+
166
+ class Gadget
167
+ class Representation < Google::Apis::Core::JsonRepresentation; end
168
+
169
+ include Google::Apis::Core::JsonObjectSupport
170
+ end
171
+
172
+ class Organizer
173
+ class Representation < Google::Apis::Core::JsonRepresentation; end
174
+
175
+ include Google::Apis::Core::JsonObjectSupport
176
+ end
177
+
178
+ class Reminders
179
+ class Representation < Google::Apis::Core::JsonRepresentation; end
180
+
181
+ include Google::Apis::Core::JsonObjectSupport
182
+ end
183
+
184
+ class Source
185
+ class Representation < Google::Apis::Core::JsonRepresentation; end
186
+
187
+ include Google::Apis::Core::JsonObjectSupport
188
+ end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class EventAttachment
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class EventAttendee
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class EventDateTime
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class EventReminder
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Events
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class FreeBusyCalendar
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class FreeBusyGroup
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class FreeBusyRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class FreeBusyRequestItem
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class FreeBusyResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class Setting
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Settings
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class TimePeriod
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class Acl
272
+ # @private
273
+ class Representation < Google::Apis::Core::JsonRepresentation
274
+ property :etag, as: 'etag'
275
+ collection :items, as: 'items', class: Google::Apis::CalendarV3::AclRule, decorator: Google::Apis::CalendarV3::AclRule::Representation
276
+
277
+ property :kind, as: 'kind'
278
+ property :next_page_token, as: 'nextPageToken'
279
+ property :next_sync_token, as: 'nextSyncToken'
280
+ end
281
+ end
282
+
283
+ class AclRule
284
+ # @private
285
+ class Representation < Google::Apis::Core::JsonRepresentation
286
+ property :etag, as: 'etag'
287
+ property :id, as: 'id'
288
+ property :kind, as: 'kind'
289
+ property :role, as: 'role'
290
+ property :scope, as: 'scope', class: Google::Apis::CalendarV3::AclRule::Scope, decorator: Google::Apis::CalendarV3::AclRule::Scope::Representation
291
+
292
+ end
293
+
294
+ class Scope
295
+ # @private
296
+ class Representation < Google::Apis::Core::JsonRepresentation
297
+ property :type, as: 'type'
298
+ property :value, as: 'value'
299
+ end
300
+ end
301
+ end
302
+
303
+ class Calendar
304
+ # @private
305
+ class Representation < Google::Apis::Core::JsonRepresentation
306
+ property :conference_properties, as: 'conferenceProperties', class: Google::Apis::CalendarV3::ConferenceProperties, decorator: Google::Apis::CalendarV3::ConferenceProperties::Representation
307
+
308
+ property :description, as: 'description'
309
+ property :etag, as: 'etag'
310
+ property :id, as: 'id'
311
+ property :kind, as: 'kind'
312
+ property :location, as: 'location'
313
+ property :summary, as: 'summary'
314
+ property :time_zone, as: 'timeZone'
315
+ end
316
+ end
317
+
318
+ class CalendarList
319
+ # @private
320
+ class Representation < Google::Apis::Core::JsonRepresentation
321
+ property :etag, as: 'etag'
322
+ collection :items, as: 'items', class: Google::Apis::CalendarV3::CalendarListEntry, decorator: Google::Apis::CalendarV3::CalendarListEntry::Representation
323
+
324
+ property :kind, as: 'kind'
325
+ property :next_page_token, as: 'nextPageToken'
326
+ property :next_sync_token, as: 'nextSyncToken'
327
+ end
328
+ end
329
+
330
+ class CalendarListEntry
331
+ # @private
332
+ class Representation < Google::Apis::Core::JsonRepresentation
333
+ property :access_role, as: 'accessRole'
334
+ property :background_color, as: 'backgroundColor'
335
+ property :color_id, as: 'colorId'
336
+ property :conference_properties, as: 'conferenceProperties', class: Google::Apis::CalendarV3::ConferenceProperties, decorator: Google::Apis::CalendarV3::ConferenceProperties::Representation
337
+
338
+ collection :default_reminders, as: 'defaultReminders', class: Google::Apis::CalendarV3::EventReminder, decorator: Google::Apis::CalendarV3::EventReminder::Representation
339
+
340
+ property :deleted, as: 'deleted'
341
+ property :description, as: 'description'
342
+ property :etag, as: 'etag'
343
+ property :foreground_color, as: 'foregroundColor'
344
+ property :hidden, as: 'hidden'
345
+ property :id, as: 'id'
346
+ property :kind, as: 'kind'
347
+ property :location, as: 'location'
348
+ property :notification_settings, as: 'notificationSettings', class: Google::Apis::CalendarV3::CalendarListEntry::NotificationSettings, decorator: Google::Apis::CalendarV3::CalendarListEntry::NotificationSettings::Representation
349
+
350
+ property :primary, as: 'primary'
351
+ property :selected, as: 'selected'
352
+ property :summary, as: 'summary'
353
+ property :summary_override, as: 'summaryOverride'
354
+ property :time_zone, as: 'timeZone'
355
+ end
356
+
357
+ class NotificationSettings
358
+ # @private
359
+ class Representation < Google::Apis::Core::JsonRepresentation
360
+ collection :notifications, as: 'notifications', class: Google::Apis::CalendarV3::CalendarNotification, decorator: Google::Apis::CalendarV3::CalendarNotification::Representation
361
+
362
+ end
363
+ end
364
+ end
365
+
366
+ class CalendarNotification
367
+ # @private
368
+ class Representation < Google::Apis::Core::JsonRepresentation
369
+ property :delivery_method, as: 'method'
370
+ property :type, as: 'type'
371
+ end
372
+ end
373
+
374
+ class Channel
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
377
+ property :address, as: 'address'
378
+ property :expiration, :numeric_string => true, as: 'expiration'
379
+ property :id, as: 'id'
380
+ property :kind, as: 'kind'
381
+ hash :params, as: 'params'
382
+ property :payload, as: 'payload'
383
+ property :resource_id, as: 'resourceId'
384
+ property :resource_uri, as: 'resourceUri'
385
+ property :token, as: 'token'
386
+ property :type, as: 'type'
387
+ end
388
+ end
389
+
390
+ class ColorDefinition
391
+ # @private
392
+ class Representation < Google::Apis::Core::JsonRepresentation
393
+ property :background, as: 'background'
394
+ property :foreground, as: 'foreground'
395
+ end
396
+ end
397
+
398
+ class Colors
399
+ # @private
400
+ class Representation < Google::Apis::Core::JsonRepresentation
401
+ hash :calendar, as: 'calendar', class: Google::Apis::CalendarV3::ColorDefinition, decorator: Google::Apis::CalendarV3::ColorDefinition::Representation
402
+
403
+ hash :event, as: 'event', class: Google::Apis::CalendarV3::ColorDefinition, decorator: Google::Apis::CalendarV3::ColorDefinition::Representation
404
+
405
+ property :kind, as: 'kind'
406
+ property :updated, as: 'updated', type: DateTime
407
+
408
+ end
409
+ end
410
+
411
+ class ConferenceData
412
+ # @private
413
+ class Representation < Google::Apis::Core::JsonRepresentation
414
+ property :conference_id, as: 'conferenceId'
415
+ property :conference_solution, as: 'conferenceSolution', class: Google::Apis::CalendarV3::ConferenceSolution, decorator: Google::Apis::CalendarV3::ConferenceSolution::Representation
416
+
417
+ property :create_request, as: 'createRequest', class: Google::Apis::CalendarV3::CreateConferenceRequest, decorator: Google::Apis::CalendarV3::CreateConferenceRequest::Representation
418
+
419
+ collection :entry_points, as: 'entryPoints', class: Google::Apis::CalendarV3::EntryPoint, decorator: Google::Apis::CalendarV3::EntryPoint::Representation
420
+
421
+ property :notes, as: 'notes'
422
+ property :parameters, as: 'parameters', class: Google::Apis::CalendarV3::ConferenceParameters, decorator: Google::Apis::CalendarV3::ConferenceParameters::Representation
423
+
424
+ property :signature, as: 'signature'
425
+ end
426
+ end
427
+
428
+ class ConferenceParameters
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ property :add_on_parameters, as: 'addOnParameters', class: Google::Apis::CalendarV3::ConferenceParametersAddOnParameters, decorator: Google::Apis::CalendarV3::ConferenceParametersAddOnParameters::Representation
432
+
433
+ end
434
+ end
435
+
436
+ class ConferenceParametersAddOnParameters
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ hash :parameters, as: 'parameters'
440
+ end
441
+ end
442
+
443
+ class ConferenceProperties
444
+ # @private
445
+ class Representation < Google::Apis::Core::JsonRepresentation
446
+ collection :allowed_conference_solution_types, as: 'allowedConferenceSolutionTypes'
447
+ end
448
+ end
449
+
450
+ class ConferenceRequestStatus
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ property :status_code, as: 'statusCode'
454
+ end
455
+ end
456
+
457
+ class ConferenceSolution
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :icon_uri, as: 'iconUri'
461
+ property :key, as: 'key', class: Google::Apis::CalendarV3::ConferenceSolutionKey, decorator: Google::Apis::CalendarV3::ConferenceSolutionKey::Representation
462
+
463
+ property :name, as: 'name'
464
+ end
465
+ end
466
+
467
+ class ConferenceSolutionKey
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ property :type, as: 'type'
471
+ end
472
+ end
473
+
474
+ class CreateConferenceRequest
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ property :conference_solution_key, as: 'conferenceSolutionKey', class: Google::Apis::CalendarV3::ConferenceSolutionKey, decorator: Google::Apis::CalendarV3::ConferenceSolutionKey::Representation
478
+
479
+ property :request_id, as: 'requestId'
480
+ property :status, as: 'status', class: Google::Apis::CalendarV3::ConferenceRequestStatus, decorator: Google::Apis::CalendarV3::ConferenceRequestStatus::Representation
481
+
482
+ end
483
+ end
484
+
485
+ class EntryPoint
486
+ # @private
487
+ class Representation < Google::Apis::Core::JsonRepresentation
488
+ property :access_code, as: 'accessCode'
489
+ collection :entry_point_features, as: 'entryPointFeatures'
490
+ property :entry_point_type, as: 'entryPointType'
491
+ property :label, as: 'label'
492
+ property :meeting_code, as: 'meetingCode'
493
+ property :passcode, as: 'passcode'
494
+ property :password, as: 'password'
495
+ property :pin, as: 'pin'
496
+ property :region_code, as: 'regionCode'
497
+ property :uri, as: 'uri'
498
+ end
499
+ end
500
+
501
+ class Error
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ property :domain, as: 'domain'
505
+ property :reason, as: 'reason'
506
+ end
507
+ end
508
+
509
+ class Event
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ property :anyone_can_add_self, as: 'anyoneCanAddSelf'
513
+ collection :attachments, as: 'attachments', class: Google::Apis::CalendarV3::EventAttachment, decorator: Google::Apis::CalendarV3::EventAttachment::Representation
514
+
515
+ collection :attendees, as: 'attendees', class: Google::Apis::CalendarV3::EventAttendee, decorator: Google::Apis::CalendarV3::EventAttendee::Representation
516
+
517
+ property :attendees_omitted, as: 'attendeesOmitted'
518
+ property :color_id, as: 'colorId'
519
+ property :conference_data, as: 'conferenceData', class: Google::Apis::CalendarV3::ConferenceData, decorator: Google::Apis::CalendarV3::ConferenceData::Representation
520
+
521
+ property :created, as: 'created', type: DateTime
522
+
523
+ property :creator, as: 'creator', class: Google::Apis::CalendarV3::Event::Creator, decorator: Google::Apis::CalendarV3::Event::Creator::Representation
524
+
525
+ property :description, as: 'description'
526
+ property :end, as: 'end', class: Google::Apis::CalendarV3::EventDateTime, decorator: Google::Apis::CalendarV3::EventDateTime::Representation
527
+
528
+ property :end_time_unspecified, as: 'endTimeUnspecified'
529
+ property :etag, as: 'etag'
530
+ property :extended_properties, as: 'extendedProperties', class: Google::Apis::CalendarV3::Event::ExtendedProperties, decorator: Google::Apis::CalendarV3::Event::ExtendedProperties::Representation
531
+
532
+ property :gadget, as: 'gadget', class: Google::Apis::CalendarV3::Event::Gadget, decorator: Google::Apis::CalendarV3::Event::Gadget::Representation
533
+
534
+ property :guests_can_invite_others, as: 'guestsCanInviteOthers'
535
+ property :guests_can_modify, as: 'guestsCanModify'
536
+ property :guests_can_see_other_guests, as: 'guestsCanSeeOtherGuests'
537
+ property :hangout_link, as: 'hangoutLink'
538
+ property :html_link, as: 'htmlLink'
539
+ property :i_cal_uid, as: 'iCalUID'
540
+ property :id, as: 'id'
541
+ property :kind, as: 'kind'
542
+ property :location, as: 'location'
543
+ property :locked, as: 'locked'
544
+ property :organizer, as: 'organizer', class: Google::Apis::CalendarV3::Event::Organizer, decorator: Google::Apis::CalendarV3::Event::Organizer::Representation
545
+
546
+ property :original_start_time, as: 'originalStartTime', class: Google::Apis::CalendarV3::EventDateTime, decorator: Google::Apis::CalendarV3::EventDateTime::Representation
547
+
548
+ property :private_copy, as: 'privateCopy'
549
+ collection :recurrence, as: 'recurrence'
550
+ property :recurring_event_id, as: 'recurringEventId'
551
+ property :reminders, as: 'reminders', class: Google::Apis::CalendarV3::Event::Reminders, decorator: Google::Apis::CalendarV3::Event::Reminders::Representation
552
+
553
+ property :sequence, as: 'sequence'
554
+ property :source, as: 'source', class: Google::Apis::CalendarV3::Event::Source, decorator: Google::Apis::CalendarV3::Event::Source::Representation
555
+
556
+ property :start, as: 'start', class: Google::Apis::CalendarV3::EventDateTime, decorator: Google::Apis::CalendarV3::EventDateTime::Representation
557
+
558
+ property :status, as: 'status'
559
+ property :summary, as: 'summary'
560
+ property :transparency, as: 'transparency'
561
+ property :updated, as: 'updated', type: DateTime
562
+
563
+ property :visibility, as: 'visibility'
564
+ end
565
+
566
+ class Creator
567
+ # @private
568
+ class Representation < Google::Apis::Core::JsonRepresentation
569
+ property :display_name, as: 'displayName'
570
+ property :email, as: 'email'
571
+ property :id, as: 'id'
572
+ property :self, as: 'self'
573
+ end
574
+ end
575
+
576
+ class ExtendedProperties
577
+ # @private
578
+ class Representation < Google::Apis::Core::JsonRepresentation
579
+ hash :private, as: 'private'
580
+ hash :shared, as: 'shared'
581
+ end
582
+ end
583
+
584
+ class Gadget
585
+ # @private
586
+ class Representation < Google::Apis::Core::JsonRepresentation
587
+ property :display_mode, as: 'display'
588
+ property :height, as: 'height'
589
+ property :icon_link, as: 'iconLink'
590
+ property :link, as: 'link'
591
+ hash :preferences, as: 'preferences'
592
+ property :title, as: 'title'
593
+ property :type, as: 'type'
594
+ property :width, as: 'width'
595
+ end
596
+ end
597
+
598
+ class Organizer
599
+ # @private
600
+ class Representation < Google::Apis::Core::JsonRepresentation
601
+ property :display_name, as: 'displayName'
602
+ property :email, as: 'email'
603
+ property :id, as: 'id'
604
+ property :self, as: 'self'
605
+ end
606
+ end
607
+
608
+ class Reminders
609
+ # @private
610
+ class Representation < Google::Apis::Core::JsonRepresentation
611
+ collection :overrides, as: 'overrides', class: Google::Apis::CalendarV3::EventReminder, decorator: Google::Apis::CalendarV3::EventReminder::Representation
612
+
613
+ property :use_default, as: 'useDefault'
614
+ end
615
+ end
616
+
617
+ class Source
618
+ # @private
619
+ class Representation < Google::Apis::Core::JsonRepresentation
620
+ property :title, as: 'title'
621
+ property :url, as: 'url'
622
+ end
623
+ end
624
+ end
625
+
626
+ class EventAttachment
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ property :file_id, as: 'fileId'
630
+ property :file_url, as: 'fileUrl'
631
+ property :icon_link, as: 'iconLink'
632
+ property :mime_type, as: 'mimeType'
633
+ property :title, as: 'title'
634
+ end
635
+ end
636
+
637
+ class EventAttendee
638
+ # @private
639
+ class Representation < Google::Apis::Core::JsonRepresentation
640
+ property :additional_guests, as: 'additionalGuests'
641
+ property :comment, as: 'comment'
642
+ property :display_name, as: 'displayName'
643
+ property :email, as: 'email'
644
+ property :id, as: 'id'
645
+ property :optional, as: 'optional'
646
+ property :organizer, as: 'organizer'
647
+ property :resource, as: 'resource'
648
+ property :response_status, as: 'responseStatus'
649
+ property :self, as: 'self'
650
+ end
651
+ end
652
+
653
+ class EventDateTime
654
+ # @private
655
+ class Representation < Google::Apis::Core::JsonRepresentation
656
+ property :date, as: 'date', type: Date
657
+
658
+ property :date_time, as: 'dateTime', type: DateTime
659
+
660
+ property :time_zone, as: 'timeZone'
661
+ end
662
+ end
663
+
664
+ class EventReminder
665
+ # @private
666
+ class Representation < Google::Apis::Core::JsonRepresentation
667
+ property :reminder_method, as: 'method'
668
+ property :minutes, as: 'minutes'
669
+ end
670
+ end
671
+
672
+ class Events
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :access_role, as: 'accessRole'
676
+ collection :default_reminders, as: 'defaultReminders', class: Google::Apis::CalendarV3::EventReminder, decorator: Google::Apis::CalendarV3::EventReminder::Representation
677
+
678
+ property :description, as: 'description'
679
+ property :etag, as: 'etag'
680
+ collection :items, as: 'items', class: Google::Apis::CalendarV3::Event, decorator: Google::Apis::CalendarV3::Event::Representation
681
+
682
+ property :kind, as: 'kind'
683
+ property :next_page_token, as: 'nextPageToken'
684
+ property :next_sync_token, as: 'nextSyncToken'
685
+ property :summary, as: 'summary'
686
+ property :time_zone, as: 'timeZone'
687
+ property :updated, as: 'updated', type: DateTime
688
+
689
+ end
690
+ end
691
+
692
+ class FreeBusyCalendar
693
+ # @private
694
+ class Representation < Google::Apis::Core::JsonRepresentation
695
+ collection :busy, as: 'busy', class: Google::Apis::CalendarV3::TimePeriod, decorator: Google::Apis::CalendarV3::TimePeriod::Representation
696
+
697
+ collection :errors, as: 'errors', class: Google::Apis::CalendarV3::Error, decorator: Google::Apis::CalendarV3::Error::Representation
698
+
699
+ end
700
+ end
701
+
702
+ class FreeBusyGroup
703
+ # @private
704
+ class Representation < Google::Apis::Core::JsonRepresentation
705
+ collection :calendars, as: 'calendars'
706
+ collection :errors, as: 'errors', class: Google::Apis::CalendarV3::Error, decorator: Google::Apis::CalendarV3::Error::Representation
707
+
708
+ end
709
+ end
710
+
711
+ class FreeBusyRequest
712
+ # @private
713
+ class Representation < Google::Apis::Core::JsonRepresentation
714
+ property :calendar_expansion_max, as: 'calendarExpansionMax'
715
+ property :group_expansion_max, as: 'groupExpansionMax'
716
+ collection :items, as: 'items', class: Google::Apis::CalendarV3::FreeBusyRequestItem, decorator: Google::Apis::CalendarV3::FreeBusyRequestItem::Representation
717
+
718
+ property :time_max, as: 'timeMax', type: DateTime
719
+
720
+ property :time_min, as: 'timeMin', type: DateTime
721
+
722
+ property :time_zone, as: 'timeZone'
723
+ end
724
+ end
725
+
726
+ class FreeBusyRequestItem
727
+ # @private
728
+ class Representation < Google::Apis::Core::JsonRepresentation
729
+ property :id, as: 'id'
730
+ end
731
+ end
732
+
733
+ class FreeBusyResponse
734
+ # @private
735
+ class Representation < Google::Apis::Core::JsonRepresentation
736
+ hash :calendars, as: 'calendars', class: Google::Apis::CalendarV3::FreeBusyCalendar, decorator: Google::Apis::CalendarV3::FreeBusyCalendar::Representation
737
+
738
+ hash :groups, as: 'groups', class: Google::Apis::CalendarV3::FreeBusyGroup, decorator: Google::Apis::CalendarV3::FreeBusyGroup::Representation
739
+
740
+ property :kind, as: 'kind'
741
+ property :time_max, as: 'timeMax', type: DateTime
742
+
743
+ property :time_min, as: 'timeMin', type: DateTime
744
+
745
+ end
746
+ end
747
+
748
+ class Setting
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ property :etag, as: 'etag'
752
+ property :id, as: 'id'
753
+ property :kind, as: 'kind'
754
+ property :value, as: 'value'
755
+ end
756
+ end
757
+
758
+ class Settings
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :etag, as: 'etag'
762
+ collection :items, as: 'items', class: Google::Apis::CalendarV3::Setting, decorator: Google::Apis::CalendarV3::Setting::Representation
763
+
764
+ property :kind, as: 'kind'
765
+ property :next_page_token, as: 'nextPageToken'
766
+ property :next_sync_token, as: 'nextSyncToken'
767
+ end
768
+ end
769
+
770
+ class TimePeriod
771
+ # @private
772
+ class Representation < Google::Apis::Core::JsonRepresentation
773
+ property :end, as: 'end', type: DateTime
774
+
775
+ property :start, as: 'start', type: DateTime
776
+
777
+ end
778
+ end
779
+ end
780
+ end
781
+ end