Class AttachmentWrapper
java.lang.Object
com.eqixiac.equinix.core.model.ResourceImpl<Attachment>
com.eqixiac.equinix.customerportal.model.wrappers.AttachmentWrapper
- All Implemented Interfaces:
Resource<Attachment>, Attachment
-
Constructor Summary
ConstructorsConstructorDescriptionAttachmentWrapper(AttachmentJson attachmentJson, Pageable<Attachment> serviceClient) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Attachment
getAttachmentId, getAttachmentName, getAttachmentSize, getAttachmentType, getCreatedBy, getCreatedDate, getLastUpdatedDateModifier and TypeMethodDescriptionReturns 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.Methods inherited from interface Resource
getServiceClient
-
Constructor Details
-
AttachmentWrapper
-
-
Method Details
-
delete
Description copied from interface:AttachmentDeletes this attachment.- Specified by:
deletein interfaceAttachment- Returns:
trueif the attachment was deleted
-
refresh
public void refresh()Description copied from interface:AttachmentRefreshes this attachment's metadata from the API.- Specified by:
refreshin interfaceAttachment
-