public class AddAITemplateRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
templateConfig
The detailed configurations of the AI template.
|
String |
templateName
The name of the AI template.
|
String |
templateType
The type of the AI template.
|
| 构造器和说明 |
|---|
AddAITemplateRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AddAITemplateRequest |
build(Map<String,?> map) |
String |
getTemplateConfig() |
String |
getTemplateName() |
String |
getTemplateType() |
AddAITemplateRequest |
setTemplateConfig(String templateConfig) |
AddAITemplateRequest |
setTemplateName(String templateName) |
AddAITemplateRequest |
setTemplateType(String templateType) |
@NameInMap(value="TemplateConfig") public String templateConfig
The detailed configurations of the AI template. The value must be a JSON string. For more information, see [AITemplateConfig](~~89863#title-vd3-499-o36~~).
@NameInMap(value="TemplateName") public String templateName
The name of the AI template. The name can be up to 128 bytes in length.
@NameInMap(value="TemplateType") public String templateType
The type of the AI template. Valid values:
* **AIMediaAudit**: automated review
* **AIImage**: smart thumbnail
public static AddAITemplateRequest build(Map<String,?> map) throws Exception
Exceptionpublic AddAITemplateRequest setTemplateConfig(String templateConfig)
public String getTemplateConfig()
public AddAITemplateRequest setTemplateName(String templateName)
public String getTemplateName()
public AddAITemplateRequest setTemplateType(String templateType)
public String getTemplateType()
Copyright © 2024. All rights reserved.