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