public class AddVodTemplateRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
appId
The ID of the application.
|
String |
name
The name of the template.
|
String |
templateConfig
The configurations of the snapshot template.
|
String |
templateType
The type of the template.
|
| 构造器和说明 |
|---|
AddVodTemplateRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AddVodTemplateRequest |
build(Map<String,?> map) |
String |
getAppId() |
String |
getName() |
String |
getTemplateConfig() |
String |
getTemplateType() |
AddVodTemplateRequest |
setAppId(String appId) |
AddVodTemplateRequest |
setName(String name) |
AddVodTemplateRequest |
setTemplateConfig(String templateConfig) |
AddVodTemplateRequest |
setTemplateType(String templateType) |
@NameInMap(value="AppId") public String appId
The ID of the application. Default value: **app-1000000**. For more information, see [Overview](~~113600~~).
@NameInMap(value="Name") public String name
The name of the template.
* The name can be up to 128 bytes in length.
* The value must be encoded in UTF-8.
@NameInMap(value="TemplateConfig") public String templateConfig
The configurations of the snapshot template. The value is a JSON-formatted string. For more information about the data structure, see the "SnapshotTemplateConfig" section of the [Media processing parameters](~~98618~~) topic.
@NameInMap(value="TemplateType") public String templateType
The type of the template. Set the value to **Snapshot**.
public static AddVodTemplateRequest build(Map<String,?> map) throws Exception
Exceptionpublic AddVodTemplateRequest setAppId(String appId)
public String getAppId()
public AddVodTemplateRequest setName(String name)
public String getName()
public AddVodTemplateRequest setTemplateConfig(String templateConfig)
public String getTemplateConfig()
public AddVodTemplateRequest setTemplateType(String templateType)
public String getTemplateType()
Copyright © 2024. All rights reserved.