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

286 lines
9.7 KiB
Ruby
Raw Normal View History

2015-06-23 23:05:46 +00:00
# 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 CoordinateV1
class CustomField
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class CustomFieldDef
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class ListCustomFieldDefResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class CustomFields
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class EnumItemDef
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Job
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class JobChange
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class ListJobResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class JobState
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Location
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class ListLocationResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class LocationRecord
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Schedule
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Team
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class ListTeamResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class TokenPagination
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Worker
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class ListWorkerResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
# @private
class CustomField
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_field_id, as: 'customFieldId'
property :kind, as: 'kind'
property :value, as: 'value'
end
end
# @private
class CustomFieldDef
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
collection :enumitems, as: 'enumitems', class: Google::Apis::CoordinateV1::EnumItemDef, decorator: Google::Apis::CoordinateV1::EnumItemDef::Representation
property :id, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
property :required_for_checkout, as: 'requiredForCheckout'
property :type, as: 'type'
end
end
# @private
class ListCustomFieldDefResponse
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::CoordinateV1::CustomFieldDef, decorator: Google::Apis::CoordinateV1::CustomFieldDef::Representation
property :kind, as: 'kind'
end
end
# @private
class CustomFields
class Representation < Google::Apis::Core::JsonRepresentation
collection :custom_field, as: 'customField', class: Google::Apis::CoordinateV1::CustomField, decorator: Google::Apis::CoordinateV1::CustomField::Representation
property :kind, as: 'kind'
end
end
# @private
class EnumItemDef
class Representation < Google::Apis::Core::JsonRepresentation
property :active, as: 'active'
property :kind, as: 'kind'
property :value, as: 'value'
end
end
# @private
class Job
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :job_change, as: 'jobChange', class: Google::Apis::CoordinateV1::JobChange, decorator: Google::Apis::CoordinateV1::JobChange::Representation
property :kind, as: 'kind'
property :state, as: 'state', class: Google::Apis::CoordinateV1::JobState, decorator: Google::Apis::CoordinateV1::JobState::Representation
end
end
# @private
class JobChange
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :state, as: 'state', class: Google::Apis::CoordinateV1::JobState, decorator: Google::Apis::CoordinateV1::JobState::Representation
property :timestamp, as: 'timestamp'
end
end
# @private
class ListJobResponse
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::CoordinateV1::Job, decorator: Google::Apis::CoordinateV1::Job::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
# @private
class JobState
class Representation < Google::Apis::Core::JsonRepresentation
property :assignee, as: 'assignee'
property :custom_fields, as: 'customFields', class: Google::Apis::CoordinateV1::CustomFields, decorator: Google::Apis::CoordinateV1::CustomFields::Representation
property :customer_name, as: 'customerName'
property :customer_phone_number, as: 'customerPhoneNumber'
property :kind, as: 'kind'
property :location, as: 'location', class: Google::Apis::CoordinateV1::Location, decorator: Google::Apis::CoordinateV1::Location::Representation
collection :note, as: 'note'
property :progress, as: 'progress'
property :title, as: 'title'
end
end
# @private
class Location
class Representation < Google::Apis::Core::JsonRepresentation
collection :address_line, as: 'addressLine'
property :kind, as: 'kind'
property :lat, as: 'lat'
property :lng, as: 'lng'
end
end
# @private
class ListLocationResponse
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::CoordinateV1::LocationRecord, decorator: Google::Apis::CoordinateV1::LocationRecord::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :token_pagination, as: 'tokenPagination', class: Google::Apis::CoordinateV1::TokenPagination, decorator: Google::Apis::CoordinateV1::TokenPagination::Representation
end
end
# @private
class LocationRecord
class Representation < Google::Apis::Core::JsonRepresentation
property :collection_time, as: 'collectionTime'
property :confidence_radius, as: 'confidenceRadius'
property :kind, as: 'kind'
property :latitude, as: 'latitude'
property :longitude, as: 'longitude'
end
end
# @private
class Schedule
class Representation < Google::Apis::Core::JsonRepresentation
property :all_day, as: 'allDay'
property :duration, as: 'duration'
property :end_time, as: 'endTime'
property :kind, as: 'kind'
property :start_time, as: 'startTime'
end
end
# @private
class Team
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
end
end
# @private
class ListTeamResponse
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::CoordinateV1::Team, decorator: Google::Apis::CoordinateV1::Team::Representation
property :kind, as: 'kind'
end
end
# @private
class TokenPagination
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :previous_page_token, as: 'previousPageToken'
end
end
# @private
class Worker
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :kind, as: 'kind'
end
end
# @private
class ListWorkerResponse
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::CoordinateV1::Worker, decorator: Google::Apis::CoordinateV1::Worker::Representation
property :kind, as: 'kind'
end
end
end
end
end