public class MapiMessageItemBaseDto extends Object
Constructor and Description |
---|
MapiMessageItemBaseDto() |
MapiMessageItemBaseDto(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)
Initializes a new instance of the MapiMessageItemBaseDto
|
Modifier and Type | Method and Description |
---|---|
MapiMessageItemBaseDto |
addAttachmentsItem(MapiAttachmentDto attachmentsItem)
Add an item to attachments and return this.
|
MapiMessageItemBaseDto |
addCategoriesItem(String categoriesItem)
Add an item to categories and return this.
|
MapiMessageItemBaseDto |
addCompaniesItem(String companiesItem)
Add an item to companies and return this.
|
MapiMessageItemBaseDto |
addPropertiesItem(MapiPropertyDto propertiesItem)
Add an item to properties and return this.
|
MapiMessageItemBaseDto |
addRecipientsItem(MapiRecipientDto recipientsItem)
Add an item to recipients and return this.
|
MapiMessageItemBaseDto |
attachments(List<MapiAttachmentDto> attachments)
Set attachments and return this.
|
MapiMessageItemBaseDto |
billing(String billing)
Set billing and return this.
|
MapiMessageItemBaseDto |
body(String body)
Set body and return this.
|
MapiMessageItemBaseDto |
bodyHtml(String bodyHtml)
Set bodyHtml and return this.
|
MapiMessageItemBaseDto |
bodyRtf(String bodyRtf)
Set bodyRtf and return this.
|
MapiMessageItemBaseDto |
bodyType(String bodyType)
Set bodyType and return this.
|
MapiMessageItemBaseDto |
categories(List<String> categories)
Set categories and return this.
|
MapiMessageItemBaseDto |
companies(List<String> companies)
Set companies and return this.
|
boolean |
equals(Object o) |
List<MapiAttachmentDto> |
getAttachments()
Message item attachments.
|
String |
getBilling()
Billing information associated with an item.
|
String |
getBody()
Message text.
|
String |
getBodyHtml()
Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.
|
String |
getBodyRtf()
RTF formatted message text.
|
String |
getBodyType()
The content type of message body.
|
List<String> |
getCategories()
Contains keywords or categories for the message object.
|
List<String> |
getCompanies()
Contains the names of the companies that are associated with an item.
|
String |
getDiscriminator()
Get discriminator
|
String |
getItemId()
The item id, uses with a server.
|
String |
getMessageClass()
Case-sensitive string that identifies the sender-defined message class, such as IPM.Note.
|
String |
getMileage()
Contains the mileage information that is associated with an item.
|
List<MapiPropertyDto> |
getProperties()
List of MAPI properties
|
List<MapiRecipientDto> |
getRecipients()
Recipients of the message.
|
String |
getSensitivity()
Contains values that indicate the message sensitivity.
|
String |
getSubject()
Subject of the message.
|
String |
getSubjectPrefix()
Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding.
|
int |
hashCode() |
MapiMessageItemBaseDto |
itemId(String itemId)
Set itemId and return this.
|
MapiMessageItemBaseDto |
messageClass(String messageClass)
Set messageClass and return this.
|
MapiMessageItemBaseDto |
mileage(String mileage)
Set mileage and return this.
|
MapiMessageItemBaseDto |
properties(List<MapiPropertyDto> properties)
Set properties and return this.
|
MapiMessageItemBaseDto |
recipients(List<MapiRecipientDto> recipients)
Set recipients and return this.
|
MapiMessageItemBaseDto |
sensitivity(String sensitivity)
Set sensitivity and return this.
|
void |
setAttachments(List<MapiAttachmentDto> attachments)
Set attachments.
|
void |
setBilling(String billing)
Set billing.
|
void |
setBody(String body)
Set body.
|
void |
setBodyHtml(String bodyHtml)
Set bodyHtml.
|
void |
setBodyRtf(String bodyRtf)
Set bodyRtf.
|
void |
setBodyType(String bodyType)
Set bodyType.
|
void |
setCategories(List<String> categories)
Set categories.
|
void |
setCompanies(List<String> companies)
Set companies.
|
void |
setDiscriminator(String type)
Set discriminator.
|
void |
setItemId(String itemId)
Set itemId.
|
void |
setMessageClass(String messageClass)
Set messageClass.
|
void |
setMileage(String mileage)
Set mileage.
|
void |
setProperties(List<MapiPropertyDto> properties)
Set properties.
|
void |
setRecipients(List<MapiRecipientDto> recipients)
Set recipients.
|
void |
setSensitivity(String sensitivity)
Set sensitivity.
|
void |
setSubject(String subject)
Set subject.
|
void |
setSubjectPrefix(String subjectPrefix)
Set subjectPrefix.
|
MapiMessageItemBaseDto |
subject(String subject)
Set subject and return this.
|
MapiMessageItemBaseDto |
subjectPrefix(String subjectPrefix)
Set subjectPrefix and return this.
|
String |
toString() |
public MapiMessageItemBaseDto()
public MapiMessageItemBaseDto(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)
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
- public MapiMessageItemBaseDto attachments(List<MapiAttachmentDto> attachments)
attachments
- Message item attachments.public MapiMessageItemBaseDto addAttachmentsItem(MapiAttachmentDto attachmentsItem)
attachmentsItem
- An item of: Message item attachments.public List<MapiAttachmentDto> getAttachments()
public void setAttachments(List<MapiAttachmentDto> attachments)
attachments
- Message item attachments.public MapiMessageItemBaseDto billing(String billing)
billing
- Billing information associated with an item.public String getBilling()
public void setBilling(String billing)
billing
- Billing information associated with an item.public MapiMessageItemBaseDto body(String body)
body
- Message text.public String getBody()
public void setBody(String body)
body
- Message text.public MapiMessageItemBaseDto bodyHtml(String bodyHtml)
bodyHtml
- Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.public String getBodyHtml()
public void setBodyHtml(String bodyHtml)
bodyHtml
- Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.public MapiMessageItemBaseDto bodyRtf(String bodyRtf)
bodyRtf
- RTF formatted message text.public String getBodyRtf()
public void setBodyRtf(String bodyRtf)
bodyRtf
- RTF formatted message text.public MapiMessageItemBaseDto bodyType(String bodyType)
bodyType
- The content type of message body. Enum, available values: PlainText, Html, Rtfpublic String getBodyType()
public void setBodyType(String bodyType)
bodyType
- The content type of message body. Enum, available values: PlainText, Html, Rtfpublic MapiMessageItemBaseDto categories(List<String> categories)
categories
- Contains keywords or categories for the message object.public MapiMessageItemBaseDto addCategoriesItem(String categoriesItem)
categoriesItem
- An item of: Contains keywords or categories for the message object.public List<String> getCategories()
public void setCategories(List<String> categories)
categories
- Contains keywords or categories for the message object.public MapiMessageItemBaseDto companies(List<String> companies)
companies
- Contains the names of the companies that are associated with an item.public MapiMessageItemBaseDto addCompaniesItem(String companiesItem)
companiesItem
- An item of: Contains the names of the companies that are associated with an item.public List<String> getCompanies()
public void setCompanies(List<String> companies)
companies
- Contains the names of the companies that are associated with an item.public MapiMessageItemBaseDto itemId(String itemId)
itemId
- The item id, uses with a server.public String getItemId()
public void setItemId(String itemId)
itemId
- The item id, uses with a server.public MapiMessageItemBaseDto messageClass(String messageClass)
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.public String getMessageClass()
public void setMessageClass(String messageClass)
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.public MapiMessageItemBaseDto mileage(String mileage)
mileage
- Contains the mileage information that is associated with an item.public String getMileage()
public void setMileage(String mileage)
mileage
- Contains the mileage information that is associated with an item.public MapiMessageItemBaseDto recipients(List<MapiRecipientDto> recipients)
recipients
- Recipients of the message.public MapiMessageItemBaseDto addRecipientsItem(MapiRecipientDto recipientsItem)
recipientsItem
- An item of: Recipients of the message.public List<MapiRecipientDto> getRecipients()
public void setRecipients(List<MapiRecipientDto> recipients)
recipients
- Recipients of the message.public MapiMessageItemBaseDto sensitivity(String sensitivity)
sensitivity
- Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidentialpublic String getSensitivity()
public void setSensitivity(String sensitivity)
sensitivity
- Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidentialpublic MapiMessageItemBaseDto subject(String subject)
subject
- Subject of the message.public String getSubject()
public void setSubject(String subject)
subject
- Subject of the message.public MapiMessageItemBaseDto subjectPrefix(String subjectPrefix)
subjectPrefix
- Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding.public String getSubjectPrefix()
public void setSubjectPrefix(String subjectPrefix)
subjectPrefix
- Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding.public MapiMessageItemBaseDto properties(List<MapiPropertyDto> properties)
properties
- List of MAPI propertiespublic MapiMessageItemBaseDto addPropertiesItem(MapiPropertyDto propertiesItem)
propertiesItem
- An item of: List of MAPI propertiespublic List<MapiPropertyDto> getProperties()
public void setProperties(List<MapiPropertyDto> properties)
properties
- List of MAPI propertiespublic String getDiscriminator()
public void setDiscriminator(String type)
discriminator
- Copyright © 2020. All rights reserved.