com.aliyun.dingtalkservice_group_1_0.models.AddOpenLibraryRequest 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.dingtalkservice_group_1_0.models;
import com.aliyun.tea.*;
public class AddOpenLibraryRequest extends TeaModel {
/**
* example:
* 这个是业务知识库
*
* if can be null:
* true
*/
@NameInMap("description")
public String description;
/**
* This parameter is required.
*
* example:
* Jxi12wo3qxoa
*
* if can be null:
* false
*/
@NameInMap("openTeamId")
public String openTeamId;
/**
* This parameter is required.
*
* example:
* XMD
*/
@NameInMap("source")
public String source;
/**
* This parameter is required.
*
* example:
* 测试库
*/
@NameInMap("title")
public String title;
/**
* This parameter is required.
*
* example:
* EXTERNAL
*/
@NameInMap("type")
public String type;
/**
* This parameter is required.
*
* example:
* 0159003451667222
*/
@NameInMap("userId")
public String userId;
/**
* This parameter is required.
*
* example:
* 钉三多
*/
@NameInMap("userName")
public String userName;
public static AddOpenLibraryRequest build(java.util.Map map) throws Exception {
AddOpenLibraryRequest self = new AddOpenLibraryRequest();
return TeaModel.build(map, self);
}
public AddOpenLibraryRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public AddOpenLibraryRequest setOpenTeamId(String openTeamId) {
this.openTeamId = openTeamId;
return this;
}
public String getOpenTeamId() {
return this.openTeamId;
}
public AddOpenLibraryRequest setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public AddOpenLibraryRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public AddOpenLibraryRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public AddOpenLibraryRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public AddOpenLibraryRequest setUserName(String userName) {
this.userName = userName;
return this;
}
public String getUserName() {
return this.userName;
}
}