public class MailItemProperty extends ValueConstruct
<apps:mailItemProperty>
. Used to
model an enumerable property about a mail item, such as whether it is to be
marked as starred, read, trash, etc. when migrated into Gmail.AbstractExtension.AttributesHandler
Modifier and Type | Field and Description |
---|---|
static MailItemProperty |
DRAFT
Property indicating that a mail item should be marked as a draft
when inserted into Gmail.
|
static MailItemProperty |
INBOX
Property indicating that a mail item should appear in the inbox when
inserted into Gmail.
|
static MailItemProperty |
SENT
Property indicating that a mail item should appear in the list of sent
messages when inserted into Gmail.
|
static MailItemProperty |
STARRED
Property indicating that a mail item should be marked as starred when
inserted into Gmail.
|
static MailItemProperty |
TRASH
Property indicating that a mail item should be moved to the trash when
inserted into Gmail.
|
static MailItemProperty |
UNREAD
Property indicating that a mail item should be marked as unread when
inserted into Gmail.
|
attrName
localName, namespace
Constructor and Description |
---|
MailItemProperty()
Constructs a
MailItemProperty with no value. |
MailItemProperty(com.google.gdata.data.appsforyourdomain.migration.MailItemProperty.MailItemAttribute value)
Constructs a
MailItemProperty with the specified value. |
Modifier and Type | Method and Description |
---|---|
static ExtensionDescription |
getDefaultDescription() |
consumeAttributes, equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setRequired, setValue
disableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
public static final MailItemProperty DRAFT
public static final MailItemProperty INBOX
public static final MailItemProperty SENT
public static final MailItemProperty TRASH
public static final MailItemProperty STARRED
public static final MailItemProperty UNREAD
public MailItemProperty()
MailItemProperty
with no value.public MailItemProperty(com.google.gdata.data.appsforyourdomain.migration.MailItemProperty.MailItemAttribute value)
MailItemProperty
with the specified value.value
- the MailItemAttribute
value to usepublic static ExtensionDescription getDefaultDescription()