Class AiAgent
- java.lang.Object
-
- com.intercom.api.resources.aiagent.types.AiAgent
-
public final class AiAgent extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAiAgent.Builderstatic classAiAgent.LastAnswerTypestatic classAiAgent.ResolutionStatestatic classAiAgent.SourceType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AiAgent.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<ContentSourcesList>getContentSources()java.util.Optional<java.lang.Integer>getCreatedAt()java.util.Optional<AiAgent.LastAnswerType>getLastAnswerType()java.util.Optional<java.lang.Integer>getRating()java.util.Optional<java.lang.String>getRatingRemark()java.util.Optional<AiAgent.ResolutionState>getResolutionState()java.util.Optional<java.lang.String>getSourceTitle()java.util.Optional<AiAgent.SourceType>getSourceType()java.util.Optional<java.lang.Integer>getUpdatedAt()inthashCode()java.lang.StringtoString()
-
-
-
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_setupthen it will returnnull.
-
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.
-
getContentSources
public java.util.Optional<ContentSourcesList> getContentSources()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static AiAgent.Builder builder()
-
-