@asposecloud/aspose-email-cloud
Version:
Aspose.Email Cloud Node.js SDK
187 lines (186 loc) • 6.96 kB
TypeScript
import * as model from "./index";
/**
* Base Dto for MapiMessage, MapiCalendar or MapiContact
*/
export declare class MapiMessageItemBaseDto {
/**
* Attribute type map
*/
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
/**
* Message item attachments.
*/
attachments: Array<model.MapiAttachmentDto>;
/**
* Billing information associated with an item.
*/
billing: string;
/**
* Message text.
*/
body: string;
/**
* Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.
*/
bodyHtml: string;
/**
* RTF formatted message text.
*/
bodyRtf: string;
/**
* The content type of message body. Enum, available values: PlainText, Html, Rtf
*/
bodyType: string;
/**
* Contains keywords or categories for the message object.
*/
categories: Array<string>;
/**
* Contains the names of the companies that are associated with an item.
*/
companies: Array<string>;
/**
* The item id, uses with a server.
*/
itemId: string;
/**
* 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.
*/
messageClass: string;
/**
* Contains the mileage information that is associated with an item.
*/
mileage: string;
/**
* Recipients of the message.
*/
recipients: Array<model.MapiRecipientDto>;
/**
* Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential
*/
sensitivity: string;
/**
* Subject of the message.
*/
subject: string;
/**
* Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding.
*/
subjectPrefix: string;
/**
* List of MAPI properties
*/
properties: Array<model.MapiPropertyDto>;
/**
* Model type discriminator. Used for serialization purposes. Field is set automatically by SDK.
*/
get discriminator(): string;
set discriminator(_newType: string);
/**
* Base Dto for MapiMessage, MapiCalendar or MapiContact
* @param attachments Message item attachments.
* @param billing Billing information associated with an item.
* @param body Message text.
* @param bodyHtml Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.
* @param bodyRtf RTF formatted message text.
* @param bodyType The content type of message body. Enum, available values: PlainText, Html, Rtf
* @param categories Contains keywords or categories for the message object.
* @param companies Contains the names of the companies that are associated with an item.
* @param itemId The item id, uses with a server.
* @param 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.
* @param mileage Contains the mileage information that is associated with an item.
* @param recipients Recipients of the message.
* @param sensitivity Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential
* @param subject Subject of the message.
* @param subjectPrefix Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding.
* @param properties List of MAPI properties
*/
constructor(attachments?: Array<model.MapiAttachmentDto>, billing?: string, body?: string, bodyHtml?: string, bodyRtf?: string, bodyType?: string, categories?: Array<string>, companies?: Array<string>, itemId?: string, messageClass?: string, mileage?: string, recipients?: Array<model.MapiRecipientDto>, sensitivity?: string, subject?: string, subjectPrefix?: string, properties?: Array<model.MapiPropertyDto>);
}
/**
* MapiMessageItemBaseDto model builder
*/
export declare class MapiMessageItemBaseDtoBuilder {
private readonly model;
constructor(model: MapiMessageItemBaseDto);
/**
* Build model.
*/
build(): MapiMessageItemBaseDto;
/**
* Message item attachments.
*/
attachments(attachments: Array<model.MapiAttachmentDto>): MapiMessageItemBaseDtoBuilder;
/**
* Billing information associated with an item.
*/
billing(billing: string): MapiMessageItemBaseDtoBuilder;
/**
* Message text.
*/
body(body: string): MapiMessageItemBaseDtoBuilder;
/**
* Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.
*/
bodyHtml(bodyHtml: string): MapiMessageItemBaseDtoBuilder;
/**
* RTF formatted message text.
*/
bodyRtf(bodyRtf: string): MapiMessageItemBaseDtoBuilder;
/**
* The content type of message body. Enum, available values: PlainText, Html, Rtf
*/
bodyType(bodyType: string): MapiMessageItemBaseDtoBuilder;
/**
* Contains keywords or categories for the message object.
*/
categories(categories: Array<string>): MapiMessageItemBaseDtoBuilder;
/**
* Contains the names of the companies that are associated with an item.
*/
companies(companies: Array<string>): MapiMessageItemBaseDtoBuilder;
/**
* The item id, uses with a server.
*/
itemId(itemId: string): MapiMessageItemBaseDtoBuilder;
/**
* 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.
*/
messageClass(messageClass: string): MapiMessageItemBaseDtoBuilder;
/**
* Contains the mileage information that is associated with an item.
*/
mileage(mileage: string): MapiMessageItemBaseDtoBuilder;
/**
* Recipients of the message.
*/
recipients(recipients: Array<model.MapiRecipientDto>): MapiMessageItemBaseDtoBuilder;
/**
* Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential
*/
sensitivity(sensitivity: string): MapiMessageItemBaseDtoBuilder;
/**
* Subject of the message.
*/
subject(subject: string): MapiMessageItemBaseDtoBuilder;
/**
* Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding.
*/
subjectPrefix(subjectPrefix: string): MapiMessageItemBaseDtoBuilder;
/**
* List of MAPI properties
*/
properties(properties: Array<model.MapiPropertyDto>): MapiMessageItemBaseDtoBuilder;
}