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 TypeMethodDescriptioncommunicationId(String communicationId) contentLengthBytes(Integer contentLengthBytes) The optional content length of the the media object, in bytes.conversationId(String conversationId) booleangetId()getName()getUrl()inthashCode()The detected internet media type of the the media object.voidsetCommunicationId(String communicationId) voidsetContentLengthBytes(Integer contentLengthBytes) voidsetConversationId(String conversationId) 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() -
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
-
conversationId
-
getConversationId
-
setConversationId
-
communicationId
-
getCommunicationId
-
setCommunicationId
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-