com.aliyun.dingtalkservice_group_1_0.models.AddLibraryRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkservice_group_1_0.models;
import com.aliyun.tea.*;
public class AddLibraryRequest extends TeaModel {
// 知识库描述
@NameInMap("description")
public String description;
// 团队id列表
@NameInMap("openTeamIds")
public java.util.List openTeamIds;
// 知识来源
@NameInMap("source")
public String source;
// 知识库的唯一性标识
@NameInMap("sourcePrimaryKey")
public String sourcePrimaryKey;
// 知识库名称
@NameInMap("title")
public String title;
// 知识库类型 INTERNAL:内部知识库 EXTERNAL:外部知识库
@NameInMap("type")
public String type;
// 员工ID
@NameInMap("userId")
public String userId;
public static AddLibraryRequest build(java.util.Map map) throws Exception {
AddLibraryRequest self = new AddLibraryRequest();
return TeaModel.build(map, self);
}
public AddLibraryRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public AddLibraryRequest setOpenTeamIds(java.util.List openTeamIds) {
this.openTeamIds = openTeamIds;
return this;
}
public java.util.List getOpenTeamIds() {
return this.openTeamIds;
}
public AddLibraryRequest setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public AddLibraryRequest setSourcePrimaryKey(String sourcePrimaryKey) {
this.sourcePrimaryKey = sourcePrimaryKey;
return this;
}
public String getSourcePrimaryKey() {
return this.sourcePrimaryKey;
}
public AddLibraryRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public AddLibraryRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public AddLibraryRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}