Class EmailAttachment
java.lang.Object
com.azure.communication.email.models.EmailAttachment
Attachment to the email.
-
Constructor Summary
ConstructorDescriptionEmailAttachment
(String name, EmailAttachmentType attachmentType, String contentBytesBase64) Constructor for EmailAttachment -
Method Summary
Modifier and TypeMethodDescriptionGet the attachmentType property: The type of attachment file.Get the contentBytesBase64 property: Base64 encoded contents of the attachment.getName()
Get the name property: Name of the attachment.
-
Constructor Details
-
EmailAttachment
Constructor for EmailAttachment- Parameters:
name
- the name of the attachmentattachmentType
- the type of attachment filecontentBytesBase64
- the base64 encoded contents of the attachment
-
-
Method Details
-
getName
Get the name property: Name of the attachment.- Returns:
- the name value.
-
getAttachmentType
Get the attachmentType property: The type of attachment file.- Returns:
- the attachmentType value.
-
getContentBytesBase64
Get the contentBytesBase64 property: Base64 encoded contents of the attachment.- Returns:
- the contentBytesBase64 value.
-