public class AnimatedGraphicTaskInput extends AbstractModel
header, skipSign
Constructor and Description |
---|
AnimatedGraphicTaskInput() |
AnimatedGraphicTaskInput(AnimatedGraphicTaskInput 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 视频转动图模板 ID。
|
Float |
getEndTimeOffset()
Get 动图在视频中的结束时间,单位为秒。
|
String |
getOutputObjectPath()
Get 转动图后文件的输出路径,可以为相对路径或者绝对路径。
若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
相对路径示例:
文件名_{变量名}.{format}
文件名.{format}
绝对路径示例:
/自定义路径/文件名_{变量名}.{format}
如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。
|
TaskOutputStorage |
getOutputStorage()
Get 转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。
注意:此字段可能返回 null,表示取不到有效值。
|
Float |
getStartTimeOffset()
Get 动图在视频中的开始时间,单位为秒。
|
void |
setDefinition(Long Definition)
Set 视频转动图模板 ID。
|
void |
setEndTimeOffset(Float EndTimeOffset)
Set 动图在视频中的结束时间,单位为秒。
|
void |
setOutputObjectPath(String OutputObjectPath)
Set 转动图后文件的输出路径,可以为相对路径或者绝对路径。
若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
相对路径示例:
文件名_{变量名}.{format}
文件名.{format}
绝对路径示例:
/自定义路径/文件名_{变量名}.{format}
如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。
|
void |
setOutputStorage(TaskOutputStorage OutputStorage)
Set 转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setStartTimeOffset(Float StartTimeOffset)
Set 动图在视频中的开始时间,单位为秒。
|
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, toJsonString
public AnimatedGraphicTaskInput()
public AnimatedGraphicTaskInput(AnimatedGraphicTaskInput source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- 视频转动图模板 ID。public Float getStartTimeOffset()
public void setStartTimeOffset(Float StartTimeOffset)
StartTimeOffset
- 动图在视频中的开始时间,单位为秒。public Float getEndTimeOffset()
public void setEndTimeOffset(Float EndTimeOffset)
EndTimeOffset
- 动图在视频中的结束时间,单位为秒。public TaskOutputStorage getOutputStorage()
public void setOutputStorage(TaskOutputStorage OutputStorage)
OutputStorage
- 转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。
注意:此字段可能返回 null,表示取不到有效值。public String getOutputObjectPath()
public void setOutputObjectPath(String OutputObjectPath)
OutputObjectPath
- 转动图后文件的输出路径,可以为相对路径或者绝对路径。
若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
相对路径示例:
Copyright © 2024. All rights reserved.