public final class PostAuthor
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 Google Sheets API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PostAuthor() |
| Modifier and Type | Method and Description |
|---|---|
PostAuthor |
clone() |
Boolean |
getAnonymous()
Whether the user is anonymous.
|
String |
getDisplayName()
The display name of the user.
|
Boolean |
getMe()
Whether the user is the authenticated user making the request.
|
String |
getUser()
The resource name of the post author user, which can also be used to identify the user in the
[Google People API](https://developers.google.com/people/api/rest/v1/people).
|
PostAuthor |
set(String fieldName,
Object value) |
PostAuthor |
setAnonymous(Boolean anonymous)
Whether the user is anonymous.
|
PostAuthor |
setDisplayName(String displayName)
The display name of the user.
|
PostAuthor |
setMe(Boolean me)
Whether the user is the authenticated user making the request.
|
PostAuthor |
setUser(String user)
The resource name of the post author user, which can also be used to identify the user in the
[Google People API](https://developers.google.com/people/api/rest/v1/people).
|
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 Boolean getAnonymous()
null for nonepublic PostAuthor setAnonymous(Boolean anonymous)
anonymous - anonymous or null for nonepublic String getDisplayName()
null for nonepublic PostAuthor setDisplayName(String displayName)
displayName - displayName or null for nonepublic Boolean getMe()
null for nonepublic PostAuthor setMe(Boolean me)
me - me or null for nonepublic String getUser()
null for nonepublic PostAuthor setUser(String user)
user - user or null for nonepublic PostAuthor set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PostAuthor clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.