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. 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
User |
clone() |
String |
getAbout()
Profile summary information.
|
User.Blogs |
getBlogs()
The container of blogs for this user.
|
String |
getCreated()
The timestamp of when this profile was created, in seconds since epoch.
|
String |
getDisplayName()
The display name.
|
String |
getId()
The identifier for this User.
|
String |
getKind()
The kind of this entity.
|
User.Locale |
getLocale()
This user's locale
|
String |
getSelfLink()
The API REST URL to fetch this resource from.
|
String |
getUrl()
The user's profile page.
|
User |
set(String fieldName,
Object value) |
User |
setAbout(String about)
Profile summary information.
|
User |
setBlogs(User.Blogs blogs)
The container of blogs for this user.
|
User |
setCreated(String created)
The timestamp of when this profile was created, in seconds since epoch.
|
User |
setDisplayName(String displayName)
The display name.
|
User |
setId(String id)
The identifier for this User.
|
User |
setKind(String kind)
The kind of this entity.
|
User |
setLocale(User.Locale locale)
This user's locale
|
User |
setSelfLink(String selfLink)
The API REST URL to fetch this resource from.
|
User |
setUrl(String url)
The user's profile page.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAbout()
null for nonepublic User setAbout(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 String getCreated()
null for nonepublic User setCreated(String created)
created - created or null for nonepublic String getDisplayName()
null for nonepublic User setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getId()
null for nonepublic User setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic User setKind(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 String getSelfLink()
null for nonepublic User setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getUrl()
null for nonepublic User setUrl(String url)
url - url or null for nonepublic User set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic User clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.