public class SnapshotTemplateInfo extends AbstractModel
Constructor and Description |
---|
SnapshotTemplateInfo() |
Modifier and Type | Method and Description |
---|---|
Long |
getCosAppId()
Get COS application ID.
|
String |
getCosBucket()
Get COS bucket name.
|
String |
getCosFileName()
Get COS filename.
|
String |
getCosPrefix()
Get COS bucket folder prefix.
|
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.
|
Long |
getTemplateId()
Get Template ID.
|
String |
getTemplateName()
Get Template name.
|
Long |
getWidth()
Get Screenshot width.
|
void |
setCosAppId(Long CosAppId)
Set COS application ID.
|
void |
setCosBucket(String CosBucket)
Set COS bucket name.
|
void |
setCosFileName(String CosFileName)
Set COS filename.
|
void |
setCosPrefix(String CosPrefix)
Set COS bucket folder prefix.
|
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.
|
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. 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 ratio.public Long getHeight()
public void setHeight(Long Height)
Height
- Screenshot height. Value range: 0-2000.
0: original height and fit to the original ratio.public 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 application ID.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 description.public String getCosPrefix()
public void setCosPrefix(String CosPrefix)
CosPrefix
- COS bucket folder prefix.
Note: this field may return null, indicating that no valid values can be obtained.public String getCosFileName()
public void setCosFileName(String CosFileName)
CosFileName
- COS filename.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.