public class CreateSnapshotByTimeOffsetTemplateRequest extends AbstractModel
| Constructor and Description | 
|---|
| CreateSnapshotByTimeOffsetTemplateRequest() | 
| CreateSnapshotByTimeOffsetTemplateRequest(CreateSnapshotByTimeOffsetTemplateRequest 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. | 
| String | getFillType()Get Fill type. | 
| String | getFormat()Get The image format. | 
| Long | getHeight()Get Image height in px. | 
| String | getName()Get Name of a time point screencapturing template. | 
| String | getResolutionAdaptive()Get Resolution adaption. | 
| Long | getWidth()Get Image width in px. | 
| void | setComment(String Comment)Set Template description. | 
| void | setFillType(String FillType)Set Fill type. | 
| void | setFormat(String Format)Set The image format. | 
| void | setHeight(Long Height)Set Image height in px. | 
| void | setName(String Name)Set Name of a time point screencapturing template. | 
| void | setResolutionAdaptive(String ResolutionAdaptive)Set Resolution adaption. | 
| void | setWidth(Long Width)Set Image width in px. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic CreateSnapshotByTimeOffsetTemplateRequest()
public CreateSnapshotByTimeOffsetTemplateRequest(CreateSnapshotByTimeOffsetTemplateRequest source)
public String getName()
public void setName(String Name)
Name - Name of a time point screencapturing template. Length limit: 64 characters.public Long getWidth()
public void setWidth(Long Width)
Width - Image width in px. Value range: [128, 4,096].public Long getHeight()
public void setHeight(Long Height)
Height - Image height in px. Value range: [128, 4,096].public String getResolutionAdaptive()
public void setResolutionAdaptive(String ResolutionAdaptive)
ResolutionAdaptive - Resolution adaption. Valid values:
public String getFormat()
public void setFormat(String Format)
Format - The image format. Valid values: jpg (default), png, webp.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 © 2023. All rights reserved.