com.aliyun.ice20201109.models.GetLiveRecordTemplateResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice20201109 Show documentation
Show all versions of ice20201109 Show documentation
Alibaba Cloud ICE (20201109) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class GetLiveRecordTemplateResponseBody extends TeaModel {
/**
* 录制模板
*/
@NameInMap("RecordTemplate")
public GetLiveRecordTemplateResponseBodyRecordTemplate recordTemplate;
/**
* example:
* C892855F-95DF-50D6-A28C-279ABDB76810
*/
@NameInMap("RequestId")
public String requestId;
public static GetLiveRecordTemplateResponseBody build(java.util.Map map) throws Exception {
GetLiveRecordTemplateResponseBody self = new GetLiveRecordTemplateResponseBody();
return TeaModel.build(map, self);
}
public GetLiveRecordTemplateResponseBody setRecordTemplate(GetLiveRecordTemplateResponseBodyRecordTemplate recordTemplate) {
this.recordTemplate = recordTemplate;
return this;
}
public GetLiveRecordTemplateResponseBodyRecordTemplate getRecordTemplate() {
return this.recordTemplate;
}
public GetLiveRecordTemplateResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class GetLiveRecordTemplateResponseBodyRecordTemplateRecordFormatList extends TeaModel {
/**
* example:
* 7200
*/
@NameInMap("CycleDuration")
public Integer cycleDuration;
/**
* 格式
*
* example:
* m3u8
*/
@NameInMap("Format")
public String format;
/**
* Oss对象名,不包含后缀
*
* example:
* record/{JobId}/{Sequence}{EscapedStartTime}{EscapedEndTime}
*/
@NameInMap("OssObjectPrefix")
public String ossObjectPrefix;
/**
* example:
* 30
*/
@NameInMap("SliceDuration")
public Integer sliceDuration;
/**
* 切片Oss对象名,不包含后缀
*
* example:
* record/{JobId}/{UnixTimestamp}_{Sequence}
*/
@NameInMap("SliceOssObjectPrefix")
public String sliceOssObjectPrefix;
public static GetLiveRecordTemplateResponseBodyRecordTemplateRecordFormatList build(java.util.Map map) throws Exception {
GetLiveRecordTemplateResponseBodyRecordTemplateRecordFormatList self = new GetLiveRecordTemplateResponseBodyRecordTemplateRecordFormatList();
return TeaModel.build(map, self);
}
public GetLiveRecordTemplateResponseBodyRecordTemplateRecordFormatList setCycleDuration(Integer cycleDuration) {
this.cycleDuration = cycleDuration;
return this;
}
public Integer getCycleDuration() {
return this.cycleDuration;
}
public GetLiveRecordTemplateResponseBodyRecordTemplateRecordFormatList setFormat(String format) {
this.format = format;
return this;
}
public String getFormat() {
return this.format;
}
public GetLiveRecordTemplateResponseBodyRecordTemplateRecordFormatList setOssObjectPrefix(String ossObjectPrefix) {
this.ossObjectPrefix = ossObjectPrefix;
return this;
}
public String getOssObjectPrefix() {
return this.ossObjectPrefix;
}
public GetLiveRecordTemplateResponseBodyRecordTemplateRecordFormatList setSliceDuration(Integer sliceDuration) {
this.sliceDuration = sliceDuration;
return this;
}
public Integer getSliceDuration() {
return this.sliceDuration;
}
public GetLiveRecordTemplateResponseBodyRecordTemplateRecordFormatList setSliceOssObjectPrefix(String sliceOssObjectPrefix) {
this.sliceOssObjectPrefix = sliceOssObjectPrefix;
return this;
}
public String getSliceOssObjectPrefix() {
return this.sliceOssObjectPrefix;
}
}
public static class GetLiveRecordTemplateResponseBodyRecordTemplate extends TeaModel {
/**
* 代表创建时间的资源属性字段
* Use the UTC time format: yyyy-MM-ddTHH:mmZ
*
* example:
* 2022-07-20T03:26:36Z
*/
@NameInMap("CreateTime")
public String createTime;
/**
* 代表创建时间的资源属性字段
* Use the UTC time format: yyyy-MM-ddTHH:mmZ
*
* example:
* 2022-07-20T03:26:36Z
*/
@NameInMap("LastModified")
public String lastModified;
/**
* 代表资源名称的资源属性字段
*
* example:
* test template
*/
@NameInMap("Name")
public String name;
/**
* 录制格式
*/
@NameInMap("RecordFormatList")
public java.util.List recordFormatList;
/**
* 代表资源一级ID的资源属性字段
*
* example:
* 69e1f9fe-1e97-11ed-ba64-0c42a1b73d66
*/
@NameInMap("TemplateId")
public String templateId;
/**
* 代表资源名称的资源属性字段
*
* example:
* custom
*/
@NameInMap("Type")
public String type;
public static GetLiveRecordTemplateResponseBodyRecordTemplate build(java.util.Map map) throws Exception {
GetLiveRecordTemplateResponseBodyRecordTemplate self = new GetLiveRecordTemplateResponseBodyRecordTemplate();
return TeaModel.build(map, self);
}
public GetLiveRecordTemplateResponseBodyRecordTemplate setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public GetLiveRecordTemplateResponseBodyRecordTemplate setLastModified(String lastModified) {
this.lastModified = lastModified;
return this;
}
public String getLastModified() {
return this.lastModified;
}
public GetLiveRecordTemplateResponseBodyRecordTemplate setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetLiveRecordTemplateResponseBodyRecordTemplate setRecordFormatList(java.util.List recordFormatList) {
this.recordFormatList = recordFormatList;
return this;
}
public java.util.List getRecordFormatList() {
return this.recordFormatList;
}
public GetLiveRecordTemplateResponseBodyRecordTemplate setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public GetLiveRecordTemplateResponseBodyRecordTemplate setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
}