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 The image format.
|
Long |
getHeight()
Get Image height 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 |
getWidth()
Get Image width 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 The image format.
|
void |
setHeight(Long Height)
Set Image height 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 |
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifySampleSnapshotTemplateRequest()
public ModifySampleSnapshotTemplateRequest(ModifySampleSnapshotTemplateRequest source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- Unique ID of a sampled screencapturing template.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
- 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 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
- The image format. Valid values: jpg, 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 © 2024. All rights reserved.