public final class FilterAction
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 |
|---|
FilterAction() |
| Modifier and Type | Method and Description |
|---|---|
FilterAction |
clone() |
java.util.List<java.lang.String> |
getAddLabelIds()
List of labels to add to the message.
|
java.lang.String |
getForward()
Email address that the message should be forwarded to.
|
java.util.List<java.lang.String> |
getRemoveLabelIds()
List of labels to remove from the message.
|
FilterAction |
set(java.lang.String fieldName,
java.lang.Object value) |
FilterAction |
setAddLabelIds(java.util.List<java.lang.String> addLabelIds)
List of labels to add to the message.
|
FilterAction |
setForward(java.lang.String forward)
Email address that the message should be forwarded to.
|
FilterAction |
setRemoveLabelIds(java.util.List<java.lang.String> removeLabelIds)
List of labels to remove from the message.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<java.lang.String> getAddLabelIds()
null for nonepublic FilterAction setAddLabelIds(java.util.List<java.lang.String> addLabelIds)
addLabelIds - addLabelIds or null for nonepublic java.lang.String getForward()
null for nonepublic FilterAction setForward(java.lang.String forward)
forward - forward or null for nonepublic java.util.List<java.lang.String> getRemoveLabelIds()
null for nonepublic FilterAction setRemoveLabelIds(java.util.List<java.lang.String> removeLabelIds)
removeLabelIds - removeLabelIds or null for nonepublic FilterAction set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic FilterAction clone()
clone in class com.google.api.client.json.GenericJson