com.aliyun.dingtalkdoc_1_0.models.GetRelatedWorkspacesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkdoc_1_0.models;
import com.aliyun.tea.*;
public class GetRelatedWorkspacesResponseBody extends TeaModel {
// 团队空间结果集
@NameInMap("workspaces")
public java.util.List workspaces;
public static GetRelatedWorkspacesResponseBody build(java.util.Map map) throws Exception {
GetRelatedWorkspacesResponseBody self = new GetRelatedWorkspacesResponseBody();
return TeaModel.build(map, self);
}
public GetRelatedWorkspacesResponseBody setWorkspaces(java.util.List workspaces) {
this.workspaces = workspaces;
return this;
}
public java.util.List getWorkspaces() {
return this.workspaces;
}
public static class GetRelatedWorkspacesResponseBodyWorkspacesRecentList extends TeaModel {
// 文档最后编辑时间
@NameInMap("lastEditTime")
public Long lastEditTime;
// 文档名称
@NameInMap("name")
public String name;
// 文档id
@NameInMap("nodeId")
public String nodeId;
// 文档打开url
@NameInMap("url")
public String url;
public static GetRelatedWorkspacesResponseBodyWorkspacesRecentList build(java.util.Map map) throws Exception {
GetRelatedWorkspacesResponseBodyWorkspacesRecentList self = new GetRelatedWorkspacesResponseBodyWorkspacesRecentList();
return TeaModel.build(map, self);
}
public GetRelatedWorkspacesResponseBodyWorkspacesRecentList setLastEditTime(Long lastEditTime) {
this.lastEditTime = lastEditTime;
return this;
}
public Long getLastEditTime() {
return this.lastEditTime;
}
public GetRelatedWorkspacesResponseBodyWorkspacesRecentList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetRelatedWorkspacesResponseBodyWorkspacesRecentList setNodeId(String nodeId) {
this.nodeId = nodeId;
return this;
}
public String getNodeId() {
return this.nodeId;
}
public GetRelatedWorkspacesResponseBodyWorkspacesRecentList setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
}
public static class GetRelatedWorkspacesResponseBodyWorkspaces extends TeaModel {
// 团队空间创建时间
@NameInMap("createTime")
public Long createTime;
// 团队空间是否被删除
@NameInMap("deleted")
public Boolean deleted;
// 团队空间名称
@NameInMap("name")
public String name;
@NameInMap("owner")
public String owner;
// 团队空间最近访问文档列表
@NameInMap("recentList")
public java.util.List recentList;
// 用户的角色
@NameInMap("role")
public String role;
// 团队空间打开url
@NameInMap("url")
public String url;
// 团队空间Id
@NameInMap("workspaceId")
public String workspaceId;
public static GetRelatedWorkspacesResponseBodyWorkspaces build(java.util.Map map) throws Exception {
GetRelatedWorkspacesResponseBodyWorkspaces self = new GetRelatedWorkspacesResponseBodyWorkspaces();
return TeaModel.build(map, self);
}
public GetRelatedWorkspacesResponseBodyWorkspaces setCreateTime(Long createTime) {
this.createTime = createTime;
return this;
}
public Long getCreateTime() {
return this.createTime;
}
public GetRelatedWorkspacesResponseBodyWorkspaces setDeleted(Boolean deleted) {
this.deleted = deleted;
return this;
}
public Boolean getDeleted() {
return this.deleted;
}
public GetRelatedWorkspacesResponseBodyWorkspaces setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetRelatedWorkspacesResponseBodyWorkspaces setOwner(String owner) {
this.owner = owner;
return this;
}
public String getOwner() {
return this.owner;
}
public GetRelatedWorkspacesResponseBodyWorkspaces setRecentList(java.util.List recentList) {
this.recentList = recentList;
return this;
}
public java.util.List getRecentList() {
return this.recentList;
}
public GetRelatedWorkspacesResponseBodyWorkspaces setRole(String role) {
this.role = role;
return this;
}
public String getRole() {
return this.role;
}
public GetRelatedWorkspacesResponseBodyWorkspaces setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
public GetRelatedWorkspacesResponseBodyWorkspaces setWorkspaceId(String workspaceId) {
this.workspaceId = workspaceId;
return this;
}
public String getWorkspaceId() {
return this.workspaceId;
}
}
}