java.lang.Object
com.intercom.api.resources.aiagent.types.AiAgent

public final class AiAgent extends Object
  • Method Details

    • getSourceType

      public AiAgent.SourceType getSourceType()
      Returns:
      The type of the source that triggered AI Agent involvement in the conversation.
    • getSourceTitle

      public Optional<String> getSourceTitle()
      Returns:
      The title of the source that triggered AI Agent involvement in the conversation. If this is essentials_plan_setup then it will return null.
    • getLastAnswerType

      public Optional<String> getLastAnswerType()
      Returns:
      The type of the last answer delivered by AI Agent. If no answer was delivered then this will return null
    • getResolutionState

      public Optional<String> getResolutionState()
      Returns:
      The resolution state of AI Agent. If no AI or custom answer has been delivered then this will return null.
    • getRating

      public Optional<Integer> getRating()
      Returns:
      The customer satisfaction rating given to AI Agent, from 1-5.
    • getRatingRemark

      public Optional<String> getRatingRemark()
      Returns:
      The customer satisfaction rating remark given to AI Agent.
    • getContentSources

      public Optional<ContentSourcesList> getContentSources()
    • 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 AiAgent.SourceTypeStage builder()