public class Mailbox
extends java.lang.Object
| Constructor and Description |
|---|
Mailbox()
Initializes a new instance of the Mailbox class.
|
Mailbox(ItemId itemId)
Initializes a new instance of the Mailbox class.
|
Mailbox(java.lang.String emailAddress)
Initializes a new instance of the Mailbox class.
|
Mailbox(java.lang.String emailAddress,
java.lang.String name)
Initializes a new instance of the Mailbox class.
|
Mailbox(java.lang.String emailAddress,
java.lang.String name,
java.lang.String routingType)
Initializes a new instance of the Mailbox class.
|
Mailbox(java.lang.String emailAddress,
java.lang.String name,
java.lang.String routingType,
MailboxType type)
Initializes a new instance of the Mailbox class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEmailAddress()
Gets the Simple Mail Transfer Protocol (SMTP) address of a mailbox user.
|
ItemId |
getItemId()
Gets the item identifier of a contact or private distribution list for recipients from a user's contacts folder.
|
java.lang.String |
getName()
Gets the name of the mailbox user.
|
java.lang.String |
getOriginalDisplayName()
Gets the display name of the mailbox user.
|
java.lang.String |
getRoutingType()
Gets the routing that is used for the mailbox.
|
MailboxType |
getType()
Gets the mailbox type of a mailbox user.
|
void |
setEmailAddress(java.lang.String emailAddress)
Sets the Simple Mail Transfer Protocol (SMTP) address of a mailbox user.
|
void |
setItemId(ItemId itemId)
Sets the item identifier of a contact or private distribution list for recipients from a user's contacts folder.
|
void |
setName(java.lang.String name)
Sets the name of the mailbox user.
|
void |
setOriginalDisplayName(java.lang.String originalDisplayName)
Sets the display name of the mailbox user.
|
void |
setRoutingType(java.lang.String routingType)
Sets the routing that is used for the mailbox.
|
void |
setType(MailboxType type)
Sets the mailbox type of a mailbox user.
|
java.lang.String |
toString()
Converts the value of the current Mailbox object to its equivalent string representation.
|
public Mailbox()
public Mailbox(java.lang.String emailAddress)
emailAddress - the email addresspublic Mailbox(java.lang.String emailAddress,
java.lang.String name)
emailAddress - the email addressname - the namepublic Mailbox(java.lang.String emailAddress,
java.lang.String name,
java.lang.String routingType)
emailAddress - the email addressname - the nameroutingType - the routing typepublic Mailbox(java.lang.String emailAddress,
java.lang.String name,
java.lang.String routingType,
MailboxType type)
emailAddress - the email addressname - the nameroutingType - the routing typetype - the typepublic Mailbox(ItemId itemId)
itemId - the item idpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the new namepublic java.lang.String getEmailAddress()
public void setEmailAddress(java.lang.String emailAddress)
emailAddress - the new email addresspublic java.lang.String getRoutingType()
public void setRoutingType(java.lang.String routingType)
routingType - the new routing typepublic MailboxType getType()
public void setType(MailboxType type)
type - the new typepublic ItemId getItemId()
public void setItemId(ItemId itemId)
itemId - the new item idpublic java.lang.String getOriginalDisplayName()
public void setOriginalDisplayName(java.lang.String originalDisplayName)
originalDisplayName - the new original display name