public class ClassificationOverride extends Object
Represents a user's override for how incoming messages from a specific sender should always be classified as.
Constructor and Description |
---|
ClassificationOverride()
Initalizes static members of class
ClassificationOverride . |
ClassificationOverride(MailAddress sender,
int classifyAs)
Initalizes static members of class
ClassificationOverride . |
ClassificationOverride(String id,
MailAddress sender,
int classifyAs)
Initalizes static members of class
ClassificationOverride . |
Modifier and Type | Method and Description |
---|---|
int |
getClassifyAs()
Gets or sets value which specifies how incoming messages from a specific sender should always be classified as.
|
String |
getId()
Gets or sets unique identifier of the override.
|
MailAddress |
getSender()
Gets or sets email address information of the sender for whom the override is created.
|
void |
setClassifyAs(int value)
Gets or sets value which specifies how incoming messages from a specific sender should always be classified as.
|
void |
setId(String value)
Gets or sets unique identifier of the override.
|
void |
setSender(MailAddress value)
Gets or sets email address information of the sender for whom the override is created.
|
public ClassificationOverride()
Initalizes static members of class ClassificationOverride
.
public ClassificationOverride(MailAddress sender, int classifyAs)
Initalizes static members of class ClassificationOverride
.
sender
- Email address information of the sender for whom the override is created.classifyAs
- Value which specifies how incoming messages from a specific sender should always be classified as.public ClassificationOverride(String id, MailAddress sender, int classifyAs)
Initalizes static members of class ClassificationOverride
.
id
- The unique identifier of the override.sender
- Email address information of the sender for whom the override is created.classifyAs
- Value which specifies how incoming messages from a specific sender should always be classified as.public final String getId()
Gets or sets unique identifier of the override.
public final void setId(String value)
Gets or sets unique identifier of the override.
public final int getClassifyAs()
Gets or sets value which specifies how incoming messages from a specific sender should always be classified as.
public final void setClassifyAs(int value)
Gets or sets value which specifies how incoming messages from a specific sender should always be classified as.
public final MailAddress getSender()
Gets or sets email address information of the sender for whom the override is created.
public final void setSender(MailAddress value)
Gets or sets email address information of the sender for whom the override is created.