Package com.intercom.api.types
Class ConfigureRequest.ComponentId.Builder
- java.lang.Object
-
- com.intercom.api.types.ConfigureRequest.ComponentId.Builder
-
- All Implemented Interfaces:
ConfigureRequest.ComponentId._FinalStage,ConfigureRequest.ComponentId.AdminStage,ConfigureRequest.ComponentId.ComponentIdStage,ConfigureRequest.ComponentId.ContextStage,ConfigureRequest.ComponentId.CurrentCanvasStage,ConfigureRequest.ComponentId.WorkspaceIdStage,ConfigureRequest.ComponentId.WorkspaceRegionStage
- Enclosing class:
- ConfigureRequest.ComponentId
public static final class ConfigureRequest.ComponentId.Builder extends java.lang.Object implements ConfigureRequest.ComponentId.WorkspaceIdStage, ConfigureRequest.ComponentId.WorkspaceRegionStage, ConfigureRequest.ComponentId.ComponentIdStage, ConfigureRequest.ComponentId.AdminStage, ConfigureRequest.ComponentId.ContextStage, ConfigureRequest.ComponentId.CurrentCanvasStage, ConfigureRequest.ComponentId._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigureRequest.ComponentId.ContextStageadmin(Admin admin)The Intercom teammate configuring the app.ConfigureRequest.ComponentIdbuild()ConfigureRequest.ComponentId.AdminStagecomponentId(java.lang.String componentId)The id of the component clicked by the teammate to trigger the request.ConfigureRequest.ComponentId.CurrentCanvasStagecontext(Context context)The context of where the app is added, where the user last visited, and information on the Messenger settings.ConfigureRequest.ComponentId._FinalStagecurrentCanvas(CanvasObject currentCanvas)The current canvas the teammate can see.ConfigureRequest.ComponentId.Builderfrom(ConfigureRequest.ComponentId other)ConfigureRequest.ComponentId._FinalStageinputValues(java.lang.String key, java.lang.Object value)A list of key/value pairs of data, inputted by the teammate on the current canvas.ConfigureRequest.ComponentId._FinalStageinputValues(java.util.Map<java.lang.String,java.lang.Object> inputValues)A list of key/value pairs of data, inputted by the teammate on the current canvas.ConfigureRequest.ComponentId._FinalStageputAllInputValues(java.util.Map<java.lang.String,java.lang.Object> inputValues)A list of key/value pairs of data, inputted by the teammate on the current canvas.ConfigureRequest.ComponentId.WorkspaceRegionStageworkspaceId(java.lang.String workspaceId)The workspace ID of the teammate.ConfigureRequest.ComponentId.ComponentIdStageworkspaceRegion(java.lang.String workspaceRegion)The Intercom hosted region that this app is located in.
-
-
-
Method Detail
-
from
public ConfigureRequest.ComponentId.Builder from(ConfigureRequest.ComponentId other)
- Specified by:
fromin interfaceConfigureRequest.ComponentId.WorkspaceIdStage
-
workspaceId
public ConfigureRequest.ComponentId.WorkspaceRegionStage workspaceId(@NotNull java.lang.String workspaceId)
The workspace ID of the teammate. Attribute is app_id for V1.2 and below.The workspace ID of the teammate. Attribute is app_id for V1.2 and below.
- Specified by:
workspaceIdin interfaceConfigureRequest.ComponentId.WorkspaceIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
workspaceRegion
public ConfigureRequest.ComponentId.ComponentIdStage workspaceRegion(@NotNull java.lang.String workspaceRegion)
The Intercom hosted region that this app is located in.The Intercom hosted region that this app is located in.
- Specified by:
workspaceRegionin interfaceConfigureRequest.ComponentId.WorkspaceRegionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
componentId
public ConfigureRequest.ComponentId.AdminStage componentId(@NotNull java.lang.String componentId)
The id of the component clicked by the teammate to trigger the request.The id of the component clicked by the teammate to trigger the request.
- Specified by:
componentIdin interfaceConfigureRequest.ComponentId.ComponentIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
admin
public ConfigureRequest.ComponentId.ContextStage admin(@NotNull Admin admin)
The Intercom teammate configuring the app.The Intercom teammate configuring the app.
- Specified by:
adminin interfaceConfigureRequest.ComponentId.AdminStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
context
public ConfigureRequest.ComponentId.CurrentCanvasStage context(@NotNull Context context)
The context of where the app is added, where the user last visited, and information on the Messenger settings.The context of where the app is added, where the user last visited, and information on the Messenger settings.
- Specified by:
contextin interfaceConfigureRequest.ComponentId.ContextStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
currentCanvas
public ConfigureRequest.ComponentId._FinalStage currentCanvas(@NotNull CanvasObject currentCanvas)
The current canvas the teammate can see.The current canvas the teammate can see.
- Specified by:
currentCanvasin interfaceConfigureRequest.ComponentId.CurrentCanvasStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
inputValues
public ConfigureRequest.ComponentId._FinalStage inputValues(java.lang.String key, java.lang.Object value)
A list of key/value pairs of data, inputted by the teammate on the current canvas.
- Specified by:
inputValuesin interfaceConfigureRequest.ComponentId._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
putAllInputValues
public ConfigureRequest.ComponentId._FinalStage putAllInputValues(java.util.Map<java.lang.String,java.lang.Object> inputValues)
A list of key/value pairs of data, inputted by the teammate on the current canvas.
- Specified by:
putAllInputValuesin interfaceConfigureRequest.ComponentId._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
inputValues
public ConfigureRequest.ComponentId._FinalStage inputValues(java.util.Map<java.lang.String,java.lang.Object> inputValues)
A list of key/value pairs of data, inputted by the teammate on the current canvas.
- Specified by:
inputValuesin interfaceConfigureRequest.ComponentId._FinalStage
-
build
public ConfigureRequest.ComponentId build()
- Specified by:
buildin interfaceConfigureRequest.ComponentId._FinalStage
-
-