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

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

There is a newer version: 2.1.67
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 BatchGetWorkspacesResponseBody extends TeaModel {
    @NameInMap("workspaces")
    public java.util.List workspaces;

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

    public BatchGetWorkspacesResponseBody setWorkspaces(java.util.List workspaces) {
        this.workspaces = workspaces;
        return this;
    }
    public java.util.List getWorkspaces() {
        return this.workspaces;
    }

    public static class BatchGetWorkspacesResponseBodyWorkspacesWorkspaceRecentList extends TeaModel {
        @NameInMap("lastEditTime")
        public String lastEditTime;

        @NameInMap("name")
        public String name;

        @NameInMap("nodeId")
        public String nodeId;

        @NameInMap("url")
        public String url;

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

        public BatchGetWorkspacesResponseBodyWorkspacesWorkspaceRecentList setLastEditTime(String lastEditTime) {
            this.lastEditTime = lastEditTime;
            return this;
        }
        public String getLastEditTime() {
            return this.lastEditTime;
        }

        public BatchGetWorkspacesResponseBodyWorkspacesWorkspaceRecentList setName(String name) {
            this.name = name;
            return this;
        }
        public String getName() {
            return this.name;
        }

        public BatchGetWorkspacesResponseBodyWorkspacesWorkspaceRecentList setNodeId(String nodeId) {
            this.nodeId = nodeId;
            return this;
        }
        public String getNodeId() {
            return this.nodeId;
        }

        public BatchGetWorkspacesResponseBodyWorkspacesWorkspaceRecentList setUrl(String url) {
            this.url = url;
            return this;
        }
        public String getUrl() {
            return this.url;
        }

    }

    public static class BatchGetWorkspacesResponseBodyWorkspacesWorkspace extends TeaModel {
        @NameInMap("createTime")
        public Long createTime;

        @NameInMap("name")
        public String name;

        @NameInMap("orgPublished")
        public Boolean orgPublished;

        @NameInMap("recentList")
        public java.util.List recentList;

        @NameInMap("url")
        public String url;

        @NameInMap("workspaceId")
        public String workspaceId;

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

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

        public BatchGetWorkspacesResponseBodyWorkspacesWorkspace setName(String name) {
            this.name = name;
            return this;
        }
        public String getName() {
            return this.name;
        }

        public BatchGetWorkspacesResponseBodyWorkspacesWorkspace setOrgPublished(Boolean orgPublished) {
            this.orgPublished = orgPublished;
            return this;
        }
        public Boolean getOrgPublished() {
            return this.orgPublished;
        }

        public BatchGetWorkspacesResponseBodyWorkspacesWorkspace setRecentList(java.util.List recentList) {
            this.recentList = recentList;
            return this;
        }
        public java.util.List getRecentList() {
            return this.recentList;
        }

        public BatchGetWorkspacesResponseBodyWorkspacesWorkspace setUrl(String url) {
            this.url = url;
            return this;
        }
        public String getUrl() {
            return this.url;
        }

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

    }

    public static class BatchGetWorkspacesResponseBodyWorkspaces extends TeaModel {
        /**
         * 

This parameter is required.

*/ @NameInMap("hasPermission") public Boolean hasPermission; @NameInMap("workspace") public BatchGetWorkspacesResponseBodyWorkspacesWorkspace workspace; public static BatchGetWorkspacesResponseBodyWorkspaces build(java.util.Map map) throws Exception { BatchGetWorkspacesResponseBodyWorkspaces self = new BatchGetWorkspacesResponseBodyWorkspaces(); return TeaModel.build(map, self); } public BatchGetWorkspacesResponseBodyWorkspaces setHasPermission(Boolean hasPermission) { this.hasPermission = hasPermission; return this; } public Boolean getHasPermission() { return this.hasPermission; } public BatchGetWorkspacesResponseBodyWorkspaces setWorkspace(BatchGetWorkspacesResponseBodyWorkspacesWorkspace workspace) { this.workspace = workspace; return this; } public BatchGetWorkspacesResponseBodyWorkspacesWorkspace getWorkspace() { return this.workspace; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy