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 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
Modifier and TypeMethodDescriptionThe Intercom teammate configuring the app.build()componentId(String componentId) The id of the component clicked by the teammate to trigger the request.The context of where the app is added, where the user last visited, and information on the Messenger settings.currentCanvas(CanvasObject currentCanvas) The current canvas the teammate can see.from(ConfigureRequest.ComponentId other) inputValues(String key, Object value) A list of key/value pairs of data, inputted by the teammate on the current canvas.inputValues(Map<String, Object> inputValues) putAllInputValues(Map<String, Object> inputValues) A list of key/value pairs of data, inputted by the teammate on the current canvas.workspaceId(String workspaceId) The workspace ID of the teammate.workspaceRegion(String workspaceRegion) The Intercom hosted region that this app is located in.
-
Method Details
-
from
- Specified by:
fromin interfaceConfigureRequest.ComponentId.WorkspaceIdStage
-
workspaceId
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 String workspaceRegion) 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
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
The Intercom teammate configuring the app.
- Specified by:
adminin interfaceConfigureRequest.ComponentId.AdminStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
context
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
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
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
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
- Specified by:
inputValuesin interfaceConfigureRequest.ComponentId._FinalStage
-
build
- Specified by:
buildin interfaceConfigureRequest.ComponentId._FinalStage
-