public class ModifyHeadTailTemplateRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ModifyHeadTailTemplateRequest() | 
| ModifyHeadTailTemplateRequest(ModifyHeadTailTemplateRequest 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 | getComment()Get Template description, limited to 256 characters. | 
| Long | getDefinition()Get HeadTail template ID. | 
| String | getFillType()Get Padding method. | 
| String[] | getHeadCandidateSet()Get Title candidate list, fill in the FileId of the video. | 
| String | getName()Get Template name, length limit is 64 characters. | 
| Long | getSubAppId()Get The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. | 
| String[] | getTailCandidateSet()Get Ending candidate list, fill in the FileId of the video. | 
| void | setComment(String Comment)Set Template description, limited to 256 characters. | 
| void | setDefinition(Long Definition)Set HeadTail template ID. | 
| void | setFillType(String FillType)Set Padding method. | 
| void | setHeadCandidateSet(String[] HeadCandidateSet)Set Title candidate list, fill in the FileId of the video. | 
| void | setName(String Name)Set Template name, length limit is 64 characters. | 
| void | setSubAppId(Long SubAppId)Set The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. | 
| void | setTailCandidateSet(String[] TailCandidateSet)Set Ending candidate list, fill in the FileId of the video. | 
| 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 ModifyHeadTailTemplateRequest()
public ModifyHeadTailTemplateRequest(ModifyHeadTailTemplateRequest source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition - HeadTail template ID.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId - The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.public String getName()
public void setName(String Name)
Name - Template name, length limit is 64 characters. Not passing means not modifying.public String getComment()
public void setComment(String Comment)
Comment - Template description, limited to 256 characters. Passing nothing means no modification, passing empty means clearing it.public String[] getHeadCandidateSet()
public void setHeadCandidateSet(String[] HeadCandidateSet)
HeadCandidateSet - Title candidate list, fill in the FileId of the video. When transcoding, the title closest to the aspect ratio of the feature film will be automatically selected (when the aspect ratio is the same, the front candidate will take precedence). Supports up to 5 candidate titles. Not passing it means no modification, passing an empty array means clearing it.public String[] getTailCandidateSet()
public void setTailCandidateSet(String[] TailCandidateSet)
TailCandidateSet - Ending candidate list, fill in the FileId of the video. When transcoding, the ending with the aspect ratio closest to the feature film will be automatically selected (when the aspect ratio is the same, the front candidate will take precedence). Supports up to 5 candidate titles. Not passing it means no modification, passing an empty array means clearing it.public String getFillType()
public void setFillType(String FillType)
FillType - Padding method. When the video stream configuration width and height parameters are inconsistent with the aspect ratio of the original video, the transcoding processing method is "padding". Optional filling method:
Copyright © 2025. All rights reserved.