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 java.lang.Object implements ConversationParts.TotalCountStage, ConversationParts._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationParts._FinalStageaddAllConversationParts(java.util.List<ConversationPart> conversationParts)A list of Conversation Part objects for each part message in the conversation.ConversationParts._FinalStageaddConversationParts(ConversationPart conversationParts)A list of Conversation Part objects for each part message in the conversation.ConversationPartsbuild()ConversationParts._FinalStageconversationParts(java.util.List<ConversationPart> conversationParts)A list of Conversation Part objects for each part message in the conversation.ConversationParts.Builderfrom(ConversationParts other)ConversationParts._FinalStagetotalCount(int totalCount)
-
-
-
Method Detail
-
from
public ConversationParts.Builder from(ConversationParts other)
- Specified by:
fromin interfaceConversationParts.TotalCountStage
-
totalCount
public ConversationParts._FinalStage totalCount(int totalCount)
- Specified by:
totalCountin interfaceConversationParts.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllConversationParts
public ConversationParts._FinalStage addAllConversationParts(java.util.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
public ConversationParts._FinalStage addConversationParts(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:
addConversationPartsin interfaceConversationParts._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
conversationParts
public ConversationParts._FinalStage conversationParts(java.util.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:
conversationPartsin interfaceConversationParts._FinalStage
-
build
public ConversationParts build()
- Specified by:
buildin interfaceConversationParts._FinalStage
-
-