Package com.intercom.api.types
Class LiveCanvasRequest.Builder
java.lang.Object
com.intercom.api.types.LiveCanvasRequest.Builder
- All Implemented Interfaces:
LiveCanvasRequest._FinalStage,LiveCanvasRequest.CanvasStage,LiveCanvasRequest.ContactStage,LiveCanvasRequest.ContextStage,LiveCanvasRequest.WorkspaceIdStage,LiveCanvasRequest.WorkspaceRegionStage
- Enclosing class:
LiveCanvasRequest
public static final class LiveCanvasRequest.Builder
extends Object
implements LiveCanvasRequest.WorkspaceIdStage, LiveCanvasRequest.WorkspaceRegionStage, LiveCanvasRequest.CanvasStage, LiveCanvasRequest.ContextStage, LiveCanvasRequest.ContactStage, LiveCanvasRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()canvas(CanvasObject canvas) The current_canvas the teammate can see.The contact who viewed the card.The context of where the app is added, where the user last visited, and information on the Messenger settings.from(LiveCanvasRequest other) 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 interfaceLiveCanvasRequest.WorkspaceIdStage
-
workspaceId
The workspace ID of the teammate. Attribute is
app_idfor V1.2 and below.- Specified by:
workspaceIdin interfaceLiveCanvasRequest.WorkspaceIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
workspaceRegion
The Intercom hosted region that this app is located in.
- Specified by:
workspaceRegionin interfaceLiveCanvasRequest.WorkspaceRegionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
canvas
The current_canvas the teammate can see.
- Specified by:
canvasin interfaceLiveCanvasRequest.CanvasStage- 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 interfaceLiveCanvasRequest.ContextStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contact
The contact who viewed the card.
- Specified by:
contactin interfaceLiveCanvasRequest.ContactStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
- Specified by:
buildin interfaceLiveCanvasRequest._FinalStage
-