Class MergeVisitorToContactRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.visitors.requests.MergeVisitorToContactRequest.Builder
-
- All Implemented Interfaces:
MergeVisitorToContactRequest._FinalStage,MergeVisitorToContactRequest.TypeStage,MergeVisitorToContactRequest.UserStage,MergeVisitorToContactRequest.VisitorStage
- Enclosing class:
- MergeVisitorToContactRequest
public static final class MergeVisitorToContactRequest.Builder extends java.lang.Object implements MergeVisitorToContactRequest.TypeStage, MergeVisitorToContactRequest.UserStage, MergeVisitorToContactRequest.VisitorStage, MergeVisitorToContactRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MergeVisitorToContactRequestbuild()MergeVisitorToContactRequest.Builderfrom(MergeVisitorToContactRequest other)MergeVisitorToContactRequest.UserStagetype(java.lang.String type)Represents the role of the Contact model.MergeVisitorToContactRequest.VisitorStageuser(MergeVisitorToContactRequest.User user)The unique identifiers retained after converting or merging.MergeVisitorToContactRequest._FinalStagevisitor(MergeVisitorToContactRequest.Visitor visitor)The unique identifiers to convert a single Visitor.
-
-
-
Method Detail
-
from
public MergeVisitorToContactRequest.Builder from(MergeVisitorToContactRequest other)
- Specified by:
fromin interfaceMergeVisitorToContactRequest.TypeStage
-
type
public MergeVisitorToContactRequest.UserStage type(@NotNull java.lang.String type)
Represents the role of the Contact model. Accepts
leadoruser.Represents the role of the Contact model. Accepts
leadoruser.- Specified by:
typein interfaceMergeVisitorToContactRequest.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
user
public MergeVisitorToContactRequest.VisitorStage user(@NotNull MergeVisitorToContactRequest.User user)
The unique identifiers retained after converting or merging.
The unique identifiers retained after converting or merging.
- Specified by:
userin interfaceMergeVisitorToContactRequest.UserStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
visitor
public MergeVisitorToContactRequest._FinalStage visitor(@NotNull MergeVisitorToContactRequest.Visitor visitor)
The unique identifiers to convert a single Visitor.
The unique identifiers to convert a single Visitor.
- Specified by:
visitorin interfaceMergeVisitorToContactRequest.VisitorStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public MergeVisitorToContactRequest build()
- Specified by:
buildin interfaceMergeVisitorToContactRequest._FinalStage
-
-