public class CoverBySnapshotTaskInput extends AbstractModel
header, skipSign
Constructor and Description |
---|
CoverBySnapshotTaskInput() |
CoverBySnapshotTaskInput(CoverBySnapshotTaskInput 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 |
---|---|
Long |
getDefinition()
Get Time point screencapturing template ID.
|
String |
getPositionType()
Get Screencapturing mode.
|
Float |
getPositionValue()
Get Screenshot position:
For time point screencapturing, this means to take a screenshot at a specified time point (in seconds) and use it as the cover
For percentage screencapturing, this value means to take a screenshot at a specified percentage of the video duration and use it as the cover
|
WatermarkInput[] |
getWatermarkSet()
Get List of up to 10 image or text watermarks.
|
void |
setDefinition(Long Definition)
Set Time point screencapturing template ID.
|
void |
setPositionType(String PositionType)
Set Screencapturing mode.
|
void |
setPositionValue(Float PositionValue)
Set Screenshot position:
For time point screencapturing, this means to take a screenshot at a specified time point (in seconds) and use it as the cover
For percentage screencapturing, this value means to take a screenshot at a specified percentage of the video duration and use it as the cover
|
void |
setWatermarkSet(WatermarkInput[] WatermarkSet)
Set List of up to 10 image or text watermarks.
|
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 CoverBySnapshotTaskInput()
public CoverBySnapshotTaskInput(CoverBySnapshotTaskInput source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- Time point screencapturing template ID.public String getPositionType()
public void setPositionType(String PositionType)
PositionType
- Screencapturing mode. Valid values:
public Float getPositionValue()
public void setPositionValue(Float PositionValue)
PositionValue
- Screenshot position:
public WatermarkInput[] getWatermarkSet()
public void setWatermarkSet(WatermarkInput[] WatermarkSet)
WatermarkSet
- List of up to 10 image or text watermarks.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.