Package com.mypurecloud.sdk.v2.model
Class MessageMediaData
java.lang.Object
com.mypurecloud.sdk.v2.model.MessageMediaData
- All Implemented Interfaces:
Serializable
MessageMediaData
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe status of the media, indicates if the media is in the process of uploading. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentLengthBytes(Integer contentLengthBytes) The optional content length of the the media object, in bytes.booleangetId()getName()getUrl()inthashCode()The detected internet media type of the the media object.voidsetContentLengthBytes(Integer contentLengthBytes) voidsetMediaType(String mediaType) voidvoidsetUploadUrl(String uploadUrl) voidtoString()The URL returned to upload an attachmentThe location of the media, useful for retrieving it
-
Constructor Details
-
MessageMediaData
public MessageMediaData()
-
-
Method Details
-
getId
-
name
-
getName
-
setName
-
url
The location of the media, useful for retrieving it -
getUrl
-
setUrl
-
mediaType
The detected internet media type of the the media object. If null then the media type should be dictated by the url. -
getMediaType
-
setMediaType
-
contentLengthBytes
The optional content length of the the media object, in bytes. -
getContentLengthBytes
-
setContentLengthBytes
-
uploadUrl
The URL returned to upload an attachment -
getUploadUrl
-
setUploadUrl
-
getStatus
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-