Package com.intercom.api.types
Class CreateMessageRequest.Inapp.To.Builder
- java.lang.Object
-
- com.intercom.api.types.CreateMessageRequest.Inapp.To.Builder
-
- All Implemented Interfaces:
CreateMessageRequest.Inapp.To._FinalStage,CreateMessageRequest.Inapp.To.IdStage,CreateMessageRequest.Inapp.To.TypeStage
- Enclosing class:
- CreateMessageRequest.Inapp.To
public static final class CreateMessageRequest.Inapp.To.Builder extends java.lang.Object implements CreateMessageRequest.Inapp.To.TypeStage, CreateMessageRequest.Inapp.To.IdStage, CreateMessageRequest.Inapp.To._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateMessageRequest.Inapp.Tobuild()CreateMessageRequest.Inapp.To.Builderfrom(CreateMessageRequest.Inapp.To other)CreateMessageRequest.Inapp.To._FinalStageid(java.lang.String id)The identifier for the contact which is given by Intercom.CreateMessageRequest.Inapp.To.IdStagetype(CreateMessageRequest.Inapp.To.Type type)The role associated to the contact -userorlead.
-
-
-
Method Detail
-
from
public CreateMessageRequest.Inapp.To.Builder from(CreateMessageRequest.Inapp.To other)
- Specified by:
fromin interfaceCreateMessageRequest.Inapp.To.TypeStage
-
type
public CreateMessageRequest.Inapp.To.IdStage type(@NotNull CreateMessageRequest.Inapp.To.Type type)
The role associated to the contact -
userorlead.The role associated to the contact -
userorlead.- Specified by:
typein interfaceCreateMessageRequest.Inapp.To.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
id
public CreateMessageRequest.Inapp.To._FinalStage id(@NotNull java.lang.String id)
The identifier for the contact which is given by Intercom.
The identifier for the contact which is given by Intercom.
- Specified by:
idin interfaceCreateMessageRequest.Inapp.To.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public CreateMessageRequest.Inapp.To build()
- Specified by:
buildin interfaceCreateMessageRequest.Inapp.To._FinalStage
-
-