Class SubmitRequest


  • public final class SubmitRequest
    extends java.lang.Object
    • Method Detail

      • getWorkspaceId

        public java.lang.String getWorkspaceId()
        Returns:
        The workspace ID of the teammate. Attribute is app_id for V1.2 and below.
      • getWorkspaceRegion

        public java.lang.String getWorkspaceRegion()
        Returns:
        The Intercom hosted region that this app is located in.
      • getAdmin

        public Admin getAdmin()
        Returns:
        The Intercom teammate viewing the conversation.
      • getComponentId

        public java.lang.String getComponentId()
        Returns:
        The id of the component clicked by the teammate to trigger the request.
      • getContext

        public Context getContext()
        Returns:
        The context of where the app is added, where the user last visited, and information on the Messenger settings.
      • getConversation

        public Conversation getConversation()
        Returns:
        The conversation where your app is being shown.
      • getCurrentCanvas

        public CurrentCanvas getCurrentCanvas()
        Returns:
        The current canvas the teammate can see.
      • getContact

        public Contact getContact()
        Returns:
        The contact which is currently being viewed by the teammate in the conversation details panel.
      • getInputValues

        public java.util.Map<java.lang.String,​java.lang.Object> getInputValues()
        Returns:
        A list of key/value pairs of data, inputted by the teammate on the current canvas.
      • getUser

        public Contact getUser()
        Returns:
        The user who took the action.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object