com.aliyun.dingtalkdoc_1_0.models.GetWorkspaceNodeResponseBody 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 GetWorkspaceNodeResponseBody extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("hasPermission")
public Boolean hasPermission;
@NameInMap("nodeBO")
public GetWorkspaceNodeResponseBodyNodeBO nodeBO;
@NameInMap("workspaceBO")
public GetWorkspaceNodeResponseBodyWorkspaceBO workspaceBO;
public static GetWorkspaceNodeResponseBody build(java.util.Map map) throws Exception {
GetWorkspaceNodeResponseBody self = new GetWorkspaceNodeResponseBody();
return TeaModel.build(map, self);
}
public GetWorkspaceNodeResponseBody setHasPermission(Boolean hasPermission) {
this.hasPermission = hasPermission;
return this;
}
public Boolean getHasPermission() {
return this.hasPermission;
}
public GetWorkspaceNodeResponseBody setNodeBO(GetWorkspaceNodeResponseBodyNodeBO nodeBO) {
this.nodeBO = nodeBO;
return this;
}
public GetWorkspaceNodeResponseBodyNodeBO getNodeBO() {
return this.nodeBO;
}
public GetWorkspaceNodeResponseBody setWorkspaceBO(GetWorkspaceNodeResponseBodyWorkspaceBO workspaceBO) {
this.workspaceBO = workspaceBO;
return this;
}
public GetWorkspaceNodeResponseBodyWorkspaceBO getWorkspaceBO() {
return this.workspaceBO;
}
public static class GetWorkspaceNodeResponseBodyNodeBO extends TeaModel {
@NameInMap("docType")
public String docType;
@NameInMap("lastEditTime")
public Long lastEditTime;
@NameInMap("name")
public String name;
@NameInMap("nodeId")
public String nodeId;
@NameInMap("url")
public String url;
public static GetWorkspaceNodeResponseBodyNodeBO build(java.util.Map map) throws Exception {
GetWorkspaceNodeResponseBodyNodeBO self = new GetWorkspaceNodeResponseBodyNodeBO();
return TeaModel.build(map, self);
}
public GetWorkspaceNodeResponseBodyNodeBO setDocType(String docType) {
this.docType = docType;
return this;
}
public String getDocType() {
return this.docType;
}
public GetWorkspaceNodeResponseBodyNodeBO setLastEditTime(Long lastEditTime) {
this.lastEditTime = lastEditTime;
return this;
}
public Long getLastEditTime() {
return this.lastEditTime;
}
public GetWorkspaceNodeResponseBodyNodeBO setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetWorkspaceNodeResponseBodyNodeBO setNodeId(String nodeId) {
this.nodeId = nodeId;
return this;
}
public String getNodeId() {
return this.nodeId;
}
public GetWorkspaceNodeResponseBodyNodeBO setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
}
public static class GetWorkspaceNodeResponseBodyWorkspaceBO extends TeaModel {
@NameInMap("name")
public String name;
@NameInMap("workspaceId")
public String workspaceId;
public static GetWorkspaceNodeResponseBodyWorkspaceBO build(java.util.Map map) throws Exception {
GetWorkspaceNodeResponseBodyWorkspaceBO self = new GetWorkspaceNodeResponseBodyWorkspaceBO();
return TeaModel.build(map, self);
}
public GetWorkspaceNodeResponseBodyWorkspaceBO setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetWorkspaceNodeResponseBodyWorkspaceBO setWorkspaceId(String workspaceId) {
this.workspaceId = workspaceId;
return this;
}
public String getWorkspaceId() {
return this.workspaceId;
}
}
}