public class UpdateAITemplateRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
templateConfig
The detailed configurations of the AI template.
|
String |
templateId
The ID of the AI template.
|
String |
templateName
The name of the AI template.
|
| 构造器和说明 |
|---|
UpdateAITemplateRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateAITemplateRequest |
build(Map<String,?> map) |
String |
getTemplateConfig() |
String |
getTemplateId() |
String |
getTemplateName() |
UpdateAITemplateRequest |
setTemplateConfig(String templateConfig) |
UpdateAITemplateRequest |
setTemplateId(String templateId) |
UpdateAITemplateRequest |
setTemplateName(String templateName) |
@NameInMap(value="TemplateConfig") public String templateConfig
The detailed configurations of the AI template. The value is a JSON string. For more information, see [AITemplateConfig](~~89863#title-vd3-499-o36~~).
@NameInMap(value="TemplateId") public String templateId
The ID of the AI template. You can use one of the following methods to obtain the ID:
* Call the [AddAITemplate](~~102930~~) operation to add an AI template if no AI template exists. The value of TemplateId in the response is the ID of the AI template.
* Call the [ListAITemplate](~~102936~~) operation if the template already exists. The value of TemplateId in the response is the ID of the AI template.
@NameInMap(value="TemplateName") public String templateName
The name of the AI template. The name can be up to 128 bytes in length.
public static UpdateAITemplateRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateAITemplateRequest setTemplateConfig(String templateConfig)
public String getTemplateConfig()
public UpdateAITemplateRequest setTemplateId(String templateId)
public String getTemplateId()
public UpdateAITemplateRequest setTemplateName(String templateName)
public String getTemplateName()
Copyright © 2024. All rights reserved.