Class MessageMediaSettings

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

public class MessageMediaSettings extends Object implements Serializable
MessageMediaSettings
See Also:
  • Constructor Details

    • MessageMediaSettings

      public MessageMediaSettings()
    • MessageMediaSettings

      public MessageMediaSettings(Boolean initWithEmptyList)
  • Method Details

    • enableAutoAnswer

      public MessageMediaSettings enableAutoAnswer(Boolean enableAutoAnswer)
      Indicates if auto-answer is enabled for the given media type or subtype (default is false). Subtype settings take precedence over media type settings.
    • getEnableAutoAnswer

      public Boolean getEnableAutoAnswer()
    • setEnableAutoAnswer

      public void setEnableAutoAnswer(Boolean enableAutoAnswer)
    • alertingTimeoutSeconds

      public MessageMediaSettings alertingTimeoutSeconds(Integer alertingTimeoutSeconds)
      The alerting timeout for the media type, in seconds
    • getAlertingTimeoutSeconds

      public Integer getAlertingTimeoutSeconds()
    • setAlertingTimeoutSeconds

      public void setAlertingTimeoutSeconds(Integer alertingTimeoutSeconds)
    • serviceLevel

      public MessageMediaSettings serviceLevel(ServiceLevel serviceLevel)
      The targeted service level for the media type
    • getServiceLevel

      public ServiceLevel getServiceLevel()
    • setServiceLevel

      public void setServiceLevel(ServiceLevel serviceLevel)
    • autoAnswerAlertToneSeconds

      public MessageMediaSettings autoAnswerAlertToneSeconds(Double autoAnswerAlertToneSeconds)
      How long to play the alerting tone for an auto-answer interaction
    • getAutoAnswerAlertToneSeconds

      public Double getAutoAnswerAlertToneSeconds()
    • setAutoAnswerAlertToneSeconds

      public void setAutoAnswerAlertToneSeconds(Double autoAnswerAlertToneSeconds)
    • manualAnswerAlertToneSeconds

      public MessageMediaSettings manualAnswerAlertToneSeconds(Double manualAnswerAlertToneSeconds)
      How long to play the alerting tone for a manual-answer interaction
    • getManualAnswerAlertToneSeconds

      public Double getManualAnswerAlertToneSeconds()
    • setManualAnswerAlertToneSeconds

      public void setManualAnswerAlertToneSeconds(Double manualAnswerAlertToneSeconds)
    • subTypeSettings

      public MessageMediaSettings subTypeSettings(Map<String,MessageSubtypeSettings> subTypeSettings)
      Map of media subtype to media subtype specific settings.
    • getSubTypeSettings

      public Map<String,MessageSubtypeSettings> getSubTypeSettings()
    • setSubTypeSettings

      public void setSubTypeSettings(Map<String,MessageSubtypeSettings> subTypeSettings)
    • enableInactivityTimeout

      public MessageMediaSettings enableInactivityTimeout(Boolean enableInactivityTimeout)
      Indicates if inactivity timeout is enabled for all subtypes.
    • getEnableInactivityTimeout

      public Boolean getEnableInactivityTimeout()
    • setEnableInactivityTimeout

      public void setEnableInactivityTimeout(Boolean enableInactivityTimeout)
    • inactivityTimeoutSettings

      public MessageMediaSettings inactivityTimeoutSettings(InactivityTimeoutSettings inactivityTimeoutSettings)
      Inactivity timeout settings for messages
    • getInactivityTimeoutSettings

      public InactivityTimeoutSettings getInactivityTimeoutSettings()
    • setInactivityTimeoutSettings

      public void setInactivityTimeoutSettings(InactivityTimeoutSettings inactivityTimeoutSettings)
    • 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