com.dingtalk.api.response.OapiAttendanceApproveCancelResponse Maven / Gradle / Ivy
The newest version!
package com.dingtalk.api.response;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoResponse;
/**
* TOP DingTalk-API: dingtalk.oapi.attendance.approve.cancel response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiAttendanceApproveCancelResponse extends TaobaoResponse {
private static final long serialVersionUID = 3519558535972238498L;
/**
* 0代表成功,其他代表失败
*/
@ApiField("errcode")
private Long errcode;
/**
* 错误信息
*/
@ApiField("errmsg")
private String errmsg;
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 boolean isSuccess() {
return getErrcode() == null || getErrcode().equals(0L);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy