com.dingtalk.api.response.OapiInactiveUserV2GetResponse Maven / Gradle / Ivy
The newest version!
package com.dingtalk.api.response;
import java.util.List;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
import com.taobao.api.TaobaoObject;
import com.taobao.api.TaobaoResponse;
/**
* TOP DingTalk-API: dingtalk.oapi.inactive.user.v2.get response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiInactiveUserV2GetResponse extends TaobaoResponse {
private static final long serialVersionUID = 6828467864328746289L;
/**
* 错误码
*/
@ApiField("errcode")
private Long errcode;
/**
* 错误描述
*/
@ApiField("errmsg")
private String errmsg;
/**
* 未活跃用户数据
*/
@ApiField("result")
private PageVo result;
public void setErrcode(Long errcode) {
this.errcode = errcode;
}
public Long getErrcode( ) {
return this.errcode;
}
public void setErrmsg(String errmsg) {
this.errmsg = errmsg;
}
public String getErrmsg( ) {
return this.errmsg;
}
public void setResult(PageVo result) {
this.result = result;
}
public PageVo getResult( ) {
return this.result;
}
public boolean isSuccess() {
return getErrcode() == null || getErrcode().equals(0L);
}
/**
* 未活跃用户数据
*
* @author top auto create
* @since 1.0, null
*/
public static class PageVo extends TaobaoObject {
private static final long serialVersionUID = 8799587972293172849L;
/**
* 是否有更多数据
*/
@ApiField("has_more")
private Boolean hasMore;
/**
* 用户列表
*/
@ApiListField("list")
@ApiField("string")
private List list;
/**
* 下一页的偏移量
*/
@ApiField("next_cursor")
private Long nextCursor;
public Boolean getHasMore() {
return this.hasMore;
}
public void setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
}
public List getList() {
return this.list;
}
public void setList(List list) {
this.list = list;
}
public Long getNextCursor() {
return this.nextCursor;
}
public void setNextCursor(Long nextCursor) {
this.nextCursor = nextCursor;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy