public class CreateLiveSnapshotTemplateRequest extends AbstractModel
Constructor and Description |
---|
CreateLiveSnapshotTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getCosAppId()
Get Cos 应用 ID。
|
String |
getCosBucket()
Get Cos Bucket名称。
注:CosBucket参数值不能包含-[appid] 部分。
|
String |
getCosFileName()
Get Cos 文件名称。
如不传,实际按默认值
{StreamID}-screenshot-{Hour}-{Minute}-{Second}-{Width}x{Height}{Ext}
生效
|
String |
getCosPrefix()
Get Cos Bucket文件夹前缀。
如不传,实际按默认值
/{Year}-{Month}-{Day}
生效
|
String |
getCosRegion()
Get Cos地区。
|
String |
getDescription()
Get 描述信息。
长度上限:1024字节。
仅支持中文、英文、数字、_、-。
|
Long |
getHeight()
Get 截图高度。默认:0(原始高)。
|
Long |
getPornFlag()
Get 是否开启鉴黄,0:不开启,1:开启。默认:0。
|
Long |
getSnapshotInterval()
Get 截图间隔,单位s,默认10s。
范围: 5s ~ 300s。
|
String |
getTemplateName()
Get 模板名称。
长度上限:255字节。
仅支持中文、英文、数字、_、-。
|
Long |
getWidth()
Get 截图宽度。默认:0(原始宽)。
|
void |
setCosAppId(Long CosAppId)
Set Cos 应用 ID。
|
void |
setCosBucket(String CosBucket)
Set Cos Bucket名称。
注:CosBucket参数值不能包含-[appid] 部分。
|
void |
setCosFileName(String CosFileName)
Set Cos 文件名称。
如不传,实际按默认值
{StreamID}-screenshot-{Hour}-{Minute}-{Second}-{Width}x{Height}{Ext}
生效
|
void |
setCosPrefix(String CosPrefix)
Set Cos Bucket文件夹前缀。
如不传,实际按默认值
/{Year}-{Month}-{Day}
生效
|
void |
setCosRegion(String CosRegion)
Set Cos地区。
|
void |
setDescription(String Description)
Set 描述信息。
长度上限:1024字节。
仅支持中文、英文、数字、_、-。
|
void |
setHeight(Long Height)
Set 截图高度。默认:0(原始高)。
|
void |
setPornFlag(Long PornFlag)
Set 是否开启鉴黄,0:不开启,1:开启。默认:0。
|
void |
setSnapshotInterval(Long SnapshotInterval)
Set 截图间隔,单位s,默认10s。
范围: 5s ~ 300s。
|
void |
setTemplateName(String TemplateName)
Set 模板名称。
长度上限:255字节。
仅支持中文、英文、数字、_、-。
|
void |
setWidth(Long Width)
Set 截图宽度。默认: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 String getTemplateName()
public void setTemplateName(String TemplateName)
TemplateName
- 模板名称。
长度上限:255字节。
仅支持中文、英文、数字、_、-。public Long getCosAppId()
public void setCosAppId(Long CosAppId)
CosAppId
- Cos 应用 ID。public String getCosBucket()
public void setCosBucket(String CosBucket)
CosBucket
- Cos Bucket名称。
注:CosBucket参数值不能包含-[appid] 部分。public String getCosRegion()
public void setCosRegion(String CosRegion)
CosRegion
- Cos地区。public String getDescription()
public void setDescription(String Description)
Description
- 描述信息。
长度上限:1024字节。
仅支持中文、英文、数字、_、-。public Long getSnapshotInterval()
public void setSnapshotInterval(Long SnapshotInterval)
SnapshotInterval
- 截图间隔,单位s,默认10s。
范围: 5s ~ 300s。public Long getWidth()
public void setWidth(Long Width)
Width
- 截图宽度。默认:0(原始宽)。public Long getHeight()
public void setHeight(Long Height)
Height
- 截图高度。默认:0(原始高)。public Long getPornFlag()
public void setPornFlag(Long PornFlag)
PornFlag
- 是否开启鉴黄,0:不开启,1:开启。默认:0。public String getCosPrefix()
public void setCosPrefix(String CosPrefix)
CosPrefix
- Cos Bucket文件夹前缀。
如不传,实际按默认值
/{Year}-{Month}-{Day}
生效public String getCosFileName()
public void setCosFileName(String CosFileName)
CosFileName
- Cos 文件名称。
如不传,实际按默认值
{StreamID}-screenshot-{Hour}-{Minute}-{Second}-{Width}x{Height}{Ext}
生效Copyright © 2020. All rights reserved.