public class SubmitAIMediaAuditJobRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
mediaAuditConfiguration
The configuration information about the review job.
|
String |
mediaId
The ID of the video file.
|
String |
mediaType
The type of the media file.
|
String |
templateId
The ID of the AI template.
|
String |
userData
The custom settings.
|
| 构造器和说明 |
|---|
SubmitAIMediaAuditJobRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SubmitAIMediaAuditJobRequest |
build(Map<String,?> map) |
String |
getMediaAuditConfiguration() |
String |
getMediaId() |
String |
getMediaType() |
String |
getTemplateId() |
String |
getUserData() |
SubmitAIMediaAuditJobRequest |
setMediaAuditConfiguration(String mediaAuditConfiguration) |
SubmitAIMediaAuditJobRequest |
setMediaId(String mediaId) |
SubmitAIMediaAuditJobRequest |
setMediaType(String mediaType) |
SubmitAIMediaAuditJobRequest |
setTemplateId(String templateId) |
SubmitAIMediaAuditJobRequest |
setUserData(String userData) |
@NameInMap(value="MediaAuditConfiguration") public String mediaAuditConfiguration
The configuration information about the review job.
* Other configuration items of the review job. Only the ResourceType field is supported. This field is used to specify the type of media files. You can adjust review standards and rules based on the type of media files.
* If you want to modify the review standard and rules based on ResourceType, [submit a request on Yida](https://yida.alibaba-inc.com/o/ticketapply) to reach technical support.
* The value of ResourceType can contain only letters, digits, and underscores (\_).
@NameInMap(value="MediaId") public String mediaId
The ID of the video file. To obtain the file ID, log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com) and choose **Review Management** > **Content Moderation** in the left-side navigation pane.
@NameInMap(value="MediaType") public String mediaType
The type of the media file. Only **video** is supported.
@NameInMap(value="TemplateId") public String templateId
The ID of the AI template. You can use one of the following methods to obtain the ID of the AI template:
* Obtain the ID of the AI template from the response to the [AddAITemplate](~~102930~~) operation. The value of TemplateId is the ID of the AI template.
* Obtain the ID of the AI template from the response to the [ListAITemplate](~~102936~~) operation. The value of TemplateId is the ID of the AI template.
> If you do not specify an ID, the ID of the default AI template is used.
@NameInMap(value="UserData") public String userData
The custom settings. The value must be a JSON string. You can configure settings such as message callbacks. For more information, see [UserData](~~86952~~).
> To use the callback configurations specified by this parameter, you must configure an HTTP callback URL and specify the types of the callback events in the ApsaraVideo VOD console. Otherwise, the callback configurations do not take effect. For more information about how to configure HTTP callback settings in the ApsaraVideo VOD console, see [Configure callback settings](~~86071~~).
public static SubmitAIMediaAuditJobRequest build(Map<String,?> map) throws Exception
Exceptionpublic SubmitAIMediaAuditJobRequest setMediaAuditConfiguration(String mediaAuditConfiguration)
public String getMediaAuditConfiguration()
public SubmitAIMediaAuditJobRequest setMediaId(String mediaId)
public String getMediaId()
public SubmitAIMediaAuditJobRequest setMediaType(String mediaType)
public String getMediaType()
public SubmitAIMediaAuditJobRequest setTemplateId(String templateId)
public String getTemplateId()
public SubmitAIMediaAuditJobRequest setUserData(String userData)
public String getUserData()
Copyright © 2024. All rights reserved.