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 {
/**
* example:
* { "Type": "Item", "Name": "F0000010", "Operator": 2, "Value": "0000007" }
*/
@NameInMap("matcherJson")
public String matcherJson;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("pageNumber")
public Integer pageNumber;
/**
* This parameter is required.
*
* example:
* 10
*/
@NameInMap("pageSize")
public Integer pageSize;
@NameInMap("returnFields")
public java.util.List returnFields;
/**
* This parameter is required.
*
* example:
* D0001839bbbbe346bbf496498bb76c44c7eb972
*/
@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 {
/**
* example:
* Ascending
*/
@NameInMap("direction")
public String direction;
/**
* example:
* Age
*/
@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;
}
}
}