Class SupportedContent

java.lang.Object
com.mypurecloud.sdk.v2.model.SupportedContent
All Implemented Interfaces:
Serializable

public class SupportedContent extends Object implements Serializable
Supported content profile for inbound and outbound messages
See Also:
  • Constructor Details

    • SupportedContent

      public SupportedContent()
    • SupportedContent

      public SupportedContent(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • name

      public SupportedContent name(String name)
      The name of the supported content profile
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDateCreated

      public Date getDateCreated()
    • getDateModified

      public Date getDateModified()
    • getCreatedBy

      public DomainEntityRef getCreatedBy()
    • getModifiedBy

      public DomainEntityRef getModifiedBy()
    • getVersion

      public Integer getVersion()
    • mediaTypes

      public SupportedContent mediaTypes(MediaTypes 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

      public MediaTypes getMediaTypes()
    • setMediaTypes

      public void setMediaTypes(MediaTypes mediaTypes)
    • getSelfUri

      public String getSelfUri()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object