public final class ListThreadsResponse
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 Gmail 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.Flags
Constructor and Description |
---|
ListThreadsResponse() |
Modifier and Type | Method and Description |
---|---|
ListThreadsResponse |
clone() |
java.lang.String |
getNextPageToken()
Page token to retrieve the next page of results in the list.
|
java.lang.Long |
getResultSizeEstimate()
Estimated total number of results.
|
java.util.List<Thread> |
getThreads()
List of threads.
|
ListThreadsResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
ListThreadsResponse |
setNextPageToken(java.lang.String nextPageToken)
Page token to retrieve the next page of results in the list.
|
ListThreadsResponse |
setResultSizeEstimate(java.lang.Long resultSizeEstimate)
Estimated total number of results.
|
ListThreadsResponse |
setThreads(java.util.List<Thread> threads)
List of threads.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getNextPageToken()
null
for nonepublic ListThreadsResponse setNextPageToken(java.lang.String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic java.lang.Long getResultSizeEstimate()
null
for nonepublic ListThreadsResponse setResultSizeEstimate(java.lang.Long resultSizeEstimate)
resultSizeEstimate
- resultSizeEstimate or null
for nonepublic java.util.List<Thread> getThreads()
null
for nonepublic ListThreadsResponse setThreads(java.util.List<Thread> threads)
threads
- threads or null
for nonepublic ListThreadsResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ListThreadsResponse clone()
clone
in class com.google.api.client.json.GenericJson