com.aliyun.dingtalkservice_group_1_0.models.QueryInstancesByMultiConditionsRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkservice_group_1_0.models;
import com.aliyun.tea.*;
public class QueryInstancesByMultiConditionsRequest extends TeaModel {
// 表单CODE
@NameInMap("formCode")
public String formCode;
// 分页大小
@NameInMap("maxResults")
public Long maxResults;
// 游标位置
@NameInMap("nextToken")
public String nextToken;
// 开放团队ID
@NameInMap("openTeamId")
public String openTeamId;
// 检索条件
@NameInMap("searchFields")
public String searchFields;
// 排序条件
@NameInMap("sortFields")
public java.util.List sortFields;
public static QueryInstancesByMultiConditionsRequest build(java.util.Map map) throws Exception {
QueryInstancesByMultiConditionsRequest self = new QueryInstancesByMultiConditionsRequest();
return TeaModel.build(map, self);
}
public QueryInstancesByMultiConditionsRequest setFormCode(String formCode) {
this.formCode = formCode;
return this;
}
public String getFormCode() {
return this.formCode;
}
public QueryInstancesByMultiConditionsRequest setMaxResults(Long maxResults) {
this.maxResults = maxResults;
return this;
}
public Long getMaxResults() {
return this.maxResults;
}
public QueryInstancesByMultiConditionsRequest setNextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
public String getNextToken() {
return this.nextToken;
}
public QueryInstancesByMultiConditionsRequest setOpenTeamId(String openTeamId) {
this.openTeamId = openTeamId;
return this;
}
public String getOpenTeamId() {
return this.openTeamId;
}
public QueryInstancesByMultiConditionsRequest setSearchFields(String searchFields) {
this.searchFields = searchFields;
return this;
}
public String getSearchFields() {
return this.searchFields;
}
public QueryInstancesByMultiConditionsRequest setSortFields(java.util.List sortFields) {
this.sortFields = sortFields;
return this;
}
public java.util.List getSortFields() {
return this.sortFields;
}
public static class QueryInstancesByMultiConditionsRequestSortFields extends TeaModel {
// 排序字段
@NameInMap("fieldCode")
public String fieldCode;
// 排序方式
@NameInMap("sortBy")
public String sortBy;
public static QueryInstancesByMultiConditionsRequestSortFields build(java.util.Map map) throws Exception {
QueryInstancesByMultiConditionsRequestSortFields self = new QueryInstancesByMultiConditionsRequestSortFields();
return TeaModel.build(map, self);
}
public QueryInstancesByMultiConditionsRequestSortFields setFieldCode(String fieldCode) {
this.fieldCode = fieldCode;
return this;
}
public String getFieldCode() {
return this.fieldCode;
}
public QueryInstancesByMultiConditionsRequestSortFields setSortBy(String sortBy) {
this.sortBy = sortBy;
return this;
}
public String getSortBy() {
return this.sortBy;
}
}
}