generated/google/apis/people_v1/representations.rb in google-api-client-0.12.0 vs generated/google/apis/people_v1/representations.rb in google-api-client-0.13.0

- old
+ new

@@ -38,17 +38,17 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Photo + class PhoneNumber class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PhoneNumber + class Photo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -86,17 +86,17 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PersonMetadata + class Event class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Event + class PersonMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -104,17 +104,17 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Gender + class Url class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Url + class Gender class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -134,17 +134,17 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class EmailAddress + class Nickname class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Nickname + class EmailAddress class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -230,17 +230,17 @@ 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 RelationshipInterest + class Source class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -260,20 +260,10 @@ end class Person # @private class Representation < Google::Apis::Core::JsonRepresentation - 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 :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 @@ -317,10 +307,20 @@ 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 + + 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 + end end class GetPeopleResponse # @private @@ -328,28 +328,28 @@ collection :responses, as: 'responses', class: Google::Apis::PeopleV1::PersonResponse, decorator: Google::Apis::PeopleV1::PersonResponse::Representation end end - class Photo + class PhoneNumber # @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 :url, as: 'url' + property :value, as: 'value' + property :formatted_type, as: 'formattedType' + property :canonical_form, as: 'canonicalForm' end end - class PhoneNumber + class Photo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - 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 :url, as: 'url' end end class ListConnectionsResponse # @private @@ -364,15 +364,15 @@ end class Birthday # @private class Representation < Google::Apis::Core::JsonRepresentation - property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - property :text, as: 'text' 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 + end end class Residence # @private @@ -385,23 +385,23 @@ end class Address # @private class Representation < Google::Apis::Core::JsonRepresentation - property :country, as: 'country' - property :type, as: 'type' - property :extended_address, as: 'extendedAddress' property :po_box, as: 'poBox' 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' property :formatted_type, as: 'formattedType' property :city, as: 'city' property :formatted_value, as: 'formattedValue' + property :country, as: 'country' + property :type, as: 'type' + property :extended_address, as: 'extendedAddress' end end class ContactGroupMembership # @private @@ -411,88 +411,88 @@ end class Status # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :details, as: 'details' property :code, as: 'code' property :message, as: 'message' + collection :details, as: 'details' end end - class PersonMetadata + class Event # @private class Representation < Google::Apis::Core::JsonRepresentation - property :object_type, as: 'objectType' - 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 :type, as: 'type' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :deleted, as: 'deleted' + property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + property :formatted_type, as: 'formattedType' end end - class Event + class PersonMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + 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 :formatted_type, as: 'formattedType' - property :type, as: 'type' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - + property :deleted, as: 'deleted' + property :object_type, as: 'objectType' end end class ProfileMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation property :object_type, as: 'objectType' end end - class Gender + class Url # @private class Representation < Google::Apis::Core::JsonRepresentation - property :formatted_value, as: 'formattedValue' + property :type, as: 'type' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation property :value, as: 'value' + property :formatted_type, as: 'formattedType' end end - class Url + class Gender # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' + 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_type, as: 'formattedType' end end class CoverPhoto # @private class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' property :default, as: 'default' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + property :url, as: 'url' end end class ImClient # @private class Representation < Google::Apis::Core::JsonRepresentation - property :formatted_protocol, as: 'formattedProtocol' - property :formatted_type, as: 'formattedType' 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 class Interest # @private @@ -501,29 +501,29 @@ property :value, as: 'value' end end - class EmailAddress + class Nickname # @private class Representation < Google::Apis::Core::JsonRepresentation - 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 :value, as: 'value' - property :formatted_type, as: 'formattedType' end end - class Nickname + class EmailAddress # @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 :value, as: 'value' + property :formatted_type, as: 'formattedType' + property :display_name, as: 'displayName' end end class Skill # @private @@ -542,16 +542,16 @@ end class Membership # @private class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::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 @@ -564,13 +564,13 @@ end class Date # @private class Representation < Google::Apis::Core::JsonRepresentation + property :month, as: 'month' property :day, as: 'day' property :year, as: 'year' - property :month, as: 'month' end end class Tagline # @private @@ -582,25 +582,25 @@ end class Name # @private class Representation < Google::Apis::Core::JsonRepresentation - 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_middle_name, as: 'phoneticMiddleName' 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 :middle_name, as: 'middleName' + property :given_name, as: 'givenName' + property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix' end end class BraggingRights # @private @@ -621,27 +621,27 @@ end class Organization # @private class Representation < Google::Apis::Core::JsonRepresentation - property :title, as: 'title' - property :location, as: 'location' - 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 :domain, as: 'domain' - property :department, as: 'department' - property :phonetic_name, as: 'phoneticName' property :type, as: 'type' + property :phonetic_name, as: 'phoneticName' 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 :location, as: 'location' + property :title, as: 'title' + property :current, as: 'current' + 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' end end class Biography # @private @@ -654,13 +654,13 @@ 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 @@ -673,36 +673,36 @@ 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' + property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation + end end - class Source + class RelationshipInterest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :etag, as: 'etag' - property :id, as: 'id' - property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation + 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 RelationshipInterest + class Source # @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 :type, as: 'type' + property :etag, as: 'etag' + property :id, as: 'id' + property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation - property :value, as: 'value' end end class Relation # @private