
com.aliyun.dingtalkdoc_2_0.models.CreateSpaceRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkdoc_2_0.models;
import com.aliyun.tea.*;
public class CreateSpaceRequest extends TeaModel {
/**
* example:
* 这里是知识库的简介
*/
@NameInMap("description")
public String description;
/**
* example:
* https://img.alicdn.com/imgextra/i1/O1***.png
*/
@NameInMap("icon")
public String icon;
/**
* This parameter is required.
*
* example:
* 测试知识库
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* YEp3JcM******UIbhwiE
*/
@NameInMap("operatorId")
public String operatorId;
/**
* example:
* l6gYG9****mo9Z
*/
@NameInMap("sectionId")
public String sectionId;
/**
* This parameter is required.
*/
@NameInMap("shareScope")
public CreateSpaceRequestShareScope shareScope;
/**
* example:
* 5YRB***GDAr
*/
@NameInMap("teamId")
public String teamId;
public static CreateSpaceRequest build(java.util.Map map) throws Exception {
CreateSpaceRequest self = new CreateSpaceRequest();
return TeaModel.build(map, self);
}
public CreateSpaceRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public CreateSpaceRequest setIcon(String icon) {
this.icon = icon;
return this;
}
public String getIcon() {
return this.icon;
}
public CreateSpaceRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CreateSpaceRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public CreateSpaceRequest setSectionId(String sectionId) {
this.sectionId = sectionId;
return this;
}
public String getSectionId() {
return this.sectionId;
}
public CreateSpaceRequest setShareScope(CreateSpaceRequestShareScope shareScope) {
this.shareScope = shareScope;
return this;
}
public CreateSpaceRequestShareScope getShareScope() {
return this.shareScope;
}
public CreateSpaceRequest setTeamId(String teamId) {
this.teamId = teamId;
return this;
}
public String getTeamId() {
return this.teamId;
}
public static class CreateSpaceRequestShareScope extends TeaModel {
/**
* This parameter is required.
*
* example:
* 0
*/
@NameInMap("scope")
public Integer scope;
public static CreateSpaceRequestShareScope build(java.util.Map map) throws Exception {
CreateSpaceRequestShareScope self = new CreateSpaceRequestShareScope();
return TeaModel.build(map, self);
}
public CreateSpaceRequestShareScope setScope(Integer scope) {
this.scope = scope;
return this;
}
public Integer getScope() {
return this.scope;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy