Package com.intercom.api.types
Class ConversationParts.Builder
java.lang.Object
com.intercom.api.types.ConversationParts.Builder
- All Implemented Interfaces:
ConversationParts._FinalStage,ConversationParts.TotalCountStage
- Enclosing class:
ConversationParts
public static final class ConversationParts.Builder
extends Object
implements ConversationParts.TotalCountStage, ConversationParts._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllConversationParts(List<ConversationPart> conversationParts) A list of Conversation Part objects for each part message in the conversation.addConversationParts(ConversationPart conversationParts) A list of Conversation Part objects for each part message in the conversation.build()conversationParts(List<ConversationPart> conversationParts) from(ConversationParts other) totalCount(int totalCount)
-
Method Details
-
from
- Specified by:
fromin interfaceConversationParts.TotalCountStage
-
totalCount
- Specified by:
totalCountin interfaceConversationParts.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllConversationParts
public ConversationParts._FinalStage addAllConversationParts(List<ConversationPart> conversationParts) A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts.
- Specified by:
addAllConversationPartsin interfaceConversationParts._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addConversationParts
A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts.
- Specified by:
addConversationPartsin interfaceConversationParts._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
conversationParts
- Specified by:
conversationPartsin interfaceConversationParts._FinalStage
-
build
- Specified by:
buildin interfaceConversationParts._FinalStage
-