Class SubmitRequest

java.lang.Object
com.intercom.api.types.SubmitRequest

public final class SubmitRequest extends Object
  • Method Details

    • getWorkspaceId

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

      public 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 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 Map<String,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(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static SubmitRequest.WorkspaceIdStage builder()