@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class ImapFlagOperationOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ImapFlagOperationOptions.CustomTypeAdapterFactory |
static class |
ImapFlagOperationOptions.FlagOperationEnum
Gets or Sets flagOperation
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_FLAG_OPERATION |
static String |
SERIALIZED_NAME_FLAGS |
Constructor and Description |
---|
ImapFlagOperationOptions() |
Modifier and Type | Method and Description |
---|---|
ImapFlagOperationOptions |
addFlagsItem(String flagsItem) |
boolean |
equals(Object o) |
ImapFlagOperationOptions |
flagOperation(ImapFlagOperationOptions.FlagOperationEnum flagOperation) |
ImapFlagOperationOptions |
flags(List<String> flags) |
static ImapFlagOperationOptions |
fromJson(String jsonString)
Create an instance of ImapFlagOperationOptions given an JSON string
|
ImapFlagOperationOptions.FlagOperationEnum |
getFlagOperation()
Get flagOperation
|
List<String> |
getFlags()
Get flags
|
int |
hashCode() |
void |
setFlagOperation(ImapFlagOperationOptions.FlagOperationEnum flagOperation) |
void |
setFlags(List<String> flags) |
String |
toJson()
Convert an instance of ImapFlagOperationOptions to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_FLAG_OPERATION
public static final String SERIALIZED_NAME_FLAGS
public ImapFlagOperationOptions flagOperation(ImapFlagOperationOptions.FlagOperationEnum flagOperation)
@Nonnull public ImapFlagOperationOptions.FlagOperationEnum getFlagOperation()
public void setFlagOperation(ImapFlagOperationOptions.FlagOperationEnum flagOperation)
public ImapFlagOperationOptions flags(List<String> flags)
public ImapFlagOperationOptions addFlagsItem(String flagsItem)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to ImapFlagOperationOptionspublic static ImapFlagOperationOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to ImapFlagOperationOptionspublic String toJson()
Copyright © 2023. All rights reserved.