public class CreateVideoModerationTaskRequest extends AbstractModel
Constructor and Description |
---|
CreateVideoModerationTaskRequest() |
CreateVideoModerationTaskRequest(CreateVideoModerationTaskRequest 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 |
getBizType()
Get Business type, which is used to define a template policy.
|
String |
getCallbackUrl()
Get Callback URL that will receive moderation information.
|
Long |
getPriority()
Get Priority, which determines the execution order of your moderation tasks.
|
String |
getSeed()
Get Key of the callback signature.
|
TaskInput[] |
getTasks()
Get Task information.
|
String |
getType()
Get Task type.
|
void |
setBizType(String BizType)
Set Business type, which is used to define a template policy.
|
void |
setCallbackUrl(String CallbackUrl)
Set Callback URL that will receive moderation information.
|
void |
setPriority(Long Priority)
Set Priority, which determines the execution order of your moderation tasks.
|
void |
setSeed(String Seed)
Set Key of the callback signature.
|
void |
setTasks(TaskInput[] Tasks)
Set Task information.
|
void |
setType(String Type)
Set Task type.
|
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 CreateVideoModerationTaskRequest()
public CreateVideoModerationTaskRequest(CreateVideoModerationTaskRequest source)
public String getBizType()
public void setBizType(String BizType)
BizType
- Business type, which is used to define a template policy.public String getType()
public void setType(String Type)
Type
- Task type. Values: `VIDEO` (video on demand), `LIVE_VIDEO` (live video).public TaskInput[] getTasks()
public void setTasks(TaskInput[] Tasks)
Tasks
- Task information. You can create up to 10 tasks at a time.public String getSeed()
public void setSeed(String Seed)
Seed
- Key of the callback signature. For more details, see the signature documentation.public String getCallbackUrl()
public void setCallbackUrl(String CallbackUrl)
CallbackUrl
- Callback URL that will receive moderation information. After it is configured, the non-compliant audio segments detected in moderation will be sent through this API.public Long getPriority()
public void setPriority(Long Priority)
Priority
- Priority, which determines the execution order of your moderation tasks. The default value is 0.Copyright © 2023. All rights reserved.