public class MapiMessageDto extends MapiMessageItemBaseDto
Constructor and Description |
---|
MapiMessageDto() |
MapiMessageDto(List<MapiAttachmentDto> attachments,
String billing,
String body,
String bodyHtml,
String bodyRtf,
String bodyType,
List<String> categories,
List<String> companies,
String itemId,
String messageClass,
String mileage,
List<MapiRecipientDto> recipients,
String sensitivity,
String subject,
String subjectPrefix,
List<MapiPropertyDto> properties,
String discriminator,
String messageBody,
Date clientSubmitTime,
String conversationTopic,
Date deliveryTime,
String displayBcc,
String displayCc,
String displayName,
String displayNamePrefix,
String displayTo,
List<String> flags,
Map<String,String> headers,
String internetMessageId,
String messageFormat,
String normalizedSubject,
Boolean readReceiptRequested,
String replyTo,
String senderAddressType,
String senderEmailAddress,
String senderName,
String senderSmtpAddress,
String sentRepresentingAddressType,
String sentRepresentingEmailAddress,
String sentRepresentingName,
String sentRepresentingSmtpAddress,
String transportMessageHeaders)
Initializes a new instance of the MapiMessageDto
|
Modifier and Type | Method and Description |
---|---|
MapiMessageDto |
addFlagsItem(String flagsItem)
Add an item to flags and return this.
|
MapiMessageDto |
clientSubmitTime(Date clientSubmitTime)
Set clientSubmitTime and return this.
|
MapiMessageDto |
conversationTopic(String conversationTopic)
Set conversationTopic and return this.
|
MapiMessageDto |
deliveryTime(Date deliveryTime)
Set deliveryTime and return this.
|
MapiMessageDto |
displayBcc(String displayBcc)
Set displayBcc and return this.
|
MapiMessageDto |
displayCc(String displayCc)
Set displayCc and return this.
|
MapiMessageDto |
displayName(String displayName)
Set displayName and return this.
|
MapiMessageDto |
displayNamePrefix(String displayNamePrefix)
Set displayNamePrefix and return this.
|
MapiMessageDto |
displayTo(String displayTo)
Set displayTo and return this.
|
boolean |
equals(Object o) |
MapiMessageDto |
flags(List<String> flags)
Set flags and return this.
|
Date |
getClientSubmitTime()
Date and time the message sender submitted a message.
|
String |
getConversationTopic()
Topic of the first message in a conversation thread.
|
Date |
getDeliveryTime()
Date and time a message was delivered.
|
String |
getDisplayBcc()
List of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).
|
String |
getDisplayCc()
List of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).
|
String |
getDisplayName()
Display name for the message.
|
String |
getDisplayNamePrefix()
Prefix of the display name.
|
String |
getDisplayTo()
List of the display names of the primary (To) message recipients, separated by semicolons (;).
|
List<String> |
getFlags()
Message flags.
|
Map<String,String> |
getHeaders()
Transport message headers
|
String |
getInternetMessageId()
Internet message id of the message.
|
String |
getMessageBody()
Message text
|
String |
getMessageFormat()
Represents outlook message format.
|
String |
getNormalizedSubject()
Normalized subject of the message.
|
String |
getReplyTo()
Reply to names.
|
String |
getSenderAddressType()
Message sender's e-mail address type.
|
String |
getSenderEmailAddress()
Message sender's e-mail address.
|
String |
getSenderName()
Message sender's display name.
|
String |
getSenderSmtpAddress()
Message sender's e-mail address.
|
String |
getSentRepresentingAddressType()
Address type for the messaging user represented by the sender.
|
String |
getSentRepresentingEmailAddress()
E-mail address for the messaging user represented by the sender.
|
String |
getSentRepresentingName()
Display name for the messaging user represented by the sender.
|
String |
getSentRepresentingSmtpAddress()
E-mail address for the messaging user represented by the sender.
|
String |
getTransportMessageHeaders()
Transport-specific message envelope information.
|
int |
hashCode() |
MapiMessageDto |
headers(Map<String,String> headers)
Set headers and return this.
|
MapiMessageDto |
internetMessageId(String internetMessageId)
Set internetMessageId and return this.
|
Boolean |
isReadReceiptRequested()
Value indicating whether the read receipt is requested.
|
MapiMessageDto |
messageBody(String messageBody)
Set messageBody and return this.
|
MapiMessageDto |
messageFormat(String messageFormat)
Set messageFormat and return this.
|
MapiMessageDto |
normalizedSubject(String normalizedSubject)
Set normalizedSubject and return this.
|
MapiMessageDto |
putHeadersItem(String key,
String headersItem)
Add an item to headers and return this.
|
MapiMessageDto |
readReceiptRequested(Boolean readReceiptRequested)
Set readReceiptRequested and return this.
|
MapiMessageDto |
replyTo(String replyTo)
Set replyTo and return this.
|
MapiMessageDto |
senderAddressType(String senderAddressType)
Set senderAddressType and return this.
|
MapiMessageDto |
senderEmailAddress(String senderEmailAddress)
Set senderEmailAddress and return this.
|
MapiMessageDto |
senderName(String senderName)
Set senderName and return this.
|
MapiMessageDto |
senderSmtpAddress(String senderSmtpAddress)
Set senderSmtpAddress and return this.
|
MapiMessageDto |
sentRepresentingAddressType(String sentRepresentingAddressType)
Set sentRepresentingAddressType and return this.
|
MapiMessageDto |
sentRepresentingEmailAddress(String sentRepresentingEmailAddress)
Set sentRepresentingEmailAddress and return this.
|
MapiMessageDto |
sentRepresentingName(String sentRepresentingName)
Set sentRepresentingName and return this.
|
MapiMessageDto |
sentRepresentingSmtpAddress(String sentRepresentingSmtpAddress)
Set sentRepresentingSmtpAddress and return this.
|
void |
setClientSubmitTime(Date clientSubmitTime)
Set clientSubmitTime.
|
void |
setConversationTopic(String conversationTopic)
Set conversationTopic.
|
void |
setDeliveryTime(Date deliveryTime)
Set deliveryTime.
|
void |
setDisplayBcc(String displayBcc)
Set displayBcc.
|
void |
setDisplayCc(String displayCc)
Set displayCc.
|
void |
setDisplayName(String displayName)
Set displayName.
|
void |
setDisplayNamePrefix(String displayNamePrefix)
Set displayNamePrefix.
|
void |
setDisplayTo(String displayTo)
Set displayTo.
|
void |
setFlags(List<String> flags)
Set flags.
|
void |
setHeaders(Map<String,String> headers)
Set headers.
|
void |
setInternetMessageId(String internetMessageId)
Set internetMessageId.
|
void |
setMessageBody(String messageBody)
Set messageBody.
|
void |
setMessageFormat(String messageFormat)
Set messageFormat.
|
void |
setNormalizedSubject(String normalizedSubject)
Set normalizedSubject.
|
void |
setReadReceiptRequested(Boolean readReceiptRequested)
Set readReceiptRequested.
|
void |
setReplyTo(String replyTo)
Set replyTo.
|
void |
setSenderAddressType(String senderAddressType)
Set senderAddressType.
|
void |
setSenderEmailAddress(String senderEmailAddress)
Set senderEmailAddress.
|
void |
setSenderName(String senderName)
Set senderName.
|
void |
setSenderSmtpAddress(String senderSmtpAddress)
Set senderSmtpAddress.
|
void |
setSentRepresentingAddressType(String sentRepresentingAddressType)
Set sentRepresentingAddressType.
|
void |
setSentRepresentingEmailAddress(String sentRepresentingEmailAddress)
Set sentRepresentingEmailAddress.
|
void |
setSentRepresentingName(String sentRepresentingName)
Set sentRepresentingName.
|
void |
setSentRepresentingSmtpAddress(String sentRepresentingSmtpAddress)
Set sentRepresentingSmtpAddress.
|
void |
setTransportMessageHeaders(String transportMessageHeaders)
Set transportMessageHeaders.
|
String |
toString() |
MapiMessageDto |
transportMessageHeaders(String transportMessageHeaders)
Set transportMessageHeaders and return this.
|
addAttachmentsItem, addCategoriesItem, addCompaniesItem, addPropertiesItem, addRecipientsItem, attachments, billing, body, bodyHtml, bodyRtf, bodyType, categories, companies, getAttachments, getBilling, getBody, getBodyHtml, getBodyRtf, getBodyType, getCategories, getCompanies, getDiscriminator, getItemId, getMessageClass, getMileage, getProperties, getRecipients, getSensitivity, getSubject, getSubjectPrefix, itemId, messageClass, mileage, properties, recipients, sensitivity, setAttachments, setBilling, setBody, setBodyHtml, setBodyRtf, setBodyType, setCategories, setCompanies, setDiscriminator, setItemId, setMessageClass, setMileage, setProperties, setRecipients, setSensitivity, setSubject, setSubjectPrefix, subject, subjectPrefix
public MapiMessageDto()
public MapiMessageDto(List<MapiAttachmentDto> attachments, String billing, String body, String bodyHtml, String bodyRtf, String bodyType, List<String> categories, List<String> companies, String itemId, String messageClass, String mileage, List<MapiRecipientDto> recipients, String sensitivity, String subject, String subjectPrefix, List<MapiPropertyDto> properties, String discriminator, String messageBody, Date clientSubmitTime, String conversationTopic, Date deliveryTime, String displayBcc, String displayCc, String displayName, String displayNamePrefix, String displayTo, List<String> flags, Map<String,String> headers, String internetMessageId, String messageFormat, String normalizedSubject, Boolean readReceiptRequested, String replyTo, String senderAddressType, String senderEmailAddress, String senderName, String senderSmtpAddress, String sentRepresentingAddressType, String sentRepresentingEmailAddress, String sentRepresentingName, String sentRepresentingSmtpAddress, String transportMessageHeaders)
attachments
- Message item attachments.billing
- Billing information associated with an item.body
- Message text.bodyHtml
- Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.bodyRtf
- RTF formatted message text.bodyType
- The content type of message body. Enum, available values: PlainText, Html, Rtfcategories
- Contains keywords or categories for the message object.companies
- Contains the names of the companies that are associated with an item.itemId
- The item id, uses with a server.messageClass
- Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message.mileage
- Contains the mileage information that is associated with an item.recipients
- Recipients of the message.sensitivity
- Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidentialsubject
- Subject of the message.subjectPrefix
- Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding.properties
- List of MAPI propertiesdiscriminator
- messageBody
- Message textclientSubmitTime
- Date and time the message sender submitted a message.conversationTopic
- Topic of the first message in a conversation thread.deliveryTime
- Date and time a message was delivered.displayBcc
- List of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).displayCc
- List of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).displayName
- Display name for the message.displayNamePrefix
- Prefix of the display name.displayTo
- List of the display names of the primary (To) message recipients, separated by semicolons (;).flags
- Message flags. Items: Mapi message flags. Enum, available values: MsgFlagZero, MsgFlagRead, MsgFlagUnmodified, MsgFlagSubmit, MsgFlagUnsent, MsgFlagHasAttach, MsgFlagFromMe, MsgFlagAssociated, MsgFlagResend, MsgFlagNotifyRead, MsgFlagNotifyUnread, MsgFlagEverRead, MsgFlagOriginX400, MsgFlagOriginInternet, MsgFlagOriginMiscExtheaders
- Transport message headersinternetMessageId
- Internet message id of the message.messageFormat
- Represents outlook message format. Enum, available values: Ascii, UnicodenormalizedSubject
- Normalized subject of the message.readReceiptRequested
- Value indicating whether the read receipt is requested.replyTo
- Reply to names.senderAddressType
- Message sender's e-mail address type.senderEmailAddress
- Message sender's e-mail address.senderName
- Message sender's display name.senderSmtpAddress
- Message sender's e-mail address.sentRepresentingAddressType
- Address type for the messaging user represented by the sender.sentRepresentingEmailAddress
- E-mail address for the messaging user represented by the sender.sentRepresentingName
- Display name for the messaging user represented by the sender.sentRepresentingSmtpAddress
- E-mail address for the messaging user represented by the sender.transportMessageHeaders
- Transport-specific message envelope information.public MapiMessageDto messageBody(String messageBody)
messageBody
- Message textpublic String getMessageBody()
public void setMessageBody(String messageBody)
messageBody
- Message textpublic MapiMessageDto clientSubmitTime(Date clientSubmitTime)
clientSubmitTime
- Date and time the message sender submitted a message.public Date getClientSubmitTime()
public void setClientSubmitTime(Date clientSubmitTime)
clientSubmitTime
- Date and time the message sender submitted a message.public MapiMessageDto conversationTopic(String conversationTopic)
conversationTopic
- Topic of the first message in a conversation thread.public String getConversationTopic()
public void setConversationTopic(String conversationTopic)
conversationTopic
- Topic of the first message in a conversation thread.public MapiMessageDto deliveryTime(Date deliveryTime)
deliveryTime
- Date and time a message was delivered.public Date getDeliveryTime()
public void setDeliveryTime(Date deliveryTime)
deliveryTime
- Date and time a message was delivered.public MapiMessageDto displayBcc(String displayBcc)
displayBcc
- List of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).public String getDisplayBcc()
public void setDisplayBcc(String displayBcc)
displayBcc
- List of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).public MapiMessageDto displayCc(String displayCc)
displayCc
- List of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).public String getDisplayCc()
public void setDisplayCc(String displayCc)
displayCc
- List of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).public MapiMessageDto displayName(String displayName)
displayName
- Display name for the message.public String getDisplayName()
public void setDisplayName(String displayName)
displayName
- Display name for the message.public MapiMessageDto displayNamePrefix(String displayNamePrefix)
displayNamePrefix
- Prefix of the display name.public String getDisplayNamePrefix()
public void setDisplayNamePrefix(String displayNamePrefix)
displayNamePrefix
- Prefix of the display name.public MapiMessageDto displayTo(String displayTo)
displayTo
- List of the display names of the primary (To) message recipients, separated by semicolons (;).public String getDisplayTo()
public void setDisplayTo(String displayTo)
displayTo
- List of the display names of the primary (To) message recipients, separated by semicolons (;).public MapiMessageDto flags(List<String> flags)
flags
- Message flags. Items: Mapi message flags. Enum, available values: MsgFlagZero, MsgFlagRead, MsgFlagUnmodified, MsgFlagSubmit, MsgFlagUnsent, MsgFlagHasAttach, MsgFlagFromMe, MsgFlagAssociated, MsgFlagResend, MsgFlagNotifyRead, MsgFlagNotifyUnread, MsgFlagEverRead, MsgFlagOriginX400, MsgFlagOriginInternet, MsgFlagOriginMiscExtpublic MapiMessageDto addFlagsItem(String flagsItem)
flagsItem
- An item of: Message flags.public List<String> getFlags()
public void setFlags(List<String> flags)
flags
- Message flags. Items: Mapi message flags. Enum, available values: MsgFlagZero, MsgFlagRead, MsgFlagUnmodified, MsgFlagSubmit, MsgFlagUnsent, MsgFlagHasAttach, MsgFlagFromMe, MsgFlagAssociated, MsgFlagResend, MsgFlagNotifyRead, MsgFlagNotifyUnread, MsgFlagEverRead, MsgFlagOriginX400, MsgFlagOriginInternet, MsgFlagOriginMiscExtpublic MapiMessageDto headers(Map<String,String> headers)
headers
- Transport message headerspublic MapiMessageDto putHeadersItem(String key, String headersItem)
key
- An item keyheadersItem
- An item valuepublic void setHeaders(Map<String,String> headers)
headers
- Transport message headerspublic MapiMessageDto internetMessageId(String internetMessageId)
internetMessageId
- Internet message id of the message.public String getInternetMessageId()
public void setInternetMessageId(String internetMessageId)
internetMessageId
- Internet message id of the message.public MapiMessageDto messageFormat(String messageFormat)
messageFormat
- Represents outlook message format. Enum, available values: Ascii, Unicodepublic String getMessageFormat()
public void setMessageFormat(String messageFormat)
messageFormat
- Represents outlook message format. Enum, available values: Ascii, Unicodepublic MapiMessageDto normalizedSubject(String normalizedSubject)
normalizedSubject
- Normalized subject of the message.public String getNormalizedSubject()
public void setNormalizedSubject(String normalizedSubject)
normalizedSubject
- Normalized subject of the message.public MapiMessageDto readReceiptRequested(Boolean readReceiptRequested)
readReceiptRequested
- Value indicating whether the read receipt is requested.public Boolean isReadReceiptRequested()
public void setReadReceiptRequested(Boolean readReceiptRequested)
readReceiptRequested
- Value indicating whether the read receipt is requested.public MapiMessageDto replyTo(String replyTo)
replyTo
- Reply to names.public String getReplyTo()
public void setReplyTo(String replyTo)
replyTo
- Reply to names.public MapiMessageDto senderAddressType(String senderAddressType)
senderAddressType
- Message sender's e-mail address type.public String getSenderAddressType()
public void setSenderAddressType(String senderAddressType)
senderAddressType
- Message sender's e-mail address type.public MapiMessageDto senderEmailAddress(String senderEmailAddress)
senderEmailAddress
- Message sender's e-mail address.public String getSenderEmailAddress()
public void setSenderEmailAddress(String senderEmailAddress)
senderEmailAddress
- Message sender's e-mail address.public MapiMessageDto senderName(String senderName)
senderName
- Message sender's display name.public String getSenderName()
public void setSenderName(String senderName)
senderName
- Message sender's display name.public MapiMessageDto senderSmtpAddress(String senderSmtpAddress)
senderSmtpAddress
- Message sender's e-mail address.public String getSenderSmtpAddress()
public void setSenderSmtpAddress(String senderSmtpAddress)
senderSmtpAddress
- Message sender's e-mail address.public MapiMessageDto sentRepresentingAddressType(String sentRepresentingAddressType)
sentRepresentingAddressType
- Address type for the messaging user represented by the sender.public String getSentRepresentingAddressType()
public void setSentRepresentingAddressType(String sentRepresentingAddressType)
sentRepresentingAddressType
- Address type for the messaging user represented by the sender.public MapiMessageDto sentRepresentingEmailAddress(String sentRepresentingEmailAddress)
sentRepresentingEmailAddress
- E-mail address for the messaging user represented by the sender.public String getSentRepresentingEmailAddress()
public void setSentRepresentingEmailAddress(String sentRepresentingEmailAddress)
sentRepresentingEmailAddress
- E-mail address for the messaging user represented by the sender.public MapiMessageDto sentRepresentingName(String sentRepresentingName)
sentRepresentingName
- Display name for the messaging user represented by the sender.public String getSentRepresentingName()
public void setSentRepresentingName(String sentRepresentingName)
sentRepresentingName
- Display name for the messaging user represented by the sender.public MapiMessageDto sentRepresentingSmtpAddress(String sentRepresentingSmtpAddress)
sentRepresentingSmtpAddress
- E-mail address for the messaging user represented by the sender.public String getSentRepresentingSmtpAddress()
public void setSentRepresentingSmtpAddress(String sentRepresentingSmtpAddress)
sentRepresentingSmtpAddress
- E-mail address for the messaging user represented by the sender.public MapiMessageDto transportMessageHeaders(String transportMessageHeaders)
transportMessageHeaders
- Transport-specific message envelope information.public String getTransportMessageHeaders()
public void setTransportMessageHeaders(String transportMessageHeaders)
transportMessageHeaders
- Transport-specific message envelope information.public boolean equals(Object o)
equals
in class MapiMessageItemBaseDto
public int hashCode()
hashCode
in class MapiMessageItemBaseDto
public String toString()
toString
in class MapiMessageItemBaseDto
Copyright © 2020. All rights reserved.