Class AiAgent


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

      • getSourceType

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

        public java.util.Optional<java.lang.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 java.util.Optional<AiAgent.LastAnswerType> getLastAnswerType()
        Returns:
        The type of the last answer delivered by AI Agent. If no answer was delivered then this will return null
      • getResolutionState

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

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

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

        public java.util.Optional<java.lang.Integer> getCreatedAt()
        Returns:
        The time when the AI agent rating was created.
      • getUpdatedAt

        public java.util.Optional<java.lang.Integer> getUpdatedAt()
        Returns:
        The time when the AI agent rating was last updated.
      • 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