Interface Attachment
- All Known Implementing Classes:
AttachmentWrapper
public interface Attachment
Metadata for a file attachment in the Equinix Customer Portal (Attachments v1
attachment).-
Method Summary
Modifier and TypeMethodDescriptiondelete()Deletes this attachment.Returns the unique identifier of the attachment.Returns the file name of the attachment.Returns the size of the attachment in bytes.Returns the document extension / content type of the attachment.Returns the user key of the author of the attachment.Returns the created date of the attachment.Returns the last accessed/updated date of the attachment.voidrefresh()Refreshes this attachment's metadata from the API.
-
Method Details
-
getAttachmentId
String getAttachmentId()Returns the unique identifier of the attachment.- Returns:
- the attachment id (UUID)
-
getAttachmentName
-
getAttachmentType
String getAttachmentType()Returns the document extension / content type of the attachment.- Returns:
- the attachment type
-
getAttachmentSize
-
getCreatedDate
-
getCreatedBy
-
getLastUpdatedDate
String getLastUpdatedDate()Returns the last accessed/updated date of the attachment.- Returns:
- the last updated date
-
delete
-
refresh
void refresh()Refreshes this attachment's metadata from the API.
-