public enum GoogleMailApiName extends Enum<GoogleMailApiName> implements org.apache.camel.support.component.ApiName
ApiName
Enumeration for Component GoogleMailEnum Constant and Description |
---|
ATTACHMENTS |
DRAFTS |
HISTORY |
LABELS |
MESSAGES |
THREADS |
USERS |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static GoogleMailApiName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GoogleMailApiName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoogleMailApiName THREADS
public static final GoogleMailApiName MESSAGES
public static final GoogleMailApiName ATTACHMENTS
public static final GoogleMailApiName LABELS
public static final GoogleMailApiName HISTORY
public static final GoogleMailApiName DRAFTS
public static final GoogleMailApiName USERS
public static GoogleMailApiName[] values()
for (GoogleMailApiName c : GoogleMailApiName.values()) System.out.println(c);
public static GoogleMailApiName valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
getName
in interface org.apache.camel.support.component.ApiName
Apache Camel