729 lines
26 KiB
Ruby
729 lines
26 KiB
Ruby
# Copyright 2015 Google Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
require 'date'
|
|
require 'google/apis/core/base_service'
|
|
require 'google/apis/core/json_representation'
|
|
require 'google/apis/core/hashable'
|
|
require 'google/apis/errors'
|
|
|
|
module Google
|
|
module Apis
|
|
module CalendarV3
|
|
|
|
class Acl
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class AclRule
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
class Scope
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Calendar
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class CalendarList
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class CalendarListEntry
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
class NotificationSettings
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class CalendarNotification
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Channel
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class ColorDefinition
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Colors
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class DeepLinkData
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class DisplayInfo
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Error
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Event
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
class Creator
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class ExtendedProperties
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Gadget
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Organizer
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Reminders
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Source
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class EventAttachment
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class EventAttendee
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class EventDateTime
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class EventHabitInstance
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class EventReminder
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Events
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class FreeBusyCalendar
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class FreeBusyGroup
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class FreeBusyRequest
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class FreeBusyRequestItem
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class FreeBusyResponse
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class HabitInstanceData
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class LaunchInfo
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Link
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Setting
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Settings
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class TimePeriod
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class Acl
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :etag, as: 'etag'
|
|
collection :items, as: 'items', class: Google::Apis::CalendarV3::AclRule, decorator: Google::Apis::CalendarV3::AclRule::Representation
|
|
|
|
property :kind, as: 'kind'
|
|
property :next_page_token, as: 'nextPageToken'
|
|
property :next_sync_token, as: 'nextSyncToken'
|
|
end
|
|
end
|
|
|
|
class AclRule
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :etag, as: 'etag'
|
|
property :id, as: 'id'
|
|
property :kind, as: 'kind'
|
|
property :role, as: 'role'
|
|
property :scope, as: 'scope', class: Google::Apis::CalendarV3::AclRule::Scope, decorator: Google::Apis::CalendarV3::AclRule::Scope::Representation
|
|
|
|
end
|
|
|
|
class Scope
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :type, as: 'type'
|
|
property :value, as: 'value'
|
|
end
|
|
end
|
|
end
|
|
|
|
class Calendar
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :description, as: 'description'
|
|
property :etag, as: 'etag'
|
|
property :id, as: 'id'
|
|
property :kind, as: 'kind'
|
|
property :location, as: 'location'
|
|
property :summary, as: 'summary'
|
|
property :time_zone, as: 'timeZone'
|
|
end
|
|
end
|
|
|
|
class CalendarList
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :etag, as: 'etag'
|
|
collection :items, as: 'items', class: Google::Apis::CalendarV3::CalendarListEntry, decorator: Google::Apis::CalendarV3::CalendarListEntry::Representation
|
|
|
|
property :kind, as: 'kind'
|
|
property :next_page_token, as: 'nextPageToken'
|
|
property :next_sync_token, as: 'nextSyncToken'
|
|
end
|
|
end
|
|
|
|
class CalendarListEntry
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :access_role, as: 'accessRole'
|
|
property :background_color, as: 'backgroundColor'
|
|
property :color_id, as: 'colorId'
|
|
collection :default_reminders, as: 'defaultReminders', class: Google::Apis::CalendarV3::EventReminder, decorator: Google::Apis::CalendarV3::EventReminder::Representation
|
|
|
|
property :deleted, as: 'deleted'
|
|
property :description, as: 'description'
|
|
property :etag, as: 'etag'
|
|
property :foreground_color, as: 'foregroundColor'
|
|
property :hidden, as: 'hidden'
|
|
property :id, as: 'id'
|
|
property :kind, as: 'kind'
|
|
property :location, as: 'location'
|
|
property :notification_settings, as: 'notificationSettings', class: Google::Apis::CalendarV3::CalendarListEntry::NotificationSettings, decorator: Google::Apis::CalendarV3::CalendarListEntry::NotificationSettings::Representation
|
|
|
|
property :primary, as: 'primary'
|
|
property :selected, as: 'selected'
|
|
property :summary, as: 'summary'
|
|
property :summary_override, as: 'summaryOverride'
|
|
property :time_zone, as: 'timeZone'
|
|
end
|
|
|
|
class NotificationSettings
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :notifications, as: 'notifications', class: Google::Apis::CalendarV3::CalendarNotification, decorator: Google::Apis::CalendarV3::CalendarNotification::Representation
|
|
|
|
end
|
|
end
|
|
end
|
|
|
|
class CalendarNotification
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :delivery_method, as: 'method'
|
|
property :type, as: 'type'
|
|
end
|
|
end
|
|
|
|
class Channel
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :address, as: 'address'
|
|
property :expiration, as: 'expiration'
|
|
property :id, as: 'id'
|
|
property :kind, as: 'kind'
|
|
hash :params, as: 'params'
|
|
property :payload, as: 'payload'
|
|
property :resource_id, as: 'resourceId'
|
|
property :resource_uri, as: 'resourceUri'
|
|
property :token, as: 'token'
|
|
property :type, as: 'type'
|
|
end
|
|
end
|
|
|
|
class ColorDefinition
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :background, as: 'background'
|
|
property :foreground, as: 'foreground'
|
|
end
|
|
end
|
|
|
|
class Colors
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
hash :calendar, as: 'calendar', class: Google::Apis::CalendarV3::ColorDefinition, decorator: Google::Apis::CalendarV3::ColorDefinition::Representation
|
|
|
|
hash :event, as: 'event', class: Google::Apis::CalendarV3::ColorDefinition, decorator: Google::Apis::CalendarV3::ColorDefinition::Representation
|
|
|
|
property :kind, as: 'kind'
|
|
property :updated, as: 'updated', type: DateTime
|
|
|
|
end
|
|
end
|
|
|
|
class DeepLinkData
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :links, as: 'links', class: Google::Apis::CalendarV3::Link, decorator: Google::Apis::CalendarV3::Link::Representation
|
|
|
|
property :url, as: 'url'
|
|
end
|
|
end
|
|
|
|
class DisplayInfo
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :app_icon_url, as: 'appIconUrl'
|
|
property :app_short_title, as: 'appShortTitle'
|
|
property :app_title, as: 'appTitle'
|
|
property :link_short_title, as: 'linkShortTitle'
|
|
property :link_title, as: 'linkTitle'
|
|
end
|
|
end
|
|
|
|
class Error
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :domain, as: 'domain'
|
|
property :reason, as: 'reason'
|
|
end
|
|
end
|
|
|
|
class Event
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :anyone_can_add_self, as: 'anyoneCanAddSelf'
|
|
collection :attachments, as: 'attachments', class: Google::Apis::CalendarV3::EventAttachment, decorator: Google::Apis::CalendarV3::EventAttachment::Representation
|
|
|
|
collection :attendees, as: 'attendees', class: Google::Apis::CalendarV3::EventAttendee, decorator: Google::Apis::CalendarV3::EventAttendee::Representation
|
|
|
|
property :attendees_omitted, as: 'attendeesOmitted'
|
|
property :color_id, as: 'colorId'
|
|
property :created, as: 'created', type: DateTime
|
|
|
|
property :creator, as: 'creator', class: Google::Apis::CalendarV3::Event::Creator, decorator: Google::Apis::CalendarV3::Event::Creator::Representation
|
|
|
|
property :description, as: 'description'
|
|
property :end, as: 'end', class: Google::Apis::CalendarV3::EventDateTime, decorator: Google::Apis::CalendarV3::EventDateTime::Representation
|
|
|
|
property :end_time_unspecified, as: 'endTimeUnspecified'
|
|
property :etag, as: 'etag'
|
|
property :extended_properties, as: 'extendedProperties', class: Google::Apis::CalendarV3::Event::ExtendedProperties, decorator: Google::Apis::CalendarV3::Event::ExtendedProperties::Representation
|
|
|
|
property :gadget, as: 'gadget', class: Google::Apis::CalendarV3::Event::Gadget, decorator: Google::Apis::CalendarV3::Event::Gadget::Representation
|
|
|
|
property :guests_can_invite_others, as: 'guestsCanInviteOthers'
|
|
property :guests_can_modify, as: 'guestsCanModify'
|
|
property :guests_can_see_other_guests, as: 'guestsCanSeeOtherGuests'
|
|
property :hangout_link, as: 'hangoutLink'
|
|
property :html_link, as: 'htmlLink'
|
|
property :i_cal_uid, as: 'iCalUID'
|
|
property :id, as: 'id'
|
|
property :kind, as: 'kind'
|
|
property :location, as: 'location'
|
|
property :locked, as: 'locked'
|
|
property :organizer, as: 'organizer', class: Google::Apis::CalendarV3::Event::Organizer, decorator: Google::Apis::CalendarV3::Event::Organizer::Representation
|
|
|
|
property :original_start_time, as: 'originalStartTime', class: Google::Apis::CalendarV3::EventDateTime, decorator: Google::Apis::CalendarV3::EventDateTime::Representation
|
|
|
|
property :private_copy, as: 'privateCopy'
|
|
collection :recurrence, as: 'recurrence'
|
|
property :recurring_event_id, as: 'recurringEventId'
|
|
property :reminders, as: 'reminders', class: Google::Apis::CalendarV3::Event::Reminders, decorator: Google::Apis::CalendarV3::Event::Reminders::Representation
|
|
|
|
property :sequence, as: 'sequence'
|
|
property :source, as: 'source', class: Google::Apis::CalendarV3::Event::Source, decorator: Google::Apis::CalendarV3::Event::Source::Representation
|
|
|
|
property :start, as: 'start', class: Google::Apis::CalendarV3::EventDateTime, decorator: Google::Apis::CalendarV3::EventDateTime::Representation
|
|
|
|
property :status, as: 'status'
|
|
property :summary, as: 'summary'
|
|
property :transparency, as: 'transparency'
|
|
property :updated, as: 'updated', type: DateTime
|
|
|
|
property :visibility, as: 'visibility'
|
|
end
|
|
|
|
class Creator
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :display_name, as: 'displayName'
|
|
property :email, as: 'email'
|
|
property :id, as: 'id'
|
|
property :self, as: 'self'
|
|
end
|
|
end
|
|
|
|
class ExtendedProperties
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
hash :private, as: 'private'
|
|
hash :shared, as: 'shared'
|
|
end
|
|
end
|
|
|
|
class Gadget
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :display_mode, as: 'display'
|
|
property :height, as: 'height'
|
|
property :icon_link, as: 'iconLink'
|
|
property :link, as: 'link'
|
|
hash :preferences, as: 'preferences'
|
|
property :title, as: 'title'
|
|
property :type, as: 'type'
|
|
property :width, as: 'width'
|
|
end
|
|
end
|
|
|
|
class Organizer
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :display_name, as: 'displayName'
|
|
property :email, as: 'email'
|
|
property :id, as: 'id'
|
|
property :self, as: 'self'
|
|
end
|
|
end
|
|
|
|
class Reminders
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :overrides, as: 'overrides', class: Google::Apis::CalendarV3::EventReminder, decorator: Google::Apis::CalendarV3::EventReminder::Representation
|
|
|
|
property :use_default, as: 'useDefault'
|
|
end
|
|
end
|
|
|
|
class Source
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :title, as: 'title'
|
|
property :url, as: 'url'
|
|
end
|
|
end
|
|
end
|
|
|
|
class EventAttachment
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :file_id, as: 'fileId'
|
|
property :file_url, as: 'fileUrl'
|
|
property :icon_link, as: 'iconLink'
|
|
property :mime_type, as: 'mimeType'
|
|
property :title, as: 'title'
|
|
end
|
|
end
|
|
|
|
class EventAttendee
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :additional_guests, as: 'additionalGuests'
|
|
property :comment, as: 'comment'
|
|
property :display_name, as: 'displayName'
|
|
property :email, as: 'email'
|
|
property :id, as: 'id'
|
|
property :optional, as: 'optional'
|
|
property :organizer, as: 'organizer'
|
|
property :resource, as: 'resource'
|
|
property :response_status, as: 'responseStatus'
|
|
property :self, as: 'self'
|
|
end
|
|
end
|
|
|
|
class EventDateTime
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :date, as: 'date', type: Date
|
|
|
|
property :date_time, as: 'dateTime', type: DateTime
|
|
|
|
property :time_zone, as: 'timeZone'
|
|
end
|
|
end
|
|
|
|
class EventHabitInstance
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :data, as: 'data', class: Google::Apis::CalendarV3::HabitInstanceData, decorator: Google::Apis::CalendarV3::HabitInstanceData::Representation
|
|
|
|
property :parent_id, as: 'parentId'
|
|
end
|
|
end
|
|
|
|
class EventReminder
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :reminder_method, as: 'method'
|
|
property :minutes, as: 'minutes'
|
|
end
|
|
end
|
|
|
|
class Events
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :access_role, as: 'accessRole'
|
|
collection :default_reminders, as: 'defaultReminders', class: Google::Apis::CalendarV3::EventReminder, decorator: Google::Apis::CalendarV3::EventReminder::Representation
|
|
|
|
property :description, as: 'description'
|
|
property :etag, as: 'etag'
|
|
collection :items, as: 'items', class: Google::Apis::CalendarV3::Event, decorator: Google::Apis::CalendarV3::Event::Representation
|
|
|
|
property :kind, as: 'kind'
|
|
property :next_page_token, as: 'nextPageToken'
|
|
property :next_sync_token, as: 'nextSyncToken'
|
|
property :summary, as: 'summary'
|
|
property :time_zone, as: 'timeZone'
|
|
property :updated, as: 'updated', type: DateTime
|
|
|
|
end
|
|
end
|
|
|
|
class FreeBusyCalendar
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :busy, as: 'busy', class: Google::Apis::CalendarV3::TimePeriod, decorator: Google::Apis::CalendarV3::TimePeriod::Representation
|
|
|
|
collection :errors, as: 'errors', class: Google::Apis::CalendarV3::Error, decorator: Google::Apis::CalendarV3::Error::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class FreeBusyGroup
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :calendars, as: 'calendars'
|
|
collection :errors, as: 'errors', class: Google::Apis::CalendarV3::Error, decorator: Google::Apis::CalendarV3::Error::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class FreeBusyRequest
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :calendar_expansion_max, as: 'calendarExpansionMax'
|
|
property :group_expansion_max, as: 'groupExpansionMax'
|
|
collection :items, as: 'items', class: Google::Apis::CalendarV3::FreeBusyRequestItem, decorator: Google::Apis::CalendarV3::FreeBusyRequestItem::Representation
|
|
|
|
property :time_max, as: 'timeMax', type: DateTime
|
|
|
|
property :time_min, as: 'timeMin', type: DateTime
|
|
|
|
property :time_zone, as: 'timeZone'
|
|
end
|
|
end
|
|
|
|
class FreeBusyRequestItem
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :id, as: 'id'
|
|
end
|
|
end
|
|
|
|
class FreeBusyResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
hash :calendars, as: 'calendars', class: Google::Apis::CalendarV3::FreeBusyCalendar, decorator: Google::Apis::CalendarV3::FreeBusyCalendar::Representation
|
|
|
|
hash :groups, as: 'groups', class: Google::Apis::CalendarV3::FreeBusyGroup, decorator: Google::Apis::CalendarV3::FreeBusyGroup::Representation
|
|
|
|
property :kind, as: 'kind'
|
|
property :time_max, as: 'timeMax', type: DateTime
|
|
|
|
property :time_min, as: 'timeMin', type: DateTime
|
|
|
|
end
|
|
end
|
|
|
|
class HabitInstanceData
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :status, as: 'status'
|
|
property :status_inferred, as: 'statusInferred'
|
|
property :type, as: 'type'
|
|
end
|
|
end
|
|
|
|
class LaunchInfo
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :app_id, as: 'appId'
|
|
property :install_url, as: 'installUrl'
|
|
property :intent_action, as: 'intentAction'
|
|
property :uri, as: 'uri'
|
|
end
|
|
end
|
|
|
|
class Link
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :applinking_source, as: 'applinkingSource'
|
|
property :display_info, as: 'displayInfo', class: Google::Apis::CalendarV3::DisplayInfo, decorator: Google::Apis::CalendarV3::DisplayInfo::Representation
|
|
|
|
property :launch_info, as: 'launchInfo', class: Google::Apis::CalendarV3::LaunchInfo, decorator: Google::Apis::CalendarV3::LaunchInfo::Representation
|
|
|
|
property :platform, as: 'platform'
|
|
property :url, as: 'url'
|
|
end
|
|
end
|
|
|
|
class Setting
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :etag, as: 'etag'
|
|
property :id, as: 'id'
|
|
property :kind, as: 'kind'
|
|
property :value, as: 'value'
|
|
end
|
|
end
|
|
|
|
class Settings
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :etag, as: 'etag'
|
|
collection :items, as: 'items', class: Google::Apis::CalendarV3::Setting, decorator: Google::Apis::CalendarV3::Setting::Representation
|
|
|
|
property :kind, as: 'kind'
|
|
property :next_page_token, as: 'nextPageToken'
|
|
property :next_sync_token, as: 'nextSyncToken'
|
|
end
|
|
end
|
|
|
|
class TimePeriod
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :end, as: 'end', type: DateTime
|
|
|
|
property :start, as: 'start', type: DateTime
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|