com.aliyun.dingtalkvillage_1_0.models.ListSubCorpsRequest 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 ListSubCorpsRequest extends TeaModel {
// 是否查询直接下级
@NameInMap("isOnlyDirect")
public Boolean isOnlyDirect;
// 下属组织的组织ID,比如下属镇、村的corpId
@NameInMap("subCorpId")
public String subCorpId;
// 下级指定组织层级列表,组织层级为county,town,community,residential,依次为区/县、乡/镇/街道、社区/村、小区,如果查多个用 '|' 分隔
@NameInMap("types")
public String types;
public static ListSubCorpsRequest build(java.util.Map map) throws Exception {
ListSubCorpsRequest self = new ListSubCorpsRequest();
return TeaModel.build(map, self);
}
public ListSubCorpsRequest setIsOnlyDirect(Boolean isOnlyDirect) {
this.isOnlyDirect = isOnlyDirect;
return this;
}
public Boolean getIsOnlyDirect() {
return this.isOnlyDirect;
}
public ListSubCorpsRequest setSubCorpId(String subCorpId) {
this.subCorpId = subCorpId;
return this;
}
public String getSubCorpId() {
return this.subCorpId;
}
public ListSubCorpsRequest setTypes(String types) {
this.types = types;
return this;
}
public String getTypes() {
return this.types;
}
}