public class ModifySampleSnapshotTemplateRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
ModifySampleSnapshotTemplateRequest()  | 
ModifySampleSnapshotTemplateRequest(ModifySampleSnapshotTemplateRequest 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. 
 | 
Long | 
getDefinition()
Get Unique ID of a sampled screencapturing template. 
 | 
String | 
getFillType()
Get Fill type. 
 | 
String | 
getFormat()
Get Image format. 
 | 
Long | 
getHeight()
Get Maximum value of the height (or short side) of a screenshot in px. 
 | 
String | 
getName()
Get Name of a sampled screencapturing template. 
 | 
String | 
getResolutionAdaptive()
Get Resolution adaption. 
 | 
Long | 
getSampleInterval()
Get Sampling interval. 
 | 
String | 
getSampleType()
Get Sampled screencapturing type. 
 | 
Long | 
getSubAppId()
Get The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. 
 | 
Long | 
getWidth()
Get Maximum value of the width (or long side) of a screenshot in px. 
 | 
void | 
setComment(String Comment)
Set Template description. 
 | 
void | 
setDefinition(Long Definition)
Set Unique ID of a sampled screencapturing template. 
 | 
void | 
setFillType(String FillType)
Set Fill type. 
 | 
void | 
setFormat(String Format)
Set Image format. 
 | 
void | 
setHeight(Long Height)
Set Maximum value of the height (or short side) of a screenshot in px. 
 | 
void | 
setName(String Name)
Set Name of a sampled screencapturing template. 
 | 
void | 
setResolutionAdaptive(String ResolutionAdaptive)
Set Resolution adaption. 
 | 
void | 
setSampleInterval(Long SampleInterval)
Set Sampling interval. 
 | 
void | 
setSampleType(String SampleType)
Set Sampled screencapturing type. 
 | 
void | 
setSubAppId(Long SubAppId)
Set The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. 
 | 
void | 
setWidth(Long Width)
Set Maximum value of the width (or long side) of a screenshot in px. 
 | 
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 ModifySampleSnapshotTemplateRequest()
public ModifySampleSnapshotTemplateRequest(ModifySampleSnapshotTemplateRequest source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition - Unique ID of a sampled screencapturing template.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 - Name of a sampled screencapturing template. Length limit: 64 characters.public Long getWidth()
public void setWidth(Long Width)
Width - Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096].
public Long getHeight()
public void setHeight(Long Height)
Height - Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096].
public String getResolutionAdaptive()
public void setResolutionAdaptive(String ResolutionAdaptive)
ResolutionAdaptive - Resolution adaption. Valid values:
public String getSampleType()
public void setSampleType(String SampleType)
SampleType - Sampled screencapturing type. Valid values:
public Long getSampleInterval()
public void setSampleInterval(Long SampleInterval)
SampleInterval - Sampling interval.
public String getFormat()
public void setFormat(String Format)
Format - Image format. Valid values: jpg, png.public String getComment()
public void setComment(String Comment)
Comment - Template description. Length limit: 256 characters.public String getFillType()
public void setFillType(String FillType)
FillType - Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
Copyright © 2025. All rights reserved.