Class ContentAttachment
java.lang.Object
cloud.genesys.webmessaging.sdk.model.ContentAttachment
- All Implemented Interfaces:
Serializable
Attachment content. Media template header image. Attachment object.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentSizeBytes(Double contentSizeBytes) Size in bytes of the attachment content.booleanSuggested file name for attachment.getId()getMime()getText()getUrl()inthashCode()Provider specific ID for attachment.The type of attachment this instance represents.Attachment mime type (https://www.iana.org/assignments/media-types/media-types.xhtml).voidsetContentSizeBytes(Double contentSizeBytes) voidsetFilename(String filename) voidvoidsetMediaType(MediaType mediaType) voidvoidvoidvoidSecure hash of the attachment content.Text associated with attachment such as an image caption.toString()URL of the attachment.
-
Constructor Details
-
ContentAttachment
public ContentAttachment()
-
-
Method Details
-
contentSizeBytes
Size in bytes of the attachment content. -
getContentSizeBytes
-
setContentSizeBytes
-
filename
Suggested file name for attachment. -
getFilename
-
setFilename
-
id
Provider specific ID for attachment. For example, a LINE sticker ID. -
getId
-
setId
-
mediaType
The type of attachment this instance represents. -
getMediaType
-
setMediaType
-
mime
Attachment mime type (https://www.iana.org/assignments/media-types/media-types.xhtml). -
getMime
-
setMime
-
sha256
Secure hash of the attachment content. -
getSha256
-
setSha256
-
text
Text associated with attachment such as an image caption. -
getText
-
setText
-
url
URL of the attachment. -
getUrl
-
setUrl
-
equals
-
hashCode
public int hashCode() -
toString
-