com.aliyun.dingtalkservice_group_1_0.models.AddOpenLibraryResponseBody 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 AddOpenLibraryResponseBody extends TeaModel {
// 返回结果
@NameInMap("result")
public AddOpenLibraryResponseBodyResult result;
// 请求是否成功
@NameInMap("success")
public Boolean success;
public static AddOpenLibraryResponseBody build(java.util.Map map) throws Exception {
AddOpenLibraryResponseBody self = new AddOpenLibraryResponseBody();
return TeaModel.build(map, self);
}
public AddOpenLibraryResponseBody setResult(AddOpenLibraryResponseBodyResult result) {
this.result = result;
return this;
}
public AddOpenLibraryResponseBodyResult getResult() {
return this.result;
}
public AddOpenLibraryResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class AddOpenLibraryResponseBodyResult extends TeaModel {
// 知识库ID
@NameInMap("id")
public Long id;
// 失败时错误消息
@NameInMap("message")
public String message;
// 添加/修改知识库是否成功
@NameInMap("success")
public Boolean success;
public static AddOpenLibraryResponseBodyResult build(java.util.Map map) throws Exception {
AddOpenLibraryResponseBodyResult self = new AddOpenLibraryResponseBodyResult();
return TeaModel.build(map, self);
}
public AddOpenLibraryResponseBodyResult setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public AddOpenLibraryResponseBodyResult setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public AddOpenLibraryResponseBodyResult setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
}