com.aliyun.dingtalkcontact_1_0.models.SearchDepartmentRequest 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.dingtalkcontact_1_0.models;
import com.aliyun.tea.*;
public class SearchDepartmentRequest extends TeaModel {
// 分页查询锚点
@NameInMap("offset")
public Integer offset;
// 部门名称或者部门名称拼音
@NameInMap("queryWord")
public String queryWord;
// 分页长度
@NameInMap("size")
public Integer size;
public static SearchDepartmentRequest build(java.util.Map map) throws Exception {
SearchDepartmentRequest self = new SearchDepartmentRequest();
return TeaModel.build(map, self);
}
public SearchDepartmentRequest setOffset(Integer offset) {
this.offset = offset;
return this;
}
public Integer getOffset() {
return this.offset;
}
public SearchDepartmentRequest setQueryWord(String queryWord) {
this.queryWord = queryWord;
return this;
}
public String getQueryWord() {
return this.queryWord;
}
public SearchDepartmentRequest setSize(Integer size) {
this.size = size;
return this;
}
public Integer getSize() {
return this.size;
}
}