target.apidocs.com.google.api.services.gmail.model.ModifyThreadRequest.html Maven / Gradle / Ivy
ModifyThreadRequest (Gmail API v1-rev20230925-2.0.0)
com.google.api.services.gmail.model
Class ModifyThreadRequest
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.gmail.model.ModifyThreadRequest
-
public final class ModifyThreadRequest
extends com.google.api.client.json.GenericJson
Model definition for ModifyThreadRequest.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ModifyThreadRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ModifyThreadRequest
clone()
List<String>
getAddLabelIds()
A list of IDs of labels to add to this thread.
List<String>
getRemoveLabelIds()
A list of IDs of labels to remove from this thread.
ModifyThreadRequest
set(String fieldName,
Object value)
ModifyThreadRequest
setAddLabelIds(List<String> addLabelIds)
A list of IDs of labels to add to this thread.
ModifyThreadRequest
setRemoveLabelIds(List<String> removeLabelIds)
A list of IDs of labels to remove from this thread.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAddLabelIds
public List<String> getAddLabelIds()
A list of IDs of labels to add to this thread. You can add up to 100 labels with each update.
- Returns:
- value or
null
for none
-
setAddLabelIds
public ModifyThreadRequest setAddLabelIds(List<String> addLabelIds)
A list of IDs of labels to add to this thread. You can add up to 100 labels with each update.
- Parameters:
addLabelIds
- addLabelIds or null
for none
-
getRemoveLabelIds
public List<String> getRemoveLabelIds()
A list of IDs of labels to remove from this thread. You can remove up to 100 labels with each
update.
- Returns:
- value or
null
for none
-
setRemoveLabelIds
public ModifyThreadRequest setRemoveLabelIds(List<String> removeLabelIds)
A list of IDs of labels to remove from this thread. You can remove up to 100 labels with each
update.
- Parameters:
removeLabelIds
- removeLabelIds or null
for none
-
set
public ModifyThreadRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ModifyThreadRequest clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy