public class CreateWatermarkTemplateRequest extends AbstractModel
Constructor and Description |
---|
CreateWatermarkTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get Template description.
|
String |
getCoordinateOrigin()
Get Origin position.
|
ImageWatermarkInput |
getImageTemplate()
Get Image watermarking template.
|
String |
getName()
Get Watermarking template name.
|
Long |
getSubAppId()
Get [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
SvgWatermarkInput |
getSvgTemplate()
Get SVG watermarking template.
|
TextWatermarkTemplateInput |
getTextTemplate()
Get Text watermarking template.
|
String |
getType()
Get Watermarking type.
|
String |
getXPos()
Get The horizontal position of the origin of the watermark relative to the origin of coordinates of the video.
|
String |
getYPos()
Get The vertical position of the origin of the watermark relative to the origin of coordinates of the video.
|
void |
setComment(String Comment)
Set Template description.
|
void |
setCoordinateOrigin(String CoordinateOrigin)
Set Origin position.
|
void |
setImageTemplate(ImageWatermarkInput ImageTemplate)
Set Image watermarking template.
|
void |
setName(String Name)
Set Watermarking template name.
|
void |
setSubAppId(Long SubAppId)
Set [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
void |
setSvgTemplate(SvgWatermarkInput SvgTemplate)
Set SVG watermarking template.
|
void |
setTextTemplate(TextWatermarkTemplateInput TextTemplate)
Set Text watermarking template.
|
void |
setType(String Type)
Set Watermarking type.
|
void |
setXPos(String XPos)
Set The horizontal position of the origin of the watermark relative to the origin of coordinates of the video.
|
void |
setYPos(String YPos)
Set The vertical position of the origin of the watermark relative to the origin of coordinates of the video.
|
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 getType()
public void setType(String Type)
Type
- Watermarking type. Valid values:
public String getName()
public void setName(String Name)
Name
- Watermarking template name. Length limit: 64 characters.public String getComment()
public void setComment(String Comment)
Comment
- Template description. Length limit: 256 characters.public String getCoordinateOrigin()
public void setCoordinateOrigin(String CoordinateOrigin)
CoordinateOrigin
- Origin position. Valid values:
public String getXPos()
public void setXPos(String XPos)
XPos
- The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
public String getYPos()
public void setYPos(String YPos)
YPos
- The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
public ImageWatermarkInput getImageTemplate()
public void setImageTemplate(ImageWatermarkInput ImageTemplate)
ImageTemplate
- Image watermarking template. This field is required when `Type` is `image` and is invalid when `Type` is `text`.public TextWatermarkTemplateInput getTextTemplate()
public void setTextTemplate(TextWatermarkTemplateInput TextTemplate)
TextTemplate
- Text watermarking template. This field is required when `Type` is `text` and is invalid when `Type` is `image`.public SvgWatermarkInput getSvgTemplate()
public void setSvgTemplate(SvgWatermarkInput SvgTemplate)
SvgTemplate
- SVG watermarking template. This field is required when `Type` is `svg` and is invalid when `Type` is `image` or `text`.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID 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.