com.aliyun.dingtalkvillage_1_0.models.ListSubDeptResponseBody 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.dingtalkvillage_1_0.models;
import com.aliyun.tea.*;
public class ListSubDeptResponseBody extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("result")
public java.util.List result;
public static ListSubDeptResponseBody build(java.util.Map map) throws Exception {
ListSubDeptResponseBody self = new ListSubDeptResponseBody();
return TeaModel.build(map, self);
}
public ListSubDeptResponseBody setResult(java.util.List result) {
this.result = result;
return this;
}
public java.util.List getResult() {
return this.result;
}
public static class ListSubDeptResponseBodyResult extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("departmentId")
public Long departmentId;
/**
* This parameter is required.
*/
@NameInMap("name")
public String name;
public static ListSubDeptResponseBodyResult build(java.util.Map map) throws Exception {
ListSubDeptResponseBodyResult self = new ListSubDeptResponseBodyResult();
return TeaModel.build(map, self);
}
public ListSubDeptResponseBodyResult setDepartmentId(Long departmentId) {
this.departmentId = departmentId;
return this;
}
public Long getDepartmentId() {
return this.departmentId;
}
public ListSubDeptResponseBodyResult setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
}