
com.aliyun.ice20201109.models.CreateLiveRecordTemplateRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class CreateLiveRecordTemplateRequest extends TeaModel {
/**
* 代表资源名称的资源属性字段
*/
@NameInMap("Name")
public String name;
/**
* 录制格式
*/
@NameInMap("RecordFormat")
public java.util.List recordFormat;
public static CreateLiveRecordTemplateRequest build(java.util.Map map) throws Exception {
CreateLiveRecordTemplateRequest self = new CreateLiveRecordTemplateRequest();
return TeaModel.build(map, self);
}
public CreateLiveRecordTemplateRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CreateLiveRecordTemplateRequest setRecordFormat(java.util.List recordFormat) {
this.recordFormat = recordFormat;
return this;
}
public java.util.List getRecordFormat() {
return this.recordFormat;
}
public static class CreateLiveRecordTemplateRequestRecordFormat extends TeaModel {
@NameInMap("CycleDuration")
public Integer cycleDuration;
/**
* 格式
*/
@NameInMap("Format")
public String format;
/**
* Oss对象名,不包含后缀
*/
@NameInMap("OssObjectPrefix")
public String ossObjectPrefix;
/**
* 切片时长
*/
@NameInMap("SliceDuration")
public Integer sliceDuration;
/**
* 切片Oss对象名,不包含后缀
*/
@NameInMap("SliceOssObjectPrefix")
public String sliceOssObjectPrefix;
public static CreateLiveRecordTemplateRequestRecordFormat build(java.util.Map map) throws Exception {
CreateLiveRecordTemplateRequestRecordFormat self = new CreateLiveRecordTemplateRequestRecordFormat();
return TeaModel.build(map, self);
}
public CreateLiveRecordTemplateRequestRecordFormat setCycleDuration(Integer cycleDuration) {
this.cycleDuration = cycleDuration;
return this;
}
public Integer getCycleDuration() {
return this.cycleDuration;
}
public CreateLiveRecordTemplateRequestRecordFormat setFormat(String format) {
this.format = format;
return this;
}
public String getFormat() {
return this.format;
}
public CreateLiveRecordTemplateRequestRecordFormat setOssObjectPrefix(String ossObjectPrefix) {
this.ossObjectPrefix = ossObjectPrefix;
return this;
}
public String getOssObjectPrefix() {
return this.ossObjectPrefix;
}
public CreateLiveRecordTemplateRequestRecordFormat setSliceDuration(Integer sliceDuration) {
this.sliceDuration = sliceDuration;
return this;
}
public Integer getSliceDuration() {
return this.sliceDuration;
}
public CreateLiveRecordTemplateRequestRecordFormat setSliceOssObjectPrefix(String sliceOssObjectPrefix) {
this.sliceOssObjectPrefix = sliceOssObjectPrefix;
return this;
}
public String getSliceOssObjectPrefix() {
return this.sliceOssObjectPrefix;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy