public final class Answer 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 My Business Q&A API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Answer() |
| Modifier and Type | Method and Description |
|---|---|
Answer |
clone() |
Author |
getAuthor()
Output only.
|
String |
getCreateTime()
Output only.
|
String |
getName()
Output only.
|
String |
getText()
Required.
|
String |
getUpdateTime()
Output only.
|
Integer |
getUpvoteCount()
Output only.
|
Answer |
set(String fieldName,
Object value) |
Answer |
setAuthor(Author author)
Output only.
|
Answer |
setCreateTime(String createTime)
Output only.
|
Answer |
setName(String name)
Output only.
|
Answer |
setText(String text)
Required.
|
Answer |
setUpdateTime(String updateTime)
Output only.
|
Answer |
setUpvoteCount(Integer upvoteCount)
Output only.
|
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 Author getAuthor()
null for nonepublic Answer setAuthor(Author author)
author - author or null for nonepublic String getCreateTime()
null for nonepublic Answer setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getName()
null for nonepublic Answer setName(String name)
name - name or null for nonepublic String getText()
null for nonepublic Answer setText(String text)
text - text or null for nonepublic String getUpdateTime()
null for nonepublic Answer setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic Integer getUpvoteCount()
null for nonepublic Answer setUpvoteCount(Integer upvoteCount)
upvoteCount - upvoteCount or null for nonepublic Answer set(String fieldName, Object value)
set in class GenericJsonpublic Answer clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.