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 java.lang.Object implements LiveCanvasRequest.WorkspaceIdStage, LiveCanvasRequest.WorkspaceRegionStage, LiveCanvasRequest.CanvasStage, LiveCanvasRequest.ContextStage, LiveCanvasRequest.ContactStage, LiveCanvasRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LiveCanvasRequestbuild()LiveCanvasRequest.ContextStagecanvas(CanvasObject canvas)The current_canvas the teammate can see.LiveCanvasRequest._FinalStagecontact(Contact contact)The contact who viewed the card.LiveCanvasRequest.ContactStagecontext(Context context)The context of where the app is added, where the user last visited, and information on the Messenger settings.LiveCanvasRequest.Builderfrom(LiveCanvasRequest other)LiveCanvasRequest.WorkspaceRegionStageworkspaceId(java.lang.String workspaceId)The workspace ID of the teammate.LiveCanvasRequest.CanvasStageworkspaceRegion(java.lang.String workspaceRegion)The Intercom hosted region that this app is located in.
-
-
-
Method Detail
-
from
public LiveCanvasRequest.Builder from(LiveCanvasRequest other)
- Specified by:
fromin interfaceLiveCanvasRequest.WorkspaceIdStage
-
workspaceId
public LiveCanvasRequest.WorkspaceRegionStage workspaceId(@NotNull java.lang.String 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
public LiveCanvasRequest.CanvasStage workspaceRegion(@NotNull java.lang.String 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
public LiveCanvasRequest.ContextStage canvas(@NotNull CanvasObject 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
public LiveCanvasRequest.ContactStage context(@NotNull Context 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
public LiveCanvasRequest._FinalStage contact(@NotNull Contact contact)
The contact who viewed the card.
- Specified by:
contactin interfaceLiveCanvasRequest.ContactStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public LiveCanvasRequest build()
- Specified by:
buildin interfaceLiveCanvasRequest._FinalStage
-
-