Class AiAgent
- java.lang.Object
-
- com.intercom.api.resources.unstable.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.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.String>getLastAnswerType()java.util.Optional<java.lang.Integer>getRating()java.util.Optional<java.lang.String>getRatingRemark()java.util.Optional<java.lang.String>getResolutionState()java.util.Optional<java.lang.String>getSourceTitle()java.util.Optional<AiAgent.SourceType>getSourceType()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<java.lang.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 java.util.Optional<java.lang.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 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.
-
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()
-
-