generated/google/apis/people_v1/representations.rb in google-api-client-0.11.2 vs generated/google/apis/people_v1/representations.rb in google-api-client-0.11.3
- old
+ new
@@ -20,34 +20,10 @@
module Google
module Apis
module PeopleV1
- class ContactGroupMembership
- class Representation < Google::Apis::Core::JsonRepresentation; end
-
- include Google::Apis::Core::JsonObjectSupport
- end
-
- class Status
- class Representation < Google::Apis::Core::JsonRepresentation; end
-
- include Google::Apis::Core::JsonObjectSupport
- end
-
- class PersonMetadata
- class Representation < Google::Apis::Core::JsonRepresentation; end
-
- include Google::Apis::Core::JsonObjectSupport
- end
-
- class Event
- class Representation < Google::Apis::Core::JsonRepresentation; end
-
- include Google::Apis::Core::JsonObjectSupport
- end
-
class ProfileMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -116,17 +92,17 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Date
+ class Tagline
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Tagline
+ class Date
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -170,23 +146,23 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class RelationshipInterest
+ class PersonResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Source
+ class RelationshipInterest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class PersonResponse
+ class Source
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -248,48 +224,32 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ContactGroupMembership
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- property :contact_group_id, as: 'contactGroupId'
- end
+ class Status
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
end
- class Status
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- collection :details, as: 'details'
- property :code, as: 'code'
- property :message, as: 'message'
- end
+ class ContactGroupMembership
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
end
class PersonMetadata
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- property :object_type, as: 'objectType'
- collection :linked_people_resource_names, as: 'linkedPeopleResourceNames'
- collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
+ class Representation < Google::Apis::Core::JsonRepresentation; end
- collection :previous_resource_names, as: 'previousResourceNames'
- property :deleted, as: 'deleted'
- end
+ include Google::Apis::Core::JsonObjectSupport
end
class Event
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- property :formatted_type, as: 'formattedType'
- property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+ class Representation < Google::Apis::Core::JsonRepresentation; end
- property :type, as: 'type'
- property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
-
- end
+ include Google::Apis::Core::JsonObjectSupport
end
class ProfileMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -308,35 +268,35 @@
end
class Url
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
-
- property :type, as: 'type'
property :value, as: 'value'
property :formatted_type, as: 'formattedType'
+ property :type, as: 'type'
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+
end
end
class CoverPhoto
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :default, as: 'default'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :default, as: 'default'
property :url, as: 'url'
end
end
class ImClient
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :protocol, as: 'protocol'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
property :type, as: 'type'
+ property :protocol, as: 'protocol'
property :username, as: 'username'
property :formatted_protocol, as: 'formattedProtocol'
property :formatted_type, as: 'formattedType'
end
end
@@ -354,22 +314,22 @@
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :value, as: 'value'
property :formatted_type, as: 'formattedType'
property :display_name, as: 'displayName'
+ property :type, as: 'type'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :type, as: 'type'
end
end
class Nickname
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :type, as: 'type'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :type, as: 'type'
property :value, as: 'value'
end
end
class Skill
@@ -389,125 +349,125 @@
end
class Membership
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation
-
property :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation
+ property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation
+
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
end
end
class RelationshipStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :formatted_value, as: 'formattedValue'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
property :value, as: 'value'
+ property :formatted_value, as: 'formattedValue'
end
end
- class Date
+ class Tagline
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :year, as: 'year'
- property :day, as: 'day'
- property :month, as: 'month'
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+
+ property :value, as: 'value'
end
end
- class Tagline
+ class Date
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
-
- property :value, as: 'value'
+ property :day, as: 'day'
+ property :year, as: 'year'
+ property :month, as: 'month'
end
end
class Name
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :honorific_prefix, as: 'honorificPrefix'
- property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix'
- property :given_name, as: 'givenName'
- property :middle_name, as: 'middleName'
- property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix'
- property :phonetic_given_name, as: 'phoneticGivenName'
property :phonetic_family_name, as: 'phoneticFamilyName'
property :family_name, as: 'familyName'
property :phonetic_middle_name, as: 'phoneticMiddleName'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
property :phonetic_full_name, as: 'phoneticFullName'
property :display_name_last_first, as: 'displayNameLastFirst'
property :display_name, as: 'displayName'
property :honorific_suffix, as: 'honorificSuffix'
+ property :honorific_prefix, as: 'honorificPrefix'
+ property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix'
+ property :given_name, as: 'givenName'
+ property :middle_name, as: 'middleName'
+ property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix'
+ property :phonetic_given_name, as: 'phoneticGivenName'
end
end
class BraggingRights
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :value, as: 'value'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+ property :value, as: 'value'
end
end
class Locale
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :value, as: 'value'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+ property :value, as: 'value'
end
end
class Organization
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :department, as: 'department'
- property :phonetic_name, as: 'phoneticName'
- property :type, as: 'type'
- property :job_description, as: 'jobDescription'
property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
property :symbol, as: 'symbol'
property :name, as: 'name'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :title, as: 'title'
property :location, as: 'location'
+ property :title, as: 'title'
property :current, as: 'current'
+ property :formatted_type, as: 'formattedType'
property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
- property :formatted_type, as: 'formattedType'
property :domain, as: 'domain'
+ property :department, as: 'department'
+ property :phonetic_name, as: 'phoneticName'
+ property :type, as: 'type'
+ property :job_description, as: 'jobDescription'
end
end
class Biography
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :value, as: 'value'
property :content_type, as: 'contentType'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+ property :value, as: 'value'
end
end
class AgeRangeType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :age_range, as: 'ageRange'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+ property :age_range, as: 'ageRange'
end
end
class FieldMetadata
# @private
@@ -517,10 +477,22 @@
property :verified, as: 'verified'
property :primary, as: 'primary'
end
end
+ class PersonResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
+
+ property :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation
+
+ property :http_status_code, as: 'httpStatusCode'
+ property :requested_resource_name, as: 'requestedResourceName'
+ end
+ end
+
class RelationshipInterest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :value, as: 'value'
property :formatted_value, as: 'formattedValue'
@@ -538,30 +510,18 @@
property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation
end
end
- class PersonResponse
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- property :requested_resource_name, as: 'requestedResourceName'
- property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
-
- property :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation
-
- property :http_status_code, as: 'httpStatusCode'
- end
- end
-
class Relation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :type, as: 'type'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :type, as: 'type'
- property :person, as: 'person'
property :formatted_type, as: 'formattedType'
+ property :person, as: 'person'
end
end
class Occupation
# @private
@@ -573,28 +533,24 @@
end
class Person
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation
-
- collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation
-
collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation
collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation
collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation
collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation
collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation
- collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation
-
collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation
+ collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation
+
collection :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation
collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation
collection :organizations, as: 'organizations', class: Google::Apis::PeopleV1::Organization, decorator: Google::Apis::PeopleV1::Organization::Representation
@@ -606,13 +562,13 @@
collection :residences, as: 'residences', class: Google::Apis::PeopleV1::Residence, decorator: Google::Apis::PeopleV1::Residence::Representation
collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation
- property :resource_name, as: 'resourceName'
collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation
+ property :resource_name, as: 'resourceName'
collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation
collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation
collection :relationship_statuses, as: 'relationshipStatuses', class: Google::Apis::PeopleV1::RelationshipStatus, decorator: Google::Apis::PeopleV1::RelationshipStatus::Representation
@@ -630,10 +586,14 @@
collection :memberships, as: 'memberships', class: Google::Apis::PeopleV1::Membership, decorator: Google::Apis::PeopleV1::Membership::Representation
collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation
+ collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation
+
+ collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation
+
end
end
class GetPeopleResponse
# @private
@@ -644,54 +604,55 @@
end
class PhoneNumber
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :formatted_type, as: 'formattedType'
- property :canonical_form, as: 'canonicalForm'
+ property :type, as: 'type'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :type, as: 'type'
property :value, as: 'value'
+ property :formatted_type, as: 'formattedType'
+ property :canonical_form, as: 'canonicalForm'
end
end
class Photo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :url, as: 'url'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+ property :url, as: 'url'
end
end
class ListConnectionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
+ property :total_items, as: 'totalItems'
+ property :next_sync_token, as: 'nextSyncToken'
collection :connections, as: 'connections', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
- property :next_sync_token, as: 'nextSyncToken'
- property :total_items, as: 'totalItems'
property :total_people, as: 'totalPeople'
end
end
class Birthday
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :text, as: 'text'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :text, as: 'text'
property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
end
end
class Address
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :country_code, as: 'countryCode'
property :formatted_type, as: 'formattedType'
property :city, as: 'city'
property :formatted_value, as: 'formattedValue'
property :country, as: 'country'
property :type, as: 'type'
@@ -700,20 +661,59 @@
property :postal_code, as: 'postalCode'
property :region, as: 'region'
property :street_address, as: 'streetAddress'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :country_code, as: 'countryCode'
end
end
class Residence
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :current, as: 'current'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :current, as: 'current'
property :value, as: 'value'
+ end
+ end
+
+ class Status
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :code, as: 'code'
+ property :message, as: 'message'
+ collection :details, as: 'details'
+ end
+ end
+
+ class ContactGroupMembership
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :contact_group_id, as: 'contactGroupId'
+ end
+ end
+
+ class PersonMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :linked_people_resource_names, as: 'linkedPeopleResourceNames'
+ collection :previous_resource_names, as: 'previousResourceNames'
+ collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
+
+ property :deleted, as: 'deleted'
+ property :object_type, as: 'objectType'
+ end
+ end
+
+ class Event
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :type, as: 'type'
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+
+ property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
+
+ property :formatted_type, as: 'formattedType'
end
end
end
end
end