Package com.mypurecloud.sdk.v2.model
Class OpenContentAttachment
java.lang.Object
com.mypurecloud.sdk.v2.model.OpenContentAttachment
- All Implemented Interfaces:
Serializable
Attachment object.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of attachment this instance represents. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSuggested file name for attachment.getId()getMime()getText()getUrl()inthashCode()Provider specific ID for attachment.mediaType(OpenContentAttachment.MediaTypeEnum mediaType) The type of attachment this instance represents.Attachment mime type (https://www.iana.org/assignments/media-types/media-types.xhtml).voidsetFilename(String filename) voidvoidsetMediaType(OpenContentAttachment.MediaTypeEnum mediaType) voidvoidvoidvoidSecure hash of the attachment content.Text associated with attachment such as an image caption.toString()URL of the attachment.
-
Constructor Details
-
OpenContentAttachment
public OpenContentAttachment() -
OpenContentAttachment
-
-
Method Details
-
id
Provider specific ID for attachment. For example, middleware media UUID. -
getId
-
setId
-
mediaType
The type of attachment this instance represents. -
getMediaType
-
setMediaType
-
url
URL of the attachment. -
getUrl
-
setUrl
-
mime
Attachment mime type (https://www.iana.org/assignments/media-types/media-types.xhtml). -
getMime
-
setMime
-
text
Text associated with attachment such as an image caption. -
getText
-
setText
-
sha256
Secure hash of the attachment content. -
getSha256
-
setSha256
-
filename
Suggested file name for attachment. -
getFilename
-
setFilename
-
equals
-
hashCode
public int hashCode() -
toString
-