public final class User
extends com.google.api.client.json.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 Blogger API v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
User.Blogs
The container of blogs for this user.
|
static class |
User.Locale
This user's locale
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
User |
clone() |
java.lang.String |
getAbout()
Profile summary information.
|
User.Blogs |
getBlogs()
The container of blogs for this user.
|
java.lang.String |
getCreated()
The timestamp of when this profile was created, in seconds since epoch.
|
java.lang.String |
getDisplayName()
The display name.
|
java.lang.String |
getId()
The identifier for this User.
|
java.lang.String |
getKind()
The kind of this entity.
|
User.Locale |
getLocale()
This user's locale
|
java.lang.String |
getSelfLink()
The API REST URL to fetch this resource from.
|
java.lang.String |
getUrl()
The user's profile page.
|
User |
set(java.lang.String fieldName,
java.lang.Object value) |
User |
setAbout(java.lang.String about)
Profile summary information.
|
User |
setBlogs(User.Blogs blogs)
The container of blogs for this user.
|
User |
setCreated(java.lang.String created)
The timestamp of when this profile was created, in seconds since epoch.
|
User |
setDisplayName(java.lang.String displayName)
The display name.
|
User |
setId(java.lang.String id)
The identifier for this User.
|
User |
setKind(java.lang.String kind)
The kind of this entity.
|
User |
setLocale(User.Locale locale)
This user's locale
|
User |
setSelfLink(java.lang.String selfLink)
The API REST URL to fetch this resource from.
|
User |
setUrl(java.lang.String url)
The user's profile page.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAbout()
null
for nonepublic User setAbout(java.lang.String about)
about
- about or null
for nonepublic User.Blogs getBlogs()
null
for nonepublic User setBlogs(User.Blogs blogs)
blogs
- blogs or null
for nonepublic java.lang.String getCreated()
null
for nonepublic User setCreated(java.lang.String created)
created
- created or null
for nonepublic java.lang.String getDisplayName()
null
for nonepublic User setDisplayName(java.lang.String displayName)
displayName
- displayName or null
for nonepublic java.lang.String getId()
null
for nonepublic User setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic User setKind(java.lang.String kind)
kind
- kind or null
for nonepublic User.Locale getLocale()
null
for nonepublic User setLocale(User.Locale locale)
locale
- locale or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic User setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic java.lang.String getUrl()
null
for nonepublic User setUrl(java.lang.String url)
url
- url or null
for nonepublic User set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public User clone()
clone
in class com.google.api.client.json.GenericJson