public final class ListQuestionsResponse 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ListQuestionsResponse() |
Modifier and Type | Method and Description |
---|---|
ListQuestionsResponse |
clone() |
String |
getNextPageToken()
If the number of questions exceeds the requested max page size, this field is populated with a
token to fetch the next page of questions on a subsequent call.
|
List<Question> |
getQuestions()
The requested questions,
|
Integer |
getTotalSize()
The total number of questions posted for this location across all pages.
|
ListQuestionsResponse |
set(String fieldName,
Object value) |
ListQuestionsResponse |
setNextPageToken(String nextPageToken)
If the number of questions exceeds the requested max page size, this field is populated with a
token to fetch the next page of questions on a subsequent call.
|
ListQuestionsResponse |
setQuestions(List<Question> questions)
The requested questions,
|
ListQuestionsResponse |
setTotalSize(Integer totalSize)
The total number of questions posted for this location across all pages.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getNextPageToken()
null
for nonepublic ListQuestionsResponse setNextPageToken(String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic List<Question> getQuestions()
null
for nonepublic ListQuestionsResponse setQuestions(List<Question> questions)
questions
- questions or null
for nonepublic Integer getTotalSize()
null
for nonepublic ListQuestionsResponse setTotalSize(Integer totalSize)
totalSize
- totalSize or null
for nonepublic ListQuestionsResponse set(String fieldName, Object value)
set
in class GenericJson
public ListQuestionsResponse clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.