public final class Userinfo extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google OAuth2 API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Userinfo() |
Modifier and Type | Method and Description |
---|---|
String |
getBirthday()
The user's birthday.
|
String |
getEmail()
The user's email address.
|
String |
getFamilyName()
The user's last name.
|
String |
getGender()
The user's gender.
|
String |
getGivenName()
The user's first name.
|
String |
getHd()
The hosted domain e.g.
|
String |
getId()
The focus obfuscated gaia id of the user.
|
String |
getLink()
URL of the profile page.
|
String |
getLocale()
The user's default locale.
|
String |
getName()
The user's full name.
|
String |
getPicture()
URL of the user's picture image.
|
String |
getTimezone()
The user's default timezone.
|
Boolean |
getVerifiedEmail()
Boolean flag which is true if the email address is verified.
|
Userinfo |
setBirthday(String birthday)
The user's birthday.
|
Userinfo |
setEmail(String email)
The user's email address.
|
Userinfo |
setFamilyName(String familyName)
The user's last name.
|
Userinfo |
setGender(String gender)
The user's gender.
|
Userinfo |
setGivenName(String givenName)
The user's first name.
|
Userinfo |
setHd(String hd)
The hosted domain e.g.
|
Userinfo |
setId(String id)
The focus obfuscated gaia id of the user.
|
Userinfo |
setLink(String link)
URL of the profile page.
|
Userinfo |
setLocale(String locale)
The user's default locale.
|
Userinfo |
setName(String name)
The user's full name.
|
Userinfo |
setPicture(String picture)
URL of the user's picture image.
|
Userinfo |
setTimezone(String timezone)
The user's default timezone.
|
Userinfo |
setVerifiedEmail(Boolean verifiedEmail)
Boolean flag which is true if the email address is verified.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getBirthday()
null
.public Userinfo setBirthday(String birthday)
null
.public String getEmail()
null
.public Userinfo setEmail(String email)
null
.public String getFamilyName()
null
.public Userinfo setFamilyName(String familyName)
null
.public String getGender()
null
.public String getGivenName()
null
.public Userinfo setGivenName(String givenName)
null
.public String getHd()
null
.public Userinfo setHd(String hd)
null
.public String getId()
null
.public Userinfo setId(String id)
null
.public String getLink()
null
.public String getLocale()
null
.public Userinfo setLocale(String locale)
null
.public String getName()
null
.public String getPicture()
null
.public Userinfo setPicture(String picture)
null
.public String getTimezone()
null
.public Userinfo setTimezone(String timezone)
null
.public Boolean getVerifiedEmail()
null
.