Package com.intercom.api.types
Class ConversationPartAuthor.Builder
- java.lang.Object
-
- com.intercom.api.types.ConversationPartAuthor.Builder
-
- All Implemented Interfaces:
ConversationPartAuthor._FinalStage,ConversationPartAuthor.EmailStage,ConversationPartAuthor.IdStage,ConversationPartAuthor.NameStage,ConversationPartAuthor.TypeStage
- Enclosing class:
- ConversationPartAuthor
public static final class ConversationPartAuthor.Builder extends java.lang.Object implements ConversationPartAuthor.TypeStage, ConversationPartAuthor.IdStage, ConversationPartAuthor.NameStage, ConversationPartAuthor.EmailStage, ConversationPartAuthor._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationPartAuthorbuild()ConversationPartAuthor._FinalStageemail(java.lang.String email)The email of the authorConversationPartAuthor.Builderfrom(ConversationPartAuthor other)ConversationPartAuthor.NameStageid(java.lang.String id)The id of the authorConversationPartAuthor.EmailStagename(java.lang.String name)The name of the authorConversationPartAuthor.IdStagetype(java.lang.String type)The type of the author
-
-
-
Method Detail
-
from
public ConversationPartAuthor.Builder from(ConversationPartAuthor other)
- Specified by:
fromin interfaceConversationPartAuthor.TypeStage
-
type
public ConversationPartAuthor.IdStage type(@NotNull java.lang.String type)
The type of the authorThe type of the author
- Specified by:
typein interfaceConversationPartAuthor.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
id
public ConversationPartAuthor.NameStage id(@NotNull java.lang.String id)
The id of the authorThe id of the author
- Specified by:
idin interfaceConversationPartAuthor.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public ConversationPartAuthor.EmailStage name(@NotNull java.lang.String name)
The name of the authorThe name of the author
- Specified by:
namein interfaceConversationPartAuthor.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
email
public ConversationPartAuthor._FinalStage email(@NotNull java.lang.String email)
The email of the authorThe email of the author
- Specified by:
emailin interfaceConversationPartAuthor.EmailStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public ConversationPartAuthor build()
- Specified by:
buildin interfaceConversationPartAuthor._FinalStage
-
-