Package com.mypurecloud.sdk.v2.model
Class MessageMediaAttachment
java.lang.Object
com.mypurecloud.sdk.v2.model.MessageMediaAttachment
- All Implemented Interfaces:
Serializable
MessageMediaAttachment
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe optional internet media type of the the media object.If null then the media type should be dictated by the url. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentLength(Long contentLength) The optional content length of the the media object, in bytes.booleangetId()getName()getUrl()inthashCode()A globally unique identifier for the media object.mediaType(MessageMediaAttachment.MediaTypeEnum mediaType) The optional internet media type of the the media object.If null then the media type should be dictated by the url.The name of the media object.voidsetContentLength(Long contentLength) voidvoidsetMediaType(MessageMediaAttachment.MediaTypeEnum mediaType) voidvoidtoString()The location of the media, useful for retrieving it
-
Constructor Details
-
MessageMediaAttachment
public MessageMediaAttachment() -
MessageMediaAttachment
-
-
Method Details
-
url
The location of the media, useful for retrieving it -
getUrl
-
setUrl
-
mediaType
The optional internet media type of the the media object.If null then the media type should be dictated by the url. -
getMediaType
-
setMediaType
-
contentLength
The optional content length of the the media object, in bytes. -
getContentLength
-
setContentLength
-
name
The name of the media object. -
getName
-
setName
-
id
A globally unique identifier for the media object. -
getId
-
setId
-
equals
-
hashCode
public int hashCode() -
toString
-