com.aliyun.dingtalkservice_group_1_0.models.AddLibraryRequest 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
The newest version!
// 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 {
/**
* example:
* 测试库描述
*/
@NameInMap("description")
public String description;
@NameInMap("openTeamIds")
public java.util.List openTeamIds;
/**
* example:
* CCM
*/
@NameInMap("source")
public String source;
/**
* example:
* CCM-123
*/
@NameInMap("sourcePrimaryKey")
public String sourcePrimaryKey;
/**
* example:
* 测试库
*/
@NameInMap("title")
public String title;
/**
* example:
* EXTERNAL
*/
@NameInMap("type")
public String type;
/**
* example:
* manager123
*/
@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;
}
}