@ExperimentalApi @ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public static interface ServiceDeskEmailAttachmentMatcher.Attachment
Modifier and Type | Method and Description |
---|---|
ServiceDeskEmailAttachmentMatcher.AttachmentContent |
getAttachmentContent()
A basic representation of the actual attachment content.
|
String |
getContentId()
The content id of the attachment.
|
String |
getContentType()
The content type of the attachment.
|
String |
getFilename()
The filename of the attachment.
|
String getContentType()
Will never return null, but may return "" if value can not be determined.
ServiceDeskEmailAttachmentMatcher.AttachmentContent getAttachmentContent()
This is used, rather than providing the actual byte[], in order to ensure immutability.
String getFilename()
If no filename was provided in the message part, this may be a generated value.
Will never return null, but may return "" if value can not be determined.
String getContentId()
Will never return null, but may return "" if there is cid specified for the message part, or it can not be determined.
Copyright © 2024 Atlassian. All rights reserved.