public class CreateImageSpriteTemplateRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateImageSpriteTemplateRequest() |
CreateImageSpriteTemplateRequest(CreateImageSpriteTemplateRequest 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 |
getColumnCount()
Get The number of columns of small images in the sprite image.
|
String |
getComment()
Get Template description.
|
String |
getFillType()
Get Fill type.
|
String |
getFormat()
Get The image format.
|
Long |
getHeight()
Get The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.
|
String |
getName()
Get Name of an image sprite generating template.
|
String |
getResolutionAdaptive()
Get Resolution adaption.
|
Long |
getRowCount()
Get The number of rows of small images in the sprite image.
|
Long |
getSampleInterval()
Get Sampling interval.
|
String |
getSampleType()
Get Sampling type.
|
Long |
getSubAppId()
Get The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID.
|
Long |
getWidth()
Get The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.
|
void |
setColumnCount(Long ColumnCount)
Set The number of columns of small images in the sprite image.
|
void |
setComment(String Comment)
Set Template description.
|
void |
setFillType(String FillType)
Set Fill type.
|
void |
setFormat(String Format)
Set The image format.
|
void |
setHeight(Long Height)
Set The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.
|
void |
setName(String Name)
Set Name of an image sprite generating template.
|
void |
setResolutionAdaptive(String ResolutionAdaptive)
Set Resolution adaption.
|
void |
setRowCount(Long RowCount)
Set The number of rows of small images in the sprite image.
|
void |
setSampleInterval(Long SampleInterval)
Set Sampling interval.
|
void |
setSampleType(String SampleType)
Set Sampling type.
|
void |
setSubAppId(Long SubAppId)
Set The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID.
|
void |
setWidth(Long Width)
Set The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateImageSpriteTemplateRequest()
public CreateImageSpriteTemplateRequest(CreateImageSpriteTemplateRequest source)
public String getSampleType()
public void setSampleType(String SampleType)
SampleType
- Sampling type. Valid values:
public Long getSampleInterval()
public void setSampleInterval(Long SampleInterval)
SampleInterval
- Sampling interval.
public Long getRowCount()
public void setRowCount(Long RowCount)
RowCount
- The number of rows of small images in the sprite image.
Note: The number of rows of the small image will affect the height of the final large image. The maximum height of the large image is 15,000 pixels. The height of the large image is the product of the number of rows of the small image and the height of the small image.public Long getColumnCount()
public void setColumnCount(Long ColumnCount)
ColumnCount
- The number of columns of small images in the sprite image.
Note: The number of columns of the small image will affect the width of the final large image. The maximum width of the large image is 15,000 pixels. The width of the large image is the product of the number of columns of the small image and the width of the small image.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.public String getName()
public void setName(String Name)
Name
- Name of an image sprite generating template. Length limit: 64 characters.public String getComment()
public void setComment(String Comment)
Comment
- Template description. Length limit: 256 characters.public String getFillType()
public void setFillType(String FillType)
FillType
- Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
public Long getWidth()
public void setWidth(Long Width)
Width
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.
public Long getHeight()
public void setHeight(Long Height)
Height
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.
public String getResolutionAdaptive()
public void setResolutionAdaptive(String ResolutionAdaptive)
ResolutionAdaptive
- Resolution adaption. Valid values:
public String getFormat()
public void setFormat(String Format)
Format
- The image format. Valid values:
Copyright © 2024. All rights reserved.