
com.aliyun.ice20201109.models.ListLiveSnapshotTemplatesResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class ListLiveSnapshotTemplatesResponseBody extends TeaModel {
/**
* The number of the returned page.
*
* example:
* 1
*/
@NameInMap("PageNo")
public Integer pageNo;
/**
* The number of entries per page.
*
* example:
* 10
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The request ID.
*
* example:
* 11-DB8D-4A9A-875B-275798
*/
@NameInMap("RequestId")
public String requestId;
/**
* The sorting order of the results by creation time.
*
* example:
* desc
*/
@NameInMap("SortBy")
public String sortBy;
/**
* The list of the templates.
*/
@NameInMap("TemplateList")
public java.util.List templateList;
/**
* The total number of entries returned.
*
* example:
* 100
*/
@NameInMap("TotalCount")
public Long totalCount;
public static ListLiveSnapshotTemplatesResponseBody build(java.util.Map map) throws Exception {
ListLiveSnapshotTemplatesResponseBody self = new ListLiveSnapshotTemplatesResponseBody();
return TeaModel.build(map, self);
}
public ListLiveSnapshotTemplatesResponseBody setPageNo(Integer pageNo) {
this.pageNo = pageNo;
return this;
}
public Integer getPageNo() {
return this.pageNo;
}
public ListLiveSnapshotTemplatesResponseBody setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public ListLiveSnapshotTemplatesResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public ListLiveSnapshotTemplatesResponseBody setSortBy(String sortBy) {
this.sortBy = sortBy;
return this;
}
public String getSortBy() {
return this.sortBy;
}
public ListLiveSnapshotTemplatesResponseBody setTemplateList(java.util.List templateList) {
this.templateList = templateList;
return this;
}
public java.util.List getTemplateList() {
return this.templateList;
}
public ListLiveSnapshotTemplatesResponseBody setTotalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public Long getTotalCount() {
return this.totalCount;
}
public static class ListLiveSnapshotTemplatesResponseBodyTemplateList extends TeaModel {
/**
* The time when the job was created.
*
* example:
* 2022-07-20T02:48:58Z
*/
@NameInMap("CreateTime")
public String createTime;
/**
* The template ID.
*
* example:
* a046-263c-3560-978a-fb287782
*/
@NameInMap("TemplateId")
public String templateId;
/**
* The template name.
*/
@NameInMap("TemplateName")
public String templateName;
/**
* The interval between two adjacent snapshots. Unit: seconds.
*
* example:
* 10
*/
@NameInMap("TimeInterval")
public Integer timeInterval;
/**
* The type of the template.
* Valid values:
*
* - system
* - custom
*
*
* example:
* custom
*/
@NameInMap("Type")
public String type;
public static ListLiveSnapshotTemplatesResponseBodyTemplateList build(java.util.Map map) throws Exception {
ListLiveSnapshotTemplatesResponseBodyTemplateList self = new ListLiveSnapshotTemplatesResponseBodyTemplateList();
return TeaModel.build(map, self);
}
public ListLiveSnapshotTemplatesResponseBodyTemplateList setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public ListLiveSnapshotTemplatesResponseBodyTemplateList setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public ListLiveSnapshotTemplatesResponseBodyTemplateList setTemplateName(String templateName) {
this.templateName = templateName;
return this;
}
public String getTemplateName() {
return this.templateName;
}
public ListLiveSnapshotTemplatesResponseBodyTemplateList setTimeInterval(Integer timeInterval) {
this.timeInterval = timeInterval;
return this;
}
public Integer getTimeInterval() {
return this.timeInterval;
}
public ListLiveSnapshotTemplatesResponseBodyTemplateList setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy