public class SnapshotTemplateInfo extends AbstractModel
Constructor and Description |
---|
SnapshotTemplateInfo() |
Modifier and Type | Method and Description |
---|---|
Long |
getCosAppId()
Get COS `AppId`.
|
String |
getCosBucket()
Get COS bucket name.
|
String |
getCosRegion()
Get COS region.
|
String |
getDescription()
Get Template description
|
Long |
getHeight()
Get Screenshot height.
|
Long |
getPornFlag()
Get Whether to enable porn detection.
|
Long |
getSnapshotInterval()
Get Screencapturing interval in seconds.
|
Long |
getTemplateId()
Get Template ID.
|
String |
getTemplateName()
Get Template name.
|
Long |
getWidth()
Get Screenshot width.
|
void |
setCosAppId(Long CosAppId)
Set COS `AppId`.
|
void |
setCosBucket(String CosBucket)
Set COS bucket name.
|
void |
setCosRegion(String CosRegion)
Set COS region.
|
void |
setDescription(String Description)
Set Template description
|
void |
setHeight(Long Height)
Set Screenshot height.
|
void |
setPornFlag(Long PornFlag)
Set Whether to enable porn detection.
|
void |
setSnapshotInterval(Long SnapshotInterval)
Set Screencapturing interval in seconds.
|
void |
setTemplateId(Long TemplateId)
Set Template ID.
|
void |
setTemplateName(String TemplateName)
Set Template name.
|
void |
setWidth(Long Width)
Set Screenshot width.
|
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 Long getTemplateId()
public void setTemplateId(Long TemplateId)
TemplateId
- Template ID.public String getTemplateName()
public void setTemplateName(String TemplateName)
TemplateName
- Template name.public Long getSnapshotInterval()
public void setSnapshotInterval(Long SnapshotInterval)
SnapshotInterval
- Screencapturing interval in seconds. Value range: 5–300s.public Long getWidth()
public void setWidth(Long Width)
Width
- Screenshot width. Value range: 0–3000. 0: original width and fit to the original aspect ratiopublic Long getHeight()
public void setHeight(Long Height)
Height
- Screenshot height. Value range: 0–2,000. 0: original height and fit to the original aspect ratiopublic Long getPornFlag()
public void setPornFlag(Long PornFlag)
PornFlag
- Whether to enable porn detection. 0: no, 1: yes.public Long getCosAppId()
public void setCosAppId(Long CosAppId)
CosAppId
- COS `AppId`.public String getCosBucket()
public void setCosBucket(String CosBucket)
CosBucket
- COS bucket name.public String getCosRegion()
public void setCosRegion(String CosRegion)
CosRegion
- COS region.public String getDescription()
public void setDescription(String Description)
Description
- Template descriptionCopyright © 2020. All rights reserved.