public class CreateSnapshotTaskRequest extends AbstractModel
Constructor and Description |
---|
CreateSnapshotTaskRequest() |
CreateSnapshotTaskRequest(CreateSnapshotTaskRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getCallbackURL()
Get Callback URL to which the whiteboard snapshot result is to be sent.
|
SnapshotCOS |
getCOS()
Get `COS` bucket in which the generated whiteboard snapshot file is to be stored.
|
Long |
getRoomId()
Get Whiteboard room ID.
|
Long |
getSdkAppId()
Get `SdkAppId` of the whiteboard application.
|
String |
getSnapshotMode()
Get Whiteboard snapshot mode.
|
SnapshotWhiteboard |
getWhiteboard()
Get Whiteboard parameters.
|
void |
setCallbackURL(String CallbackURL)
Set Callback URL to which the whiteboard snapshot result is to be sent.
|
void |
setCOS(SnapshotCOS COS)
Set `COS` bucket in which the generated whiteboard snapshot file is to be stored.
|
void |
setRoomId(Long RoomId)
Set Whiteboard room ID.
|
void |
setSdkAppId(Long SdkAppId)
Set `SdkAppId` of the whiteboard application.
|
void |
setSnapshotMode(String SnapshotMode)
Set Whiteboard snapshot mode.
|
void |
setWhiteboard(SnapshotWhiteboard Whiteboard)
Set Whiteboard parameters.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateSnapshotTaskRequest()
public CreateSnapshotTaskRequest(CreateSnapshotTaskRequest source)
public SnapshotWhiteboard getWhiteboard()
public void setWhiteboard(SnapshotWhiteboard Whiteboard)
Whiteboard
- Whiteboard parameters.public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId
- `SdkAppId` of the whiteboard application.public Long getRoomId()
public void setRoomId(Long RoomId)
RoomId
- Whiteboard room ID.public String getCallbackURL()
public void setCallbackURL(String CallbackURL)
CallbackURL
- Callback URL to which the whiteboard snapshot result is to be sent.public SnapshotCOS getCOS()
public void setCOS(SnapshotCOS COS)
COS
- `COS` bucket in which the generated whiteboard snapshot file is to be stored. If you leave this parameter empty, the generated file will be stored in the public bucket and retained for only three days.public String getSnapshotMode()
public void setSnapshotMode(String SnapshotMode)
SnapshotMode
- Whiteboard snapshot mode. Default value: `AllMarks`. Valid values:
`AllMarks`: Full mode. In this mode, a snapshot image is generated based on each whiteboard snapshot mark that is added by calling the `addSnapshotMark` API on the client.
`LatestMarksOnly`: Single-page deduplication mode. In this mode, a snapshot image is generated based only on the latest whiteboard snapshot mark that is added by calling the `addSnapshotMark` API on the client if the API is called multiple times for the same whiteboard snapshot.
Note: The `LatestMarksOnly` mode takes effect only when the `addSnapshotMark` API is called by using Tencent Interactive Whiteboard SDK v2.6.8 or later. Otherwise, even if this parameter is set to `LatestMarksOnly`, the default `AllMarks` mode is used.**Copyright © 2023. All rights reserved.