public class ModifyAnimatedGraphicsTemplateRequest extends AbstractModel
Constructor and Description |
---|
ModifyAnimatedGraphicsTemplateRequest() |
ModifyAnimatedGraphicsTemplateRequest(ModifyAnimatedGraphicsTemplateRequest 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 模板描述信息,长度限制:256 个字符。
|
Long |
getDefinition()
Get 转动图模板唯一标识。
|
String |
getFormat()
Get 动图格式,取值为 gif 和 webp。
|
Long |
getFps()
Get 帧率,取值范围:[1, 30],单位:Hz。
|
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 转动图模板名称,长度限制:64 个字符。
|
Float |
getQuality()
Get 图片质量,取值范围:[1, 100],默认值为 75。
|
String |
getResolutionAdaptive()
Get 分辨率自适应,可选值:
open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。
|
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 模板描述信息,长度限制:256 个字符。
|
void |
setDefinition(Long Definition)
Set 转动图模板唯一标识。
|
void |
setFormat(String Format)
Set 动图格式,取值为 gif 和 webp。
|
void |
setFps(Long Fps)
Set 帧率,取值范围:[1, 30],单位:Hz。
|
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 转动图模板名称,长度限制:64 个字符。
|
void |
setQuality(Float Quality)
Set 图片质量,取值范围:[1, 100],默认值为 75。
|
void |
setResolutionAdaptive(String ResolutionAdaptive)
Set 分辨率自适应,可选值:
open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyAnimatedGraphicsTemplateRequest()
public ModifyAnimatedGraphicsTemplateRequest(ModifyAnimatedGraphicsTemplateRequest source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- 转动图模板唯一标识。public String getName()
public void setName(String Name)
Name
- 转动图模板名称,长度限制:64 个字符。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
- 动图格式,取值为 gif 和 webp。public Long getFps()
public void setFps(Long Fps)
Fps
- 帧率,取值范围:[1, 30],单位:Hz。public Float getQuality()
public void setQuality(Float Quality)
Quality
- 图片质量,取值范围:[1, 100],默认值为 75。public String getComment()
public void setComment(String Comment)
Comment
- 模板描述信息,长度限制:256 个字符。Copyright © 2021. All rights reserved.