Class MessagingInitialConfiguration

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

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

    • MessagingInitialConfiguration

      public MessagingInitialConfiguration()
    • MessagingInitialConfiguration

      public MessagingInitialConfiguration(Boolean initWithEmptyList)
  • Method Details

    • toAddress

      public MessagingInitialConfiguration toAddress(String toAddress)
      Address for the participant on receiving side of the message conversation. If the address is a phone number, E.164 format is recommended.
    • getToAddress

      public String getToAddress()
    • setToAddress

      public void setToAddress(String toAddress)
    • fromAddress

      public MessagingInitialConfiguration fromAddress(String fromAddress)
      Address for the participant on the sending side of the message conversation. If the address is a phone number, E.164 format is recommended.
    • getFromAddress

      public String getFromAddress()
    • setFromAddress

      public void setFromAddress(String fromAddress)
    • messageType

      The type of message platform from which the message originated.
    • getMessageType

    • setMessageType

      public void setMessageType(MessagingInitialConfiguration.MessageTypeEnum messageType)
    • held

      Indicates that this communication's initial state is held.
    • getHeld

      public Boolean getHeld()
    • setHeld

      public void setHeld(Boolean held)
    • alerting

      public MessagingInitialConfiguration alerting(Boolean alerting)
      Indicates that this communication's initial state is alerting. If false, the communication started in a connected state.
    • getAlerting

      public Boolean getAlerting()
    • setAlerting

      public void setAlerting(Boolean alerting)
    • inbound

      public MessagingInitialConfiguration inbound(Boolean inbound)
      Indicates the direction of this communication with respect to the contact center. `true` means the communication is INBOUND. `false` means the communication is OUTBOUND.
    • getInbound

      public Boolean getInbound()
    • setInbound

      public void setInbound(Boolean inbound)
    • invitedBy

      public MessagingInitialConfiguration invitedBy(String invitedBy)
      The id of the communication (the \"peer\") that \"invited\" this communication, if this occurred.
    • getInvitedBy

      public String getInvitedBy()
    • setInvitedBy

      public void setInvitedBy(String invitedBy)
    • additionalInfo

      public MessagingInitialConfiguration additionalInfo(Map<String,String> additionalInfo)
      Additional metadata about this session which should be recorded by the platform but which will not be indexed or searchable. Primarily for diagnostic value. Any information that needs to be accessible through other components like Analytics should be moved to dedicated fields.
    • getAdditionalInfo

      public Map<String,String> getAdditionalInfo()
    • setAdditionalInfo

      public void setAdditionalInfo(Map<String,String> additionalInfo)
    • 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