com.aliyuncs.rtc.model.v20180111.DescribeRecordTemplatesResponse Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.rtc.model.v20180111;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.rtc.transform.v20180111.DescribeRecordTemplatesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeRecordTemplatesResponse extends AcsResponse {
private Long totalPage;
private String requestId;
private Long totalNum;
private List templates;
public Long getTotalPage() {
return this.totalPage;
}
public void setTotalPage(Long totalPage) {
this.totalPage = totalPage;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getTotalNum() {
return this.totalNum;
}
public void setTotalNum(Long totalNum) {
this.totalNum = totalNum;
}
public List getTemplates() {
return this.templates;
}
public void setTemplates(List templates) {
this.templates = templates;
}
public static class Template {
private String mnsQueue;
private String ossFilePrefix;
private String createTime;
private String ossBucket;
private Integer delayStopTime;
private Integer mediaEncode;
private Integer fileSplitInterval;
private String httpCallbackUrl;
private Boolean enableM3u8DateTime;
private Integer backgroundColor;
private String name;
private String templateId;
private String taskProfile;
private List backgrounds;
private List watermarks;
private List clockWidgets;
private List layoutIds;
private List formats;
public String getMnsQueue() {
return this.mnsQueue;
}
public void setMnsQueue(String mnsQueue) {
this.mnsQueue = mnsQueue;
}
public String getOssFilePrefix() {
return this.ossFilePrefix;
}
public void setOssFilePrefix(String ossFilePrefix) {
this.ossFilePrefix = ossFilePrefix;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getOssBucket() {
return this.ossBucket;
}
public void setOssBucket(String ossBucket) {
this.ossBucket = ossBucket;
}
public Integer getDelayStopTime() {
return this.delayStopTime;
}
public void setDelayStopTime(Integer delayStopTime) {
this.delayStopTime = delayStopTime;
}
public Integer getMediaEncode() {
return this.mediaEncode;
}
public void setMediaEncode(Integer mediaEncode) {
this.mediaEncode = mediaEncode;
}
public Integer getFileSplitInterval() {
return this.fileSplitInterval;
}
public void setFileSplitInterval(Integer fileSplitInterval) {
this.fileSplitInterval = fileSplitInterval;
}
public String getHttpCallbackUrl() {
return this.httpCallbackUrl;
}
public void setHttpCallbackUrl(String httpCallbackUrl) {
this.httpCallbackUrl = httpCallbackUrl;
}
public Boolean getEnableM3u8DateTime() {
return this.enableM3u8DateTime;
}
public void setEnableM3u8DateTime(Boolean enableM3u8DateTime) {
this.enableM3u8DateTime = enableM3u8DateTime;
}
public Integer getBackgroundColor() {
return this.backgroundColor;
}
public void setBackgroundColor(Integer backgroundColor) {
this.backgroundColor = backgroundColor;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getTemplateId() {
return this.templateId;
}
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
public String getTaskProfile() {
return this.taskProfile;
}
public void setTaskProfile(String taskProfile) {
this.taskProfile = taskProfile;
}
public List getBackgrounds() {
return this.backgrounds;
}
public void setBackgrounds(List backgrounds) {
this.backgrounds = backgrounds;
}
public List getWatermarks() {
return this.watermarks;
}
public void setWatermarks(List watermarks) {
this.watermarks = watermarks;
}
public List getClockWidgets() {
return this.clockWidgets;
}
public void setClockWidgets(List clockWidgets) {
this.clockWidgets = clockWidgets;
}
public List getLayoutIds() {
return this.layoutIds;
}
public void setLayoutIds(List layoutIds) {
this.layoutIds = layoutIds;
}
public List getFormats() {
return this.formats;
}
public void setFormats(List formats) {
this.formats = formats;
}
public static class Background {
private Float width;
private Float height;
private Float y;
private String url;
private Integer display;
private Integer zOrder;
private Float x;
public Float getWidth() {
return this.width;
}
public void setWidth(Float width) {
this.width = width;
}
public Float getHeight() {
return this.height;
}
public void setHeight(Float height) {
this.height = height;
}
public Float getY() {
return this.y;
}
public void setY(Float y) {
this.y = y;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public Integer getDisplay() {
return this.display;
}
public void setDisplay(Integer display) {
this.display = display;
}
public Integer getZOrder() {
return this.zOrder;
}
public void setZOrder(Integer zOrder) {
this.zOrder = zOrder;
}
public Float getX() {
return this.x;
}
public void setX(Float x) {
this.x = x;
}
}
public static class Watermark {
private Float alpha;
private Float width;
private Float height;
private Float y;
private String url;
private Integer display;
private Integer zOrder;
private Float x;
public Float getAlpha() {
return this.alpha;
}
public void setAlpha(Float alpha) {
this.alpha = alpha;
}
public Float getWidth() {
return this.width;
}
public void setWidth(Float width) {
this.width = width;
}
public Float getHeight() {
return this.height;
}
public void setHeight(Float height) {
this.height = height;
}
public Float getY() {
return this.y;
}
public void setY(Float y) {
this.y = y;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public Integer getDisplay() {
return this.display;
}
public void setDisplay(Integer display) {
this.display = display;
}
public Integer getZOrder() {
return this.zOrder;
}
public void setZOrder(Integer zOrder) {
this.zOrder = zOrder;
}
public Float getX() {
return this.x;
}
public void setX(Float x) {
this.x = x;
}
}
public static class Watermark1 {
private Integer fontType;
private Integer fontColor;
private Float y;
private Integer zOrder;
private Float x;
private Integer fontSize;
public Integer getFontType() {
return this.fontType;
}
public void setFontType(Integer fontType) {
this.fontType = fontType;
}
public Integer getFontColor() {
return this.fontColor;
}
public void setFontColor(Integer fontColor) {
this.fontColor = fontColor;
}
public Float getY() {
return this.y;
}
public void setY(Float y) {
this.y = y;
}
public Integer getZOrder() {
return this.zOrder;
}
public void setZOrder(Integer zOrder) {
this.zOrder = zOrder;
}
public Float getX() {
return this.x;
}
public void setX(Float x) {
this.x = x;
}
public Integer getFontSize() {
return this.fontSize;
}
public void setFontSize(Integer fontSize) {
this.fontSize = fontSize;
}
}
}
@Override
public DescribeRecordTemplatesResponse getInstance(UnmarshallerContext context) {
return DescribeRecordTemplatesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}