public class CreateLivePadTemplateRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateLivePadTemplateRequest() | 
| CreateLivePadTemplateRequest(CreateLivePadTemplateRequest 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 | getDescription()Get 描述信息。
长度上限:1024字节。
仅支持中文、英文、数字、_、-。 | 
| Long | getMaxDuration()Get 最大垫片时长。
取值范围:0 - 正无穷。
单位:ms。 | 
| String | getTemplateName()Get 模板名称。
长度上限:255字节。
仅支持中文、英文、数字、_、-。 | 
| Long | getType()Get 垫片内容类型:
1:图片,2:视频。
默认值:1。 | 
| String | getUrl()Get 垫片内容。 | 
| Long | getWaitDuration()Get 断流等待时间。
取值范围:0-30000。
单位:ms。 | 
| void | setDescription(String Description)Set 描述信息。
长度上限:1024字节。
仅支持中文、英文、数字、_、-。 | 
| void | setMaxDuration(Long MaxDuration)Set 最大垫片时长。
取值范围:0 - 正无穷。
单位:ms。 | 
| void | setTemplateName(String TemplateName)Set 模板名称。
长度上限:255字节。
仅支持中文、英文、数字、_、-。 | 
| void | setType(Long Type)Set 垫片内容类型:
1:图片,2:视频。
默认值:1。 | 
| void | setUrl(String Url)Set 垫片内容。 | 
| void | setWaitDuration(Long WaitDuration)Set 断流等待时间。
取值范围:0-30000。
单位:ms。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateLivePadTemplateRequest()
public CreateLivePadTemplateRequest(CreateLivePadTemplateRequest source)
public String getTemplateName()
public void setTemplateName(String TemplateName)
TemplateName - 模板名称。
长度上限:255字节。
仅支持中文、英文、数字、_、-。public String getUrl()
public void setUrl(String Url)
Url - 垫片内容。public String getDescription()
public void setDescription(String Description)
Description - 描述信息。
长度上限:1024字节。
仅支持中文、英文、数字、_、-。public Long getWaitDuration()
public void setWaitDuration(Long WaitDuration)
WaitDuration - 断流等待时间。
取值范围:0-30000。
单位:ms。public Long getMaxDuration()
public void setMaxDuration(Long MaxDuration)
MaxDuration - 最大垫片时长。
取值范围:0 - 正无穷。
单位:ms。public Long getType()
public void setType(Long Type)
Type - 垫片内容类型:
1:图片,2:视频。
默认值:1。Copyright © 2025. All rights reserved.