Class AnimatedGraphicsTemplate
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.AnimatedGraphicsTemplate
-
public class AnimatedGraphicsTemplate extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComment()Get 转动图模板描述。StringgetCreateTime()Get 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。LonggetDefinition()Get 转动图模板唯一标识。StringgetFormat()Get 动图格式。LonggetFps()Get 帧率。LonggetHeight()Get 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。 当 Width、Height 均为 0,则分辨率同源; 当 Width 为 0,Height 非 0,则 Width 按比例缩放; 当 Width 非 0,Height 为 0,则 Height 按比例缩放; 当 Width、Height 均非 0,则分辨率按用户指定。 默认值:0。StringgetName()Get 转动图模板名称。FloatgetQuality()Get 图片质量。StringgetResolutionAdaptive()Get 分辨率自适应,可选值: open:开启,此时,Width 代表视频的长边,Height 表示视频的短边; close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。 默认值:open。StringgetType()Get 模板类型,取值范围: Preset:系统预置模板; Custom:用户自定义模板。StringgetUpdateTime()Get 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。LonggetWidth()Get 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。 当 Width、Height 均为 0,则分辨率同源; 当 Width 为 0,Height 非 0,则 Width 按比例缩放; 当 Width 非 0,Height 为 0,则 Height 按比例缩放; 当 Width、Height 均非 0,则分辨率按用户指定。 默认值:0。voidsetComment(String Comment)Set 转动图模板描述。voidsetCreateTime(String CreateTime)Set 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。voidsetDefinition(Long Definition)Set 转动图模板唯一标识。voidsetFormat(String Format)Set 动图格式。voidsetFps(Long Fps)Set 帧率。voidsetHeight(Long Height)Set 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。 当 Width、Height 均为 0,则分辨率同源; 当 Width 为 0,Height 非 0,则 Width 按比例缩放; 当 Width 非 0,Height 为 0,则 Height 按比例缩放; 当 Width、Height 均非 0,则分辨率按用户指定。 默认值:0。voidsetName(String Name)Set 转动图模板名称。voidsetQuality(Float Quality)Set 图片质量。voidsetResolutionAdaptive(String ResolutionAdaptive)Set 分辨率自适应,可选值: open:开启,此时,Width 代表视频的长边,Height 表示视频的短边; close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。 默认值:open。voidsetType(String Type)Set 模板类型,取值范围: Preset:系统预置模板; Custom:用户自定义模板。voidsetUpdateTime(String UpdateTime)Set 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。voidsetWidth(Long Width)Set 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。 当 Width、Height 均为 0,则分辨率同源; 当 Width 为 0,Height 非 0,则 Width 按比例缩放; 当 Width 非 0,Height 为 0,则 Height 按比例缩放; 当 Width、Height 均非 0,则分辨率按用户指定。 默认值:0。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
AnimatedGraphicsTemplate
public AnimatedGraphicsTemplate()
-
AnimatedGraphicsTemplate
public 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.
-
-
Method Detail
-
getDefinition
public Long getDefinition()
Get 转动图模板唯一标识。- Returns:
- Definition 转动图模板唯一标识。
-
setDefinition
public void setDefinition(Long Definition)
Set 转动图模板唯一标识。- Parameters:
Definition- 转动图模板唯一标识。
-
getType
public String getType()
Get 模板类型,取值范围:- Preset:系统预置模板;
- Custom:用户自定义模板。
- Returns:
- Type 模板类型,取值范围:
- Preset:系统预置模板;
- Custom:用户自定义模板。
-
setType
public void setType(String Type)
Set 模板类型,取值范围:- Preset:系统预置模板;
- Custom:用户自定义模板。
- Parameters:
Type- 模板类型,取值范围:- Preset:系统预置模板;
- Custom:用户自定义模板。
-
getName
public String getName()
Get 转动图模板名称。- Returns:
- Name 转动图模板名称。
-
setName
public void setName(String Name)
Set 转动图模板名称。- Parameters:
Name- 转动图模板名称。
-
getComment
public String getComment()
Get 转动图模板描述。- Returns:
- Comment 转动图模板描述。
-
setComment
public void setComment(String Comment)
Set 转动图模板描述。- Parameters:
Comment- 转动图模板描述。
-
getWidth
public Long getWidth()
Get 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- Returns:
- Width 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。
-
setWidth
public 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。- Parameters:
Width- 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。
-
getHeight
public Long getHeight()
Get 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- Returns:
- Height 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。
-
setHeight
public 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。- Parameters:
Height- 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。
-
getResolutionAdaptive
public String getResolutionAdaptive()
Get 分辨率自适应,可选值:- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。- Returns:
- ResolutionAdaptive 分辨率自适应,可选值:
- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。
-
setResolutionAdaptive
public void setResolutionAdaptive(String ResolutionAdaptive)
Set 分辨率自适应,可选值:- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。- Parameters:
ResolutionAdaptive- 分辨率自适应,可选值:- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。
-
getFormat
public String getFormat()
Get 动图格式。- Returns:
- Format 动图格式。
-
setFormat
public void setFormat(String Format)
Set 动图格式。- Parameters:
Format- 动图格式。
-
getFps
public Long getFps()
Get 帧率。- Returns:
- Fps 帧率。
-
setFps
public void setFps(Long Fps)
Set 帧率。- Parameters:
Fps- 帧率。
-
getQuality
public Float getQuality()
Get 图片质量。- Returns:
- Quality 图片质量。
-
setQuality
public void setQuality(Float Quality)
Set 图片质量。- Parameters:
Quality- 图片质量。
-
getCreateTime
public String getCreateTime()
Get 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。- Returns:
- CreateTime 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
-
setCreateTime
public void setCreateTime(String CreateTime)
Set 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。- Parameters:
CreateTime- 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
-
getUpdateTime
public String getUpdateTime()
Get 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。- Returns:
- UpdateTime 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
-
setUpdateTime
public void setUpdateTime(String UpdateTime)
Set 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。- Parameters:
UpdateTime- 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
-
-