com.aliyun.dingtalkh3yun_1_0.models.LoadBizObjectsResponseBody 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 LoadBizObjectsResponseBody extends TeaModel {
/**
* This parameter is required.
*
* example:
* success
*/
@NameInMap("code")
public String code;
@NameInMap("data")
public LoadBizObjectsResponseBodyData data;
/**
* This parameter is required.
*
* example:
* OK
*/
@NameInMap("message")
public String message;
public static LoadBizObjectsResponseBody build(java.util.Map map) throws Exception {
LoadBizObjectsResponseBody self = new LoadBizObjectsResponseBody();
return TeaModel.build(map, self);
}
public LoadBizObjectsResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public LoadBizObjectsResponseBody setData(LoadBizObjectsResponseBodyData data) {
this.data = data;
return this;
}
public LoadBizObjectsResponseBodyData getData() {
return this.data;
}
public LoadBizObjectsResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public static class LoadBizObjectsResponseBodyData extends TeaModel {
@NameInMap("bizObjects")
public java.util.List> bizObjects;
/**
* example:
* 1
*/
@NameInMap("pageNumber")
public Integer pageNumber;
/**
* example:
* 10
*/
@NameInMap("pageSize")
public Integer pageSize;
/**
* example:
* 20
*/
@NameInMap("totalCount")
public Integer totalCount;
public static LoadBizObjectsResponseBodyData build(java.util.Map map) throws Exception {
LoadBizObjectsResponseBodyData self = new LoadBizObjectsResponseBodyData();
return TeaModel.build(map, self);
}
public LoadBizObjectsResponseBodyData setBizObjects(java.util.List> bizObjects) {
this.bizObjects = bizObjects;
return this;
}
public java.util.List> getBizObjects() {
return this.bizObjects;
}
public LoadBizObjectsResponseBodyData setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public LoadBizObjectsResponseBodyData setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public LoadBizObjectsResponseBodyData setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
}
}