MessageObjectAttachmentEntity

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.email.IMessageObjectPropertyContainer

public final class MessageObjectAttachmentEntity implements IMessageObjectPropertyContainer

Represents an attachment entity.

Constructors

Constructor Description
MessageObjectAttachmentEntity() Initializes a new instance of the MessageObjectAttachmentEntity class.

Methods

Method Description
getProperties() Gets the attachment properties.
getEmbeddedMessage() Gets or sets the Embedded Message Object storage if present.Can be null.
setEmbeddedMessage(MessageObject value) Gets or sets the Embedded Message Object storage if present.Can be null.
getCustomAttachmentStorageData() Gets or sets the custom attachment storage data.Can be null.
setCustomAttachmentStorageData(CustomAttachmentStorage value) Gets or sets the custom attachment storage data.Can be null.

MessageObjectAttachmentEntity()

public MessageObjectAttachmentEntity()

Initializes a new instance of the MessageObjectAttachmentEntity class.

getProperties()

public final MessageObjectPropertiesCollection getProperties()

Gets the attachment properties.

Value: The properties collection.

Returns: MessageObjectPropertiesCollection

getEmbeddedMessage()

public final MessageObject getEmbeddedMessage()

Gets or sets the Embedded Message Object storage if present.Can be null.

Value: The embedded message.


Mutually exclusive with ``` MessageObjectAttachmentEntity.CustomAttachmentStorageData ```(#getCustomAttachmentStorageData/#setCustomAttachmentStorageData(CustomAttachmentStorage)) or both can be null.

Returns: MessageObject

setEmbeddedMessage(MessageObject value)

public final void setEmbeddedMessage(MessageObject value)

Gets or sets the Embedded Message Object storage if present.Can be null.

Value: The embedded message.


Mutually exclusive with ``` MessageObjectAttachmentEntity.CustomAttachmentStorageData ```(#getCustomAttachmentStorageData/#setCustomAttachmentStorageData(CustomAttachmentStorage)) or both can be null.

Parameters:

Parameter Type Description
value MessageObject

getCustomAttachmentStorageData()

public final CustomAttachmentStorage getCustomAttachmentStorageData()

Gets or sets the custom attachment storage data.Can be null.

Value: The custom attachment storage data.


Mutually exclusive with ``` MessageObjectAttachmentEntity.EmbeddedMessage ```(#getEmbeddedMessage/#setEmbeddedMessage(MessageObject)) or both can be null.

Returns: CustomAttachmentStorage

setCustomAttachmentStorageData(CustomAttachmentStorage value)

public final void setCustomAttachmentStorageData(CustomAttachmentStorage value)

Gets or sets the custom attachment storage data.Can be null.

Value: The custom attachment storage data.


Mutually exclusive with ``` MessageObjectAttachmentEntity.EmbeddedMessage ```(#getEmbeddedMessage/#setEmbeddedMessage(MessageObject)) or both can be null.

Parameters:

Parameter Type Description
value CustomAttachmentStorage