All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkdoc_1_0.models.ListTemplateResponseBody Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkdoc_1_0.models;

import com.aliyun.tea.*;

public class ListTemplateResponseBody extends TeaModel {
    // 是否还有更多模版
    @NameInMap("hasMore")
    public Boolean hasMore;

    // 后续结果的偏移
    @NameInMap("nextToken")
    public String nextToken;

    // 模版信息列表
    @NameInMap("templateList")
    public java.util.List templateList;

    public static ListTemplateResponseBody build(java.util.Map map) throws Exception {
        ListTemplateResponseBody self = new ListTemplateResponseBody();
        return TeaModel.build(map, self);
    }

    public ListTemplateResponseBody setHasMore(Boolean hasMore) {
        this.hasMore = hasMore;
        return this;
    }
    public Boolean getHasMore() {
        return this.hasMore;
    }

    public ListTemplateResponseBody setNextToken(String nextToken) {
        this.nextToken = nextToken;
        return this;
    }
    public String getNextToken() {
        return this.nextToken;
    }

    public ListTemplateResponseBody setTemplateList(java.util.List templateList) {
        this.templateList = templateList;
        return this;
    }
    public java.util.List getTemplateList() {
        return this.templateList;
    }

    public static class ListTemplateResponseBodyTemplateList extends TeaModel {
        // 模版预览url
        @NameInMap("coverUrl")
        public String coverUrl;

        // 模版创建时间
        @NameInMap("createTime")
        public Long createTime;

        // 模版对应文档类型
        @NameInMap("docType")
        public String docType;

        // 模版Id
        @NameInMap("id")
        public String id;

        // 模版类型
        @NameInMap("templateType")
        public String templateType;

        // 模版标题
        @NameInMap("title")
        public String title;

        // 模版修改时间
        @NameInMap("updateTime")
        public Long updateTime;

        // 模版归属空间Id
        @NameInMap("workspaceId")
        public String workspaceId;

        public static ListTemplateResponseBodyTemplateList build(java.util.Map map) throws Exception {
            ListTemplateResponseBodyTemplateList self = new ListTemplateResponseBodyTemplateList();
            return TeaModel.build(map, self);
        }

        public ListTemplateResponseBodyTemplateList setCoverUrl(String coverUrl) {
            this.coverUrl = coverUrl;
            return this;
        }
        public String getCoverUrl() {
            return this.coverUrl;
        }

        public ListTemplateResponseBodyTemplateList setCreateTime(Long createTime) {
            this.createTime = createTime;
            return this;
        }
        public Long getCreateTime() {
            return this.createTime;
        }

        public ListTemplateResponseBodyTemplateList setDocType(String docType) {
            this.docType = docType;
            return this;
        }
        public String getDocType() {
            return this.docType;
        }

        public ListTemplateResponseBodyTemplateList setId(String id) {
            this.id = id;
            return this;
        }
        public String getId() {
            return this.id;
        }

        public ListTemplateResponseBodyTemplateList setTemplateType(String templateType) {
            this.templateType = templateType;
            return this;
        }
        public String getTemplateType() {
            return this.templateType;
        }

        public ListTemplateResponseBodyTemplateList setTitle(String title) {
            this.title = title;
            return this;
        }
        public String getTitle() {
            return this.title;
        }

        public ListTemplateResponseBodyTemplateList setUpdateTime(Long updateTime) {
            this.updateTime = updateTime;
            return this;
        }
        public Long getUpdateTime() {
            return this.updateTime;
        }

        public ListTemplateResponseBodyTemplateList setWorkspaceId(String workspaceId) {
            this.workspaceId = workspaceId;
            return this;
        }
        public String getWorkspaceId() {
            return this.workspaceId;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy