public final class Thread
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 |
|---|
Thread() |
| Modifier and Type | Method and Description |
|---|---|
Thread |
clone() |
java.math.BigInteger |
getHistoryId()
The ID of the last history record that modified this thread.
|
java.lang.String |
getId()
The unique ID of the thread.
|
java.util.List<Message> |
getMessages()
The list of messages in the thread.
|
java.lang.String |
getSnippet()
A short part of the message text.
|
Thread |
set(java.lang.String fieldName,
java.lang.Object value) |
Thread |
setHistoryId(java.math.BigInteger historyId)
The ID of the last history record that modified this thread.
|
Thread |
setId(java.lang.String id)
The unique ID of the thread.
|
Thread |
setMessages(java.util.List<Message> messages)
The list of messages in the thread.
|
Thread |
setSnippet(java.lang.String snippet)
A short part of the message text.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.math.BigInteger getHistoryId()
null for nonepublic Thread setHistoryId(java.math.BigInteger historyId)
historyId - historyId or null for nonepublic java.lang.String getId()
null for nonepublic Thread setId(java.lang.String id)
id - id or null for nonepublic java.util.List<Message> getMessages()
null for nonepublic Thread setMessages(java.util.List<Message> messages)
messages - messages or null for nonepublic java.lang.String getSnippet()
null for nonepublic Thread setSnippet(java.lang.String snippet)
snippet - snippet or null for nonepublic Thread set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Thread clone()
clone in class com.google.api.client.json.GenericJson