google_api_plus v0.6.0 GoogleApi.Plus.V1.Model.Person View Source

Attributes

  • aboutMe (type: String.t, default: nil) - A short biography for this person.
  • ageRange (type: GoogleApi.Plus.V1.Model.PersonAgeRange.t, default: nil) - The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age reckoning.
  • birthday (type: String.t, default: nil) - The person's date of birth, represented as YYYY-MM-DD.
  • braggingRights (type: String.t, default: nil) - The "bragging rights" line of this person.
  • circledByCount (type: integer(), default: nil) - For followers who are visible, the number of people who have added this person or page to a circle.
  • cover (type: GoogleApi.Plus.V1.Model.PersonCover.t, default: nil) - The cover photo content.
  • currentLocation (type: String.t, default: nil) - (this field is not currently used)
  • displayName (type: String.t, default: nil) - The name of this person, which is suitable for display.
  • domain (type: String.t, default: nil) - The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.
  • emails (type: list(GoogleApi.Plus.V1.Model.PersonEmails.t), default: nil) - A list of email addresses that this person has, including their Google account email address, and the public verified email addresses on their Google+ profile. The plus.profile.emails.read scope is needed to retrieve these email addresses, or the email scope can be used to retrieve just the Google account email address.
  • etag (type: String.t, default: nil) - ETag of this response for caching purposes.
  • gender (type: String.t, default: nil) - The person's gender. Possible values include, but are not limited to, the following values:

    • "male" - Male gender.
    • "female" - Female gender.
    • "other" - Other.
  • id (type: String.t, default: nil) - The ID of this person.
  • image (type: GoogleApi.Plus.V1.Model.PersonImage.t, default: nil) - The representation of the person's profile photo.
  • isPlusUser (type: boolean(), default: nil) - Whether this user has signed up for Google+.
  • kind (type: String.t, default: plus#person) - Identifies this resource as a person. Value: "plus#person".
  • language (type: String.t, default: nil) - The user's preferred language for rendering.
  • name (type: GoogleApi.Plus.V1.Model.PersonName.t, default: nil) - An object representation of the individual components of a person's name.
  • nickname (type: String.t, default: nil) - The nickname of this person.
  • objectType (type: String.t, default: nil) - Type of person within Google+. Possible values include, but are not limited to, the following values:

    • "person" - represents an actual person.
    • "page" - represents a page.
  • occupation (type: String.t, default: nil) - The occupation of this person.
  • organizations (type: list(GoogleApi.Plus.V1.Model.PersonOrganizations.t), default: nil) - A list of current or past organizations with which this person is associated.
  • placesLived (type: list(GoogleApi.Plus.V1.Model.PersonPlacesLived.t), default: nil) - A list of places where this person has lived.
  • plusOneCount (type: integer(), default: nil) - If a Google+ Page, the number of people who have +1'd this page.
  • relationshipStatus (type: String.t, default: nil) - The person's relationship status. Possible values include, but are not limited to, the following values:

    • "single" - Person is single.
    • "in_a_relationship" - Person is in a relationship.
    • "engaged" - Person is engaged.
    • "married" - Person is married.
    • "its_complicated" - The relationship is complicated.
    • "open_relationship" - Person is in an open relationship.
    • "widowed" - Person is widowed.
    • "in_domestic_partnership" - Person is in a domestic partnership.
    • "in_civil_union" - Person is in a civil union.
  • skills (type: String.t, default: nil) - The person's skills.
  • tagline (type: String.t, default: nil) - The brief description (tagline) of this person.
  • url (type: String.t, default: nil) - The URL of this person's profile.
  • urls (type: list(GoogleApi.Plus.V1.Model.PersonUrls.t), default: nil) - A list of URLs for this person.
  • verified (type: boolean(), default: nil) - Whether the person or Google+ Page has been verified.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Plus.V1.Model.Person{
  aboutMe: String.t(),
  ageRange: GoogleApi.Plus.V1.Model.PersonAgeRange.t(),
  birthday: String.t(),
  braggingRights: String.t(),
  circledByCount: integer(),
  cover: GoogleApi.Plus.V1.Model.PersonCover.t(),
  currentLocation: String.t(),
  displayName: String.t(),
  domain: String.t(),
  emails: [GoogleApi.Plus.V1.Model.PersonEmails.t()],
  etag: String.t(),
  gender: String.t(),
  id: String.t(),
  image: GoogleApi.Plus.V1.Model.PersonImage.t(),
  isPlusUser: boolean(),
  kind: String.t(),
  language: String.t(),
  name: GoogleApi.Plus.V1.Model.PersonName.t(),
  nickname: String.t(),
  objectType: String.t(),
  occupation: String.t(),
  organizations: [GoogleApi.Plus.V1.Model.PersonOrganizations.t()],
  placesLived: [GoogleApi.Plus.V1.Model.PersonPlacesLived.t()],
  plusOneCount: integer(),
  relationshipStatus: String.t(),
  skills: String.t(),
  tagline: String.t(),
  url: String.t(),
  urls: [GoogleApi.Plus.V1.Model.PersonUrls.t()],
  verified: boolean()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.