public final class History
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
History() |
Modifier and Type | Method and Description |
---|---|
History |
clone() |
BigInteger |
getId()
The mailbox sequence ID.
|
List<HistoryLabelAdded> |
getLabelsAdded()
Labels added to messages in this history record.
|
List<HistoryLabelRemoved> |
getLabelsRemoved()
Labels removed from messages in this history record.
|
List<Message> |
getMessages()
List of messages changed in this history record.
|
List<HistoryMessageAdded> |
getMessagesAdded()
Messages added to the mailbox in this history record.
|
List<HistoryMessageDeleted> |
getMessagesDeleted()
Messages deleted (not Trashed) from the mailbox in this history record.
|
History |
set(String fieldName,
Object value) |
History |
setId(BigInteger id)
The mailbox sequence ID.
|
History |
setLabelsAdded(List<HistoryLabelAdded> labelsAdded)
Labels added to messages in this history record.
|
History |
setLabelsRemoved(List<HistoryLabelRemoved> labelsRemoved)
Labels removed from messages in this history record.
|
History |
setMessages(List<Message> messages)
List of messages changed in this history record.
|
History |
setMessagesAdded(List<HistoryMessageAdded> messagesAdded)
Messages added to the mailbox in this history record.
|
History |
setMessagesDeleted(List<HistoryMessageDeleted> messagesDeleted)
Messages deleted (not Trashed) from the mailbox in this history record.
|
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 BigInteger getId()
null
for nonepublic History setId(BigInteger id)
id
- id or null
for nonepublic List<HistoryLabelAdded> getLabelsAdded()
null
for nonepublic History setLabelsAdded(List<HistoryLabelAdded> labelsAdded)
labelsAdded
- labelsAdded or null
for nonepublic List<HistoryLabelRemoved> getLabelsRemoved()
null
for nonepublic History setLabelsRemoved(List<HistoryLabelRemoved> labelsRemoved)
labelsRemoved
- labelsRemoved or null
for nonepublic List<Message> getMessages()
null
for nonepublic History setMessages(List<Message> messages)
messages
- messages or null
for nonepublic List<HistoryMessageAdded> getMessagesAdded()
null
for nonepublic History setMessagesAdded(List<HistoryMessageAdded> messagesAdded)
messagesAdded
- messagesAdded or null
for nonepublic List<HistoryMessageDeleted> getMessagesDeleted()
null
for nonepublic History setMessagesDeleted(List<HistoryMessageDeleted> messagesDeleted)
messagesDeleted
- messagesDeleted or null
for nonepublic History set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public History clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.