google-api-ruby-client/generated/google/apis/mirror_v1/representations.rb

351 lines
12 KiB
Ruby
Raw Normal View History

# 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 MirrorV1
class Account
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Attachment
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class ListAttachmentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class AuthToken
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Command
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Contact
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class ListContactsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Location
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class ListLocationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class MenuItem
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class MenuValue
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Notification
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class NotificationConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Setting
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Subscription
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class ListSubscriptionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class TimelineItem
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class ListTimelineResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class UserAction
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class UserData
class Representation < Google::Apis::Core::JsonRepresentation; end
end
# @private
class Account
class Representation < Google::Apis::Core::JsonRepresentation
collection :auth_tokens, as: 'authTokens', class: Google::Apis::MirrorV1::AuthToken, decorator: Google::Apis::MirrorV1::AuthToken::Representation
collection :features, as: 'features'
property :password, as: 'password'
collection :user_data, as: 'userData', class: Google::Apis::MirrorV1::UserData, decorator: Google::Apis::MirrorV1::UserData::Representation
end
end
# @private
class Attachment
class Representation < Google::Apis::Core::JsonRepresentation
property :content_type, as: 'contentType'
property :content_url, as: 'contentUrl'
property :id, as: 'id'
property :is_processing_content, as: 'isProcessingContent'
end
end
# @private
class ListAttachmentsResponse
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::MirrorV1::Attachment, decorator: Google::Apis::MirrorV1::Attachment::Representation
property :kind, as: 'kind'
end
end
# @private
class AuthToken
class Representation < Google::Apis::Core::JsonRepresentation
property :auth_token, as: 'authToken'
property :type, as: 'type'
end
end
# @private
class Command
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
end
end
# @private
class Contact
class Representation < Google::Apis::Core::JsonRepresentation
collection :accept_commands, as: 'acceptCommands', class: Google::Apis::MirrorV1::Command, decorator: Google::Apis::MirrorV1::Command::Representation
collection :accept_types, as: 'acceptTypes'
property :display_name, as: 'displayName'
property :id, as: 'id'
collection :image_urls, as: 'imageUrls'
property :kind, as: 'kind'
property :phone_number, as: 'phoneNumber'
property :priority, as: 'priority'
collection :sharing_features, as: 'sharingFeatures'
property :source, as: 'source'
property :speakable_name, as: 'speakableName'
property :type, as: 'type'
end
end
# @private
class ListContactsResponse
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::MirrorV1::Contact, decorator: Google::Apis::MirrorV1::Contact::Representation
property :kind, as: 'kind'
end
end
# @private
class Location
class Representation < Google::Apis::Core::JsonRepresentation
property :accuracy, as: 'accuracy'
property :address, as: 'address'
property :display_name, as: 'displayName'
property :id, as: 'id'
property :kind, as: 'kind'
property :latitude, as: 'latitude'
property :longitude, as: 'longitude'
property :timestamp, as: 'timestamp', type: DateTime
end
end
# @private
class ListLocationsResponse
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::MirrorV1::Location, decorator: Google::Apis::MirrorV1::Location::Representation
property :kind, as: 'kind'
end
end
# @private
class MenuItem
class Representation < Google::Apis::Core::JsonRepresentation
property :action, as: 'action'
property :contextual_command, as: 'contextual_command'
property :id, as: 'id'
property :payload, as: 'payload'
property :remove_when_selected, as: 'removeWhenSelected'
collection :values, as: 'values', class: Google::Apis::MirrorV1::MenuValue, decorator: Google::Apis::MirrorV1::MenuValue::Representation
end
end
# @private
class MenuValue
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :icon_url, as: 'iconUrl'
property :state, as: 'state'
end
end
# @private
class Notification
class Representation < Google::Apis::Core::JsonRepresentation
property :collection, as: 'collection'
property :item_id, as: 'itemId'
property :operation, as: 'operation'
collection :user_actions, as: 'userActions', class: Google::Apis::MirrorV1::UserAction, decorator: Google::Apis::MirrorV1::UserAction::Representation
property :user_token, as: 'userToken'
property :verify_token, as: 'verifyToken'
end
end
# @private
class NotificationConfig
class Representation < Google::Apis::Core::JsonRepresentation
property :delivery_time, as: 'deliveryTime', type: DateTime
property :level, as: 'level'
end
end
# @private
class Setting
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :kind, as: 'kind'
property :value, as: 'value'
end
end
# @private
class Subscription
class Representation < Google::Apis::Core::JsonRepresentation
property :callback_url, as: 'callbackUrl'
property :collection, as: 'collection'
property :id, as: 'id'
property :kind, as: 'kind'
property :notification, as: 'notification', class: Google::Apis::MirrorV1::Notification, decorator: Google::Apis::MirrorV1::Notification::Representation
collection :operation, as: 'operation'
property :updated, as: 'updated', type: DateTime
property :user_token, as: 'userToken'
property :verify_token, as: 'verifyToken'
end
end
# @private
class ListSubscriptionsResponse
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::MirrorV1::Subscription, decorator: Google::Apis::MirrorV1::Subscription::Representation
property :kind, as: 'kind'
end
end
# @private
class TimelineItem
class Representation < Google::Apis::Core::JsonRepresentation
collection :attachments, as: 'attachments', class: Google::Apis::MirrorV1::Attachment, decorator: Google::Apis::MirrorV1::Attachment::Representation
property :bundle_id, as: 'bundleId'
property :canonical_url, as: 'canonicalUrl'
property :created, as: 'created', type: DateTime
property :creator, as: 'creator', class: Google::Apis::MirrorV1::Contact, decorator: Google::Apis::MirrorV1::Contact::Representation
property :display_time, as: 'displayTime', type: DateTime
property :etag, as: 'etag'
property :html, as: 'html'
property :id, as: 'id'
property :in_reply_to, as: 'inReplyTo'
property :is_bundle_cover, as: 'isBundleCover'
property :is_deleted, as: 'isDeleted'
property :is_pinned, as: 'isPinned'
property :kind, as: 'kind'
property :location, as: 'location', class: Google::Apis::MirrorV1::Location, decorator: Google::Apis::MirrorV1::Location::Representation
collection :menu_items, as: 'menuItems', class: Google::Apis::MirrorV1::MenuItem, decorator: Google::Apis::MirrorV1::MenuItem::Representation
property :notification, as: 'notification', class: Google::Apis::MirrorV1::NotificationConfig, decorator: Google::Apis::MirrorV1::NotificationConfig::Representation
property :pin_score, as: 'pinScore'
collection :recipients, as: 'recipients', class: Google::Apis::MirrorV1::Contact, decorator: Google::Apis::MirrorV1::Contact::Representation
property :self_link, as: 'selfLink'
property :source_item_id, as: 'sourceItemId'
property :speakable_text, as: 'speakableText'
property :speakable_type, as: 'speakableType'
property :text, as: 'text'
property :title, as: 'title'
property :updated, as: 'updated', type: DateTime
end
end
# @private
class ListTimelineResponse
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::MirrorV1::TimelineItem, decorator: Google::Apis::MirrorV1::TimelineItem::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
# @private
class UserAction
class Representation < Google::Apis::Core::JsonRepresentation
property :payload, as: 'payload'
property :type, as: 'type'
end
end
# @private
class UserData
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
end