Package com.mypurecloud.sdk.v2.model
Class SupportedContent
java.lang.Object
com.mypurecloud.sdk.v2.model.SupportedContent
- All Implemented Interfaces:
Serializable
Supported content profile for inbound and outbound messages
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getName()inthashCode()mediaTypes(MediaTypes mediaTypes) Defines the allowable media that may be accepted for an inbound message or to be sent in an outbound message.The name of the supported content profilevoidsetMediaTypes(MediaTypes mediaTypes) voidtoString()
-
Constructor Details
-
SupportedContent
public SupportedContent() -
SupportedContent
-
-
Method Details
-
getId
-
name
The name of the supported content profile -
getName
-
setName
-
getDateCreated
-
getDateModified
-
getCreatedBy
-
getModifiedBy
-
getVersion
-
mediaTypes
Defines the allowable media that may be accepted for an inbound message or to be sent in an outbound message. The following is an example of allowing all inbound media, and for outbound all images and only mpeg video: { \"mediaTypes\": { \"allow\": { \"inbound\": [{\"type\": \"*\\/\\*\"}], \"outbound\": [{\"type\": \"image/*\"}, {\"type\": \"video/mpeg\"}] } } } -
getMediaTypes
-
setMediaTypes
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-