com.dingtalk.api.response.OapiAlitripBtripApprovalModifyResponse Maven / Gradle / Ivy
The newest version!
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.alitrip.btrip.approval.modify response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiAlitripBtripApprovalModifyResponse extends TaobaoResponse {
private static final long serialVersionUID = 8323745941586469724L;
/**
* 错误码
*/
@ApiField("errcode")
private Long errcode;
/**
* 错误信息
*/
@ApiField("errmsg")
private String errmsg;
/**
* 结果对象
*/
@ApiField("module")
private OpenApiNewApplyRs module;
/**
* 成功标识
*/
@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 setModule(OpenApiNewApplyRs module) {
this.module = module;
}
public OpenApiNewApplyRs getModule( ) {
return this.module;
}
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 OpenApiNewApplyRs extends TaobaoObject {
private static final long serialVersionUID = 5274593899431856211L;
/**
* 商旅申请单id
*/
@ApiField("apply_id")
private Long applyId;
/**
* 外部申请单id
*/
@ApiField("thirdpart_apply_id")
private String thirdpartApplyId;
public Long getApplyId() {
return this.applyId;
}
public void setApplyId(Long applyId) {
this.applyId = applyId;
}
public String getThirdpartApplyId() {
return this.thirdpartApplyId;
}
public void setThirdpartApplyId(String thirdpartApplyId) {
this.thirdpartApplyId = thirdpartApplyId;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy