All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.plus.model.Person.html Maven / Gradle / Ivy

The newest version!






Person (Google+ API v1-rev20190328-1.30.10)












com.google.api.services.plus.model

Class Person

    • Constructor Detail

      • Person

        public Person()
    • Method Detail

      • getAboutMe

        public String getAboutMe()
        A short biography for this person.
        Returns:
        value or null for none
      • setAboutMe

        public Person setAboutMe(String aboutMe)
        A short biography for this person.
        Parameters:
        aboutMe - aboutMe or null for none
      • getAgeRange

        public Person.AgeRange getAgeRange()
        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.
        Returns:
        value or null for none
      • setAgeRange

        public Person setAgeRange(Person.AgeRange ageRange)
        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.
        Parameters:
        ageRange - ageRange or null for none
      • getBirthday

        public String getBirthday()
        The person's date of birth, represented as YYYY-MM-DD.
        Returns:
        value or null for none
      • setBirthday

        public Person setBirthday(String birthday)
        The person's date of birth, represented as YYYY-MM-DD.
        Parameters:
        birthday - birthday or null for none
      • getBraggingRights

        public String getBraggingRights()
        The "bragging rights" line of this person.
        Returns:
        value or null for none
      • setBraggingRights

        public Person setBraggingRights(String braggingRights)
        The "bragging rights" line of this person.
        Parameters:
        braggingRights - braggingRights or null for none
      • getCircledByCount

        public Integer getCircledByCount()
        For followers who are visible, the number of people who have added this person or page to a circle.
        Returns:
        value or null for none
      • setCircledByCount

        public Person setCircledByCount(Integer circledByCount)
        For followers who are visible, the number of people who have added this person or page to a circle.
        Parameters:
        circledByCount - circledByCount or null for none
      • getCover

        public Person.Cover getCover()
        The cover photo content.
        Returns:
        value or null for none
      • setCover

        public Person setCover(Person.Cover cover)
        The cover photo content.
        Parameters:
        cover - cover or null for none
      • getCurrentLocation

        public String getCurrentLocation()
        (this field is not currently used)
        Returns:
        value or null for none
      • setCurrentLocation

        public Person setCurrentLocation(String currentLocation)
        (this field is not currently used)
        Parameters:
        currentLocation - currentLocation or null for none
      • getDisplayName

        public String getDisplayName()
        The name of this person, which is suitable for display.
        Returns:
        value or null for none
      • setDisplayName

        public Person setDisplayName(String displayName)
        The name of this person, which is suitable for display.
        Parameters:
        displayName - displayName or null for none
      • getDomain

        public String getDomain()
        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.
        Returns:
        value or null for none
      • setDomain

        public Person setDomain(String domain)
        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.
        Parameters:
        domain - domain or null for none
      • getEmails

        public List<Person.Emails> getEmails()
        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.
        Returns:
        value or null for none
      • setEmails

        public Person setEmails(List<Person.Emails> emails)
        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.
        Parameters:
        emails - emails or null for none
      • getEtag

        public String getEtag()
        ETag of this response for caching purposes.
        Returns:
        value or null for none
      • setEtag

        public Person setEtag(String etag)
        ETag of this response for caching purposes.
        Parameters:
        etag - etag or null for none
      • getGender

        public String getGender()
        The person's gender. Possible values include, but are not limited to, the following values: - "male" - Male gender. - "female" - Female gender. - "other" - Other.
        Returns:
        value or null for none
      • setGender

        public Person setGender(String gender)
        The person's gender. Possible values include, but are not limited to, the following values: - "male" - Male gender. - "female" - Female gender. - "other" - Other.
        Parameters:
        gender - gender or null for none
      • getId

        public String getId()
        The ID of this person.
        Returns:
        value or null for none
      • setId

        public Person setId(String id)
        The ID of this person.
        Parameters:
        id - id or null for none
      • getImage

        public Person.Image getImage()
        The representation of the person's profile photo.
        Returns:
        value or null for none
      • setImage

        public Person setImage(Person.Image image)
        The representation of the person's profile photo.
        Parameters:
        image - image or null for none
      • getIsPlusUser

        public Boolean getIsPlusUser()
        Whether this user has signed up for Google+.
        Returns:
        value or null for none
      • setIsPlusUser

        public Person setIsPlusUser(Boolean isPlusUser)
        Whether this user has signed up for Google+.
        Parameters:
        isPlusUser - isPlusUser or null for none
      • getKind

        public String getKind()
        Identifies this resource as a person. Value: "plus#person".
        Returns:
        value or null for none
      • setKind

        public Person setKind(String kind)
        Identifies this resource as a person. Value: "plus#person".
        Parameters:
        kind - kind or null for none
      • getLanguage

        public String getLanguage()
        The user's preferred language for rendering.
        Returns:
        value or null for none
      • setLanguage

        public Person setLanguage(String language)
        The user's preferred language for rendering.
        Parameters:
        language - language or null for none
      • getName

        public Person.Name getName()
        An object representation of the individual components of a person's name.
        Returns:
        value or null for none
      • setName

        public Person setName(Person.Name name)
        An object representation of the individual components of a person's name.
        Parameters:
        name - name or null for none
      • getNickname

        public String getNickname()
        The nickname of this person.
        Returns:
        value or null for none
      • setNickname

        public Person setNickname(String nickname)
        The nickname of this person.
        Parameters:
        nickname - nickname or null for none
      • getObjectType

        public String getObjectType()
        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.
        Returns:
        value or null for none
      • setObjectType

        public Person setObjectType(String objectType)
        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.
        Parameters:
        objectType - objectType or null for none
      • getOccupation

        public String getOccupation()
        The occupation of this person.
        Returns:
        value or null for none
      • setOccupation

        public Person setOccupation(String occupation)
        The occupation of this person.
        Parameters:
        occupation - occupation or null for none
      • getOrganizations

        public List<Person.Organizations> getOrganizations()
        A list of current or past organizations with which this person is associated.
        Returns:
        value or null for none
      • setOrganizations

        public Person setOrganizations(List<Person.Organizations> organizations)
        A list of current or past organizations with which this person is associated.
        Parameters:
        organizations - organizations or null for none
      • getPlacesLived

        public List<Person.PlacesLived> getPlacesLived()
        A list of places where this person has lived.
        Returns:
        value or null for none
      • setPlacesLived

        public Person setPlacesLived(List<Person.PlacesLived> placesLived)
        A list of places where this person has lived.
        Parameters:
        placesLived - placesLived or null for none
      • getPlusOneCount

        public Integer getPlusOneCount()
        If a Google+ Page, the number of people who have +1'd this page.
        Returns:
        value or null for none
      • setPlusOneCount

        public Person setPlusOneCount(Integer plusOneCount)
        If a Google+ Page, the number of people who have +1'd this page.
        Parameters:
        plusOneCount - plusOneCount or null for none
      • getRelationshipStatus

        public String getRelationshipStatus()
        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.
        Returns:
        value or null for none
      • setRelationshipStatus

        public Person setRelationshipStatus(String relationshipStatus)
        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.
        Parameters:
        relationshipStatus - relationshipStatus or null for none
      • getSkills

        public String getSkills()
        The person's skills.
        Returns:
        value or null for none
      • setSkills

        public Person setSkills(String skills)
        The person's skills.
        Parameters:
        skills - skills or null for none
      • getTagline

        public String getTagline()
        The brief description (tagline) of this person.
        Returns:
        value or null for none
      • setTagline

        public Person setTagline(String tagline)
        The brief description (tagline) of this person.
        Parameters:
        tagline - tagline or null for none
      • getUrl

        public String getUrl()
        The URL of this person's profile.
        Returns:
        value or null for none
      • setUrl

        public Person setUrl(String url)
        The URL of this person's profile.
        Parameters:
        url - url or null for none
      • getUrls

        public List<Person.Urls> getUrls()
        A list of URLs for this person.
        Returns:
        value or null for none
      • setUrls

        public Person setUrls(List<Person.Urls> urls)
        A list of URLs for this person.
        Parameters:
        urls - urls or null for none
      • getVerified

        public Boolean getVerified()
        Whether the person or Google+ Page has been verified.
        Returns:
        value or null for none
      • setVerified

        public Person setVerified(Boolean verified)
        Whether the person or Google+ Page has been verified.
        Parameters:
        verified - verified or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy