public class CreateAnimatedGraphicsTemplateRequest extends AbstractModel
Constructor and Description |
---|
CreateAnimatedGraphicsTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get Template description.
|
String |
getFormat()
Get Animated image format.
|
Long |
getFps()
Get Video frame rate in Hz.
|
Long |
getHeight()
Get Maximum value of the height (or short side) of an animated image in px.
|
String |
getName()
Get Name of an animated image generating template.
|
Float |
getQuality()
Get Image quality.
|
String |
getResolutionAdaptive()
Get Resolution adaption.
|
Long |
getSubAppId()
Get ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD.
|
Long |
getWidth()
Get Maximum value of the width (or long side) of an animated image in px.
|
void |
setComment(String Comment)
Set Template description.
|
void |
setFormat(String Format)
Set Animated image format.
|
void |
setFps(Long Fps)
Set Video frame rate in Hz.
|
void |
setHeight(Long Height)
Set Maximum value of the height (or short side) of an animated image in px.
|
void |
setName(String Name)
Set Name of an animated image generating template.
|
void |
setQuality(Float Quality)
Set Image quality.
|
void |
setResolutionAdaptive(String ResolutionAdaptive)
Set Resolution adaption.
|
void |
setSubAppId(Long SubAppId)
Set ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD.
|
void |
setWidth(Long Width)
Set Maximum value of the width (or long side) of an animated image in px.
|
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 CreateAnimatedGraphicsTemplateRequest()
public Long getFps()
public void setFps(Long Fps)
Fps
- Video frame rate in Hz. Value range: [1, 30].public Long getWidth()
public void setWidth(Long Width)
Width
- Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096].
public Long getHeight()
public void setHeight(Long Height)
Height
- Maximum value of the height (or short side) of an animated image in px. Value range: 0 and [128, 4,096].
public String getResolutionAdaptive()
public void setResolutionAdaptive(String ResolutionAdaptive)
ResolutionAdaptive
- Resolution adaption. Valid values:
public String getFormat()
public void setFormat(String Format)
Format
- Animated image format. Valid values: gif; webp. Default value: gif.public Float getQuality()
public void setQuality(Float Quality)
Quality
- Image quality. Value range: [1, 100]. Default value: 75.public String getName()
public void setName(String Name)
Name
- Name of an animated image generating template. Length limit: 64 characters.public String getComment()
public void setComment(String Comment)
Comment
- Template description. Length limit: 256 characters.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.Copyright © 2020. All rights reserved.