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