|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MailListField>
com.openexchange.mail.MailListField
public enum MailListField
MailListField - An enumeration of mail list fields as defined in HTTP API's mail section
| Enum Constant Summary | |
|---|---|
ACCOUNT_NAME
Account name |
|
ATTACHMENT
Whether message contains attachments |
|
BCC
Bcc |
|
CC
Cc |
|
COLOR_LABEL
Color Label |
|
DELETED
Deleted count |
|
DISPOSITION_NOTIFICATION_TO
Disposition-Notification-To |
|
FLAG_SEEN
Flag \SEEN |
|
FLAGS
Flags |
|
FOLDER
Folder |
|
FOLDER_ID
The folder ID |
|
FROM
From |
|
ID
The mail ID |
|
MSG_REF
Message reference |
|
NEW
New count |
|
PRIORITY
Priority |
|
RECEIVED_DATE
Received date |
|
SENT_DATE
Sent date |
|
SIZE
Size |
|
SUBJECT
Subject |
|
THREAD_LEVEL
Thread level |
|
TO
To |
|
TOTAL
Total count |
|
UNREAD
Unread count |
|
| Method Summary | |
|---|---|
static int[] |
getAllFields()
Returns all field values as an array of integers. |
static MailListField |
getBy(java.lang.String jsonName)
Gets a field by the JSON name |
int |
getField()
|
static MailListField |
getField(int field)
Determines the corresponding MailListField constant to given int value |
static MailListField[] |
getFields(int[] fields)
Creates an array of MailListField corresponding to given int values |
java.lang.String |
getKey()
|
static MailListField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MailListField[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MailListField ID
public static final MailListField FOLDER_ID
public static final MailListField ATTACHMENT
public static final MailListField FROM
public static final MailListField TO
public static final MailListField CC
public static final MailListField BCC
public static final MailListField SUBJECT
public static final MailListField SIZE
public static final MailListField SENT_DATE
public static final MailListField RECEIVED_DATE
public static final MailListField FLAGS
public static final MailListField THREAD_LEVEL
public static final MailListField DISPOSITION_NOTIFICATION_TO
Disposition-Notification-To
public static final MailListField PRIORITY
public static final MailListField MSG_REF
public static final MailListField COLOR_LABEL
public static final MailListField FOLDER
public static final MailListField FLAG_SEEN
public static final MailListField TOTAL
public static final MailListField NEW
public static final MailListField UNREAD
public static final MailListField DELETED
public static final MailListField ACCOUNT_NAME
| Method Detail |
|---|
public static final MailListField[] values()
for(MailListField c : MailListField.values())
System.out.println(c);
public static MailListField valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic int getField()
int field valuepublic java.lang.String getKey()
public static final MailListField[] getFields(int[] fields)
MailListField corresponding to given int values
fields - The int values
MailListField corresponding to given int valuespublic static final MailListField getField(int field)
MailListField constant to given int value
field - The int value
MailListField constantpublic static final int[] getAllFields()
public static final MailListField getBy(java.lang.String jsonName)
jsonName - identifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||