Class DialerAction

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

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

    • DialerAction

      public DialerAction()
    • DialerAction

      public DialerAction(Boolean initWithEmptyList)
  • Method Details

    • type

      public DialerAction type(DialerAction.TypeEnum type)
      The type of this DialerAction.
    • getType

      public DialerAction.TypeEnum getType()
    • setType

      public void setType(DialerAction.TypeEnum type)
    • actionTypeName

      public DialerAction actionTypeName(DialerAction.ActionTypeNameEnum actionTypeName)
      Additional type specification for this DialerAction.
    • getActionTypeName

      public DialerAction.ActionTypeNameEnum getActionTypeName()
    • setActionTypeName

      public void setActionTypeName(DialerAction.ActionTypeNameEnum actionTypeName)
    • updateOption

      public DialerAction updateOption(DialerAction.UpdateOptionEnum updateOption)
      Specifies how a contact attribute should be updated. Required for MODIFY_CONTACT_ATTRIBUTE.
    • getUpdateOption

      public DialerAction.UpdateOptionEnum getUpdateOption()
    • setUpdateOption

      public void setUpdateOption(DialerAction.UpdateOptionEnum updateOption)
    • properties

      public DialerAction properties(Map<String,String> properties)
      A map of key-value pairs pertinent to the DialerAction. Different types of DialerActions require different properties. MODIFY_CONTACT_ATTRIBUTE with an updateOption of SET takes a contact column as the key and accepts any value. SCHEDULE_CALLBACK takes a key 'callbackOffset' that specifies how far in the future the callback should be scheduled, in minutes. SET_CALLER_ID takes two keys: 'callerAddress', which should be the caller id phone number, and 'callerName'. For either key, you can also specify a column on the contact to get the value from. To do this, specify 'contact.Column', where 'Column' is the name of the contact column from which to get the value. SET_SKILLS takes a key 'skills' with an array of skill ids wrapped into a string (Example: {'skills': '['skillIdHere']'} ).
    • getProperties

      public Map<String,String> getProperties()
    • setProperties

      public void setProperties(Map<String,String> properties)
    • dataAction

      public DialerAction dataAction(DomainEntityRef dataAction)
      The Data Action to use for this action. Required for a dataActionBehavior.
    • getDataAction

      public DomainEntityRef getDataAction()
    • setDataAction

      public void setDataAction(DomainEntityRef dataAction)
    • contactColumnToDataActionFieldMappings

      public DialerAction contactColumnToDataActionFieldMappings(List<ContactColumnToDataActionFieldMapping> contactColumnToDataActionFieldMappings)
      A list of mappings defining which contact data fields will be passed to which data action input fields for this condition. Valid for a dataActionBehavior.
    • getContactColumnToDataActionFieldMappings

      public List<ContactColumnToDataActionFieldMapping> getContactColumnToDataActionFieldMappings()
    • setContactColumnToDataActionFieldMappings

      public void setContactColumnToDataActionFieldMappings(List<ContactColumnToDataActionFieldMapping> contactColumnToDataActionFieldMappings)
    • contactIdField

      public DialerAction contactIdField(String contactIdField)
      The input field from the data action that the contactId will be passed to for this condition. Valid for a dataActionBehavior.
    • getContactIdField

      public String getContactIdField()
    • setContactIdField

      public void setContactIdField(String contactIdField)
    • callAnalysisResultField

      public DialerAction callAnalysisResultField(String callAnalysisResultField)
      The input field from the data action that the callAnalysisResult will be passed to for this condition. Valid for a wrapup dataActionBehavior.
    • getCallAnalysisResultField

      public String getCallAnalysisResultField()
    • setCallAnalysisResultField

      public void setCallAnalysisResultField(String callAnalysisResultField)
    • agentWrapupField

      public DialerAction agentWrapupField(String agentWrapupField)
      The input field from the data action that the agentWrapup will be passed to for this condition. Valid for a wrapup dataActionBehavior.
    • getAgentWrapupField

      public String getAgentWrapupField()
    • setAgentWrapupField

      public void setAgentWrapupField(String agentWrapupField)
    • 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