com.aliyun.dingtalkcustomer_service_1_0.models.PageListRobotResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkcustomer_service_1_0.models;
import com.aliyun.tea.*;
public class PageListRobotResponseBody extends TeaModel {
// 是否有更多结果
@NameInMap("hasMore")
public Boolean hasMore;
// 查询结果列表
@NameInMap("list")
public java.util.List list;
// 下一次查询起始游标
@NameInMap("nextCursor")
public Long nextCursor;
// 查询结果总数
@NameInMap("total")
public Long total;
public static PageListRobotResponseBody build(java.util.Map map) throws Exception {
PageListRobotResponseBody self = new PageListRobotResponseBody();
return TeaModel.build(map, self);
}
public PageListRobotResponseBody setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
return this;
}
public Boolean getHasMore() {
return this.hasMore;
}
public PageListRobotResponseBody setList(java.util.List list) {
this.list = list;
return this;
}
public java.util.List getList() {
return this.list;
}
public PageListRobotResponseBody setNextCursor(Long nextCursor) {
this.nextCursor = nextCursor;
return this;
}
public Long getNextCursor() {
return this.nextCursor;
}
public PageListRobotResponseBody setTotal(Long total) {
this.total = total;
return this;
}
public Long getTotal() {
return this.total;
}
public static class PageListRobotResponseBodyList extends TeaModel {
// 机器人所在租户ID
@NameInMap("accountId")
public Long accountId;
// 机器人APPKEY
@NameInMap("appKey")
public String appKey;
// 机器人自增Id
@NameInMap("id")
public Long id;
// 机器人名称
@NameInMap("name")
public String name;
// 机器人状态
@NameInMap("status")
public Integer status;
public static PageListRobotResponseBodyList build(java.util.Map map) throws Exception {
PageListRobotResponseBodyList self = new PageListRobotResponseBodyList();
return TeaModel.build(map, self);
}
public PageListRobotResponseBodyList setAccountId(Long accountId) {
this.accountId = accountId;
return this;
}
public Long getAccountId() {
return this.accountId;
}
public PageListRobotResponseBodyList setAppKey(String appKey) {
this.appKey = appKey;
return this;
}
public String getAppKey() {
return this.appKey;
}
public PageListRobotResponseBodyList setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public PageListRobotResponseBodyList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public PageListRobotResponseBodyList setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
}
}