com.aliyun.dingtalkh3yun_1_0.models.LoadBizObjectsRequest 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.dingtalkh3yun_1_0.models;
import com.aliyun.tea.*;
public class LoadBizObjectsRequest extends TeaModel {
// json格式的动态条件过滤器参数
@NameInMap("matcherJson")
public String matcherJson;
// 分页页码
@NameInMap("pageNumber")
public Integer pageNumber;
// 分页页大小。限制在1~500
@NameInMap("pageSize")
public Integer pageSize;
// 返回的字段.仅支持传入主表的字段
@NameInMap("returnFields")
public java.util.List returnFields;
// 表单编码
@NameInMap("schemaCode")
public String schemaCode;
// 排序字段结构数组
@NameInMap("sortByFields")
public java.util.List sortByFields;
public static LoadBizObjectsRequest build(java.util.Map map) throws Exception {
LoadBizObjectsRequest self = new LoadBizObjectsRequest();
return TeaModel.build(map, self);
}
public LoadBizObjectsRequest setMatcherJson(String matcherJson) {
this.matcherJson = matcherJson;
return this;
}
public String getMatcherJson() {
return this.matcherJson;
}
public LoadBizObjectsRequest setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public LoadBizObjectsRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public LoadBizObjectsRequest setReturnFields(java.util.List returnFields) {
this.returnFields = returnFields;
return this;
}
public java.util.List getReturnFields() {
return this.returnFields;
}
public LoadBizObjectsRequest setSchemaCode(String schemaCode) {
this.schemaCode = schemaCode;
return this;
}
public String getSchemaCode() {
return this.schemaCode;
}
public LoadBizObjectsRequest setSortByFields(java.util.List sortByFields) {
this.sortByFields = sortByFields;
return this;
}
public java.util.List getSortByFields() {
return this.sortByFields;
}
public static class LoadBizObjectsRequestSortByFields extends TeaModel {
// 排序方向。Ascending=升序,Descending=降序
@NameInMap("direction")
public String direction;
// 排序字段名
@NameInMap("fieldName")
public String fieldName;
public static LoadBizObjectsRequestSortByFields build(java.util.Map map) throws Exception {
LoadBizObjectsRequestSortByFields self = new LoadBizObjectsRequestSortByFields();
return TeaModel.build(map, self);
}
public LoadBizObjectsRequestSortByFields setDirection(String direction) {
this.direction = direction;
return this;
}
public String getDirection() {
return this.direction;
}
public LoadBizObjectsRequestSortByFields setFieldName(String fieldName) {
this.fieldName = fieldName;
return this;
}
public String getFieldName() {
return this.fieldName;
}
}
}