public class AnimatedGraphicsTemplate extends AbstractModel
header, skipSign
Constructor and Description |
---|
AnimatedGraphicsTemplate() |
AnimatedGraphicsTemplate(AnimatedGraphicsTemplate 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 转动图模板描述。
|
String |
getCreateTime()
Get 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
Long |
getDefinition()
Get 转动图模板唯一标识。
|
String |
getFormat()
Get 动图格式。
|
Long |
getFps()
Get 帧率。
|
Long |
getHeight()
Get 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
当 Width、Height 均为 0,则分辨率同源;
当 Width 为 0,Height 非 0,则 Width 按比例缩放;
当 Width 非 0,Height 为 0,则 Height 按比例缩放;
当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。
|
String |
getName()
Get 转动图模板名称。
|
Float |
getQuality()
Get 图片质量。
|
String |
getResolutionAdaptive()
Get 分辨率自适应,可选值:
open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。
|
String |
getType()
Get 模板类型,取值范围:
Preset:系统预置模板;
Custom:用户自定义模板。
|
String |
getUpdateTime()
Get 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
Long |
getWidth()
Get 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
当 Width、Height 均为 0,则分辨率同源;
当 Width 为 0,Height 非 0,则 Width 按比例缩放;
当 Width 非 0,Height 为 0,则 Height 按比例缩放;
当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。
|
void |
setComment(String Comment)
Set 转动图模板描述。
|
void |
setCreateTime(String CreateTime)
Set 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
void |
setDefinition(Long Definition)
Set 转动图模板唯一标识。
|
void |
setFormat(String Format)
Set 动图格式。
|
void |
setFps(Long Fps)
Set 帧率。
|
void |
setHeight(Long Height)
Set 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
当 Width、Height 均为 0,则分辨率同源;
当 Width 为 0,Height 非 0,则 Width 按比例缩放;
当 Width 非 0,Height 为 0,则 Height 按比例缩放;
当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。
|
void |
setName(String Name)
Set 转动图模板名称。
|
void |
setQuality(Float Quality)
Set 图片质量。
|
void |
setResolutionAdaptive(String ResolutionAdaptive)
Set 分辨率自适应,可选值:
open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。
|
void |
setType(String Type)
Set 模板类型,取值范围:
Preset:系统预置模板;
Custom:用户自定义模板。
|
void |
setUpdateTime(String UpdateTime)
Set 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
void |
setWidth(Long Width)
Set 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
当 Width、Height 均为 0,则分辨率同源;
当 Width 为 0,Height 非 0,则 Width 按比例缩放;
当 Width 非 0,Height 为 0,则 Height 按比例缩放;
当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。
|
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 AnimatedGraphicsTemplate()
public AnimatedGraphicsTemplate(AnimatedGraphicsTemplate source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- 转动图模板唯一标识。public String getType()
public void setType(String Type)
Type
- 模板类型,取值范围:
public String getName()
public void setName(String Name)
Name
- 转动图模板名称。public String getComment()
public void setComment(String Comment)
Comment
- 转动图模板描述。public Long getWidth()
public void setWidth(Long Width)
Width
- 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
public Long getHeight()
public void setHeight(Long Height)
Height
- 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
public String getResolutionAdaptive()
public void setResolutionAdaptive(String ResolutionAdaptive)
ResolutionAdaptive
- 分辨率自适应,可选值:
public String getFormat()
public void setFormat(String Format)
Format
- 动图格式。public Long getFps()
public void setFps(Long Fps)
Fps
- 帧率。public Float getQuality()
public void setQuality(Float Quality)
Quality
- 图片质量。public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。Copyright © 2024. All rights reserved.