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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Thread() |
| Modifier and Type | Method and Description |
|---|---|
Thread |
clone() |
BigInteger |
getHistoryId()
The ID of the last history record that modified this thread.
|
String |
getId()
The unique ID of the thread.
|
List<Message> |
getMessages()
The list of messages in the thread.
|
String |
getSnippet()
A short part of the message text.
|
Thread |
set(String fieldName,
Object value) |
Thread |
setHistoryId(BigInteger historyId)
The ID of the last history record that modified this thread.
|
Thread |
setId(String id)
The unique ID of the thread.
|
Thread |
setMessages(List<Message> messages)
The list of messages in the thread.
|
Thread |
setSnippet(String snippet)
A short part of the message text.
|
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 BigInteger getHistoryId()
null for nonepublic Thread setHistoryId(BigInteger historyId)
historyId - historyId or null for nonepublic String getId()
null for nonepublic Thread setId(String id)
id - id or null for nonepublic List<Message> getMessages()
null for nonepublic Thread setMessages(List<Message> messages)
messages - messages or null for nonepublic String getSnippet()
null for nonepublic Thread setSnippet(String snippet)
snippet - snippet or null for nonepublic Thread set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Thread clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.