com.aliyun.dingtalkedu_1_0.models.CreateCustomDeptResponseBody 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.dingtalkedu_1_0.models;
import com.aliyun.tea.*;
public class CreateCustomDeptResponseBody extends TeaModel {
// result
@NameInMap("result")
public CreateCustomDeptResponseBodyResult result;
// success
@NameInMap("success")
public Boolean success;
public static CreateCustomDeptResponseBody build(java.util.Map map) throws Exception {
CreateCustomDeptResponseBody self = new CreateCustomDeptResponseBody();
return TeaModel.build(map, self);
}
public CreateCustomDeptResponseBody setResult(CreateCustomDeptResponseBodyResult result) {
this.result = result;
return this;
}
public CreateCustomDeptResponseBodyResult getResult() {
return this.result;
}
public CreateCustomDeptResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class CreateCustomDeptResponseBodyResult extends TeaModel {
// 部门ID
@NameInMap("deptId")
public Long deptId;
public static CreateCustomDeptResponseBodyResult build(java.util.Map map) throws Exception {
CreateCustomDeptResponseBodyResult self = new CreateCustomDeptResponseBodyResult();
return TeaModel.build(map, self);
}
public CreateCustomDeptResponseBodyResult setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
}
}