com.dingtalk.api.response.OapiSmartworkHrmEmployeeOnjoblistQueryResponse 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.smartwork.hrm.employee.onjoblist.query response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiSmartworkHrmEmployeeOnjoblistQueryResponse extends TaobaoResponse {
private static final long serialVersionUID = 3346252453514332972L;
/**
* 错误码
*/
@ApiField("errcode")
private Long errcode;
/**
* 错误信息
*/
@ApiField("errmsg")
private String errmsg;
/**
* 分页结果
*/
@ApiField("result")
private PageResult result;
/**
* 调用结果
*/
@ApiField("success")
private Boolean success;
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(PageResult result) {
this.result = result;
}
public PageResult getResult( ) {
return this.result;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Boolean getSuccess( ) {
return this.success;
}
public boolean isSuccess() {
return getErrcode() == null || getErrcode().equals(0L);
}
/**
* 分页结果
*
* @author top auto create
* @since 1.0, null
*/
public static class PageResult extends TaobaoObject {
private static final long serialVersionUID = 5642354987437178312L;
/**
* 数据结果列表
*/
@ApiListField("data_list")
@ApiField("string")
private List dataList;
/**
* 表示是否还有更多的数据
*/
@ApiField("has_more")
private Boolean hasMore;
/**
* 表示下一次分页的游标,如果next_corsor为null或者has_more为false,表示没有更多的分页数据
*/
@ApiField("next_cursor")
private Long nextCursor;
public List getDataList() {
return this.dataList;
}
public void setDataList(List dataList) {
this.dataList = dataList;
}
public Boolean getHasMore() {
return this.hasMore;
}
public void setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
}
public Long getNextCursor() {
return this.nextCursor;
}
public void setNextCursor(Long nextCursor) {
this.nextCursor = nextCursor;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy