Class AiAgent.Builder
java.lang.Object
com.intercom.api.resources.aiagent.types.AiAgent.Builder
- All Implemented Interfaces:
AiAgent._FinalStage,AiAgent.SourceTypeStage
- Enclosing class:
AiAgent
public static final class AiAgent.Builder
extends Object
implements AiAgent.SourceTypeStage, AiAgent._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()contentSources(ContentSourcesList contentSources) contentSources(Optional<ContentSourcesList> contentSources) lastAnswerType(String lastAnswerType) The type of the last answer delivered by AI Agent.lastAnswerType(Optional<String> lastAnswerType) The customer satisfaction rating given to AI Agent, from 1-5.ratingRemark(String ratingRemark) The customer satisfaction rating remark given to AI Agent.ratingRemark(Optional<String> ratingRemark) resolutionState(String resolutionState) The resolution state of AI Agent.resolutionState(Optional<String> resolutionState) sourceTitle(String sourceTitle) The title of the source that triggered AI Agent involvement in the conversation.sourceTitle(Optional<String> sourceTitle) sourceType(AiAgent.SourceType sourceType) The type of the source that triggered AI Agent involvement in the conversation.
-
Method Details
-
from
- Specified by:
fromin interfaceAiAgent.SourceTypeStage
-
sourceType
The type of the source that triggered AI Agent involvement in the conversation.
- Specified by:
sourceTypein interfaceAiAgent.SourceTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentSources
- Specified by:
contentSourcesin interfaceAiAgent._FinalStage
-
contentSources
- Specified by:
contentSourcesin interfaceAiAgent._FinalStage
-
ratingRemark
The customer satisfaction rating remark given to AI Agent.
- Specified by:
ratingRemarkin interfaceAiAgent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ratingRemark
- Specified by:
ratingRemarkin interfaceAiAgent._FinalStage
-
rating
The customer satisfaction rating given to AI Agent, from 1-5.
- Specified by:
ratingin interfaceAiAgent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
rating
- Specified by:
ratingin interfaceAiAgent._FinalStage
-
resolutionState
The resolution state of AI Agent. If no AI or custom answer has been delivered then this will return
null.- Specified by:
resolutionStatein interfaceAiAgent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
resolutionState
- Specified by:
resolutionStatein interfaceAiAgent._FinalStage
-
lastAnswerType
The type of the last answer delivered by AI Agent. If no answer was delivered then this will return
null- Specified by:
lastAnswerTypein interfaceAiAgent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
lastAnswerType
- Specified by:
lastAnswerTypein interfaceAiAgent._FinalStage
-
sourceTitle
The title of the source that triggered AI Agent involvement in the conversation. If this is
essentials_plan_setupthen it will returnnull.- Specified by:
sourceTitlein interfaceAiAgent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sourceTitle
- Specified by:
sourceTitlein interfaceAiAgent._FinalStage
-
build
- Specified by:
buildin interfaceAiAgent._FinalStage
-