com.dingtalk.api.response.OapiFinanceLoanNotifyLendResponse Maven / Gradle / Ivy
package com.dingtalk.api.response;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;
import com.taobao.api.TaobaoResponse;
/**
* TOP DingTalk-API: dingtalk.oapi.finance.loan.notify.lend response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiFinanceLoanNotifyLendResponse extends TaobaoResponse {
private static final long serialVersionUID = 7641488191949619189L;
/**
* 错误码
*/
@ApiField("errcode")
private Long errcode;
/**
* 错误信息
*/
@ApiField("errmsg")
private String errmsg;
/**
* 结果模型
*/
@ApiField("result")
private OpenCommonResult result;
/**
* true 成功,false 异常
*/
@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(OpenCommonResult result) {
this.result = result;
}
public OpenCommonResult 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 OpenCommonResult extends TaobaoObject {
private static final long serialVersionUID = 3534457726613345337L;
/**
* 结果:Y 成功, N 失败
*/
@ApiField("result")
private String result;
public String getResult() {
return this.result;
}
public void setResult(String result) {
this.result = result;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy