com.dingtalk.api.response.OapiProcessinstanceCspaceInfoResponse 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.processinstance.cspace.info response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiProcessinstanceCspaceInfoResponse extends TaobaoResponse {
private static final long serialVersionUID = 3826533446585276456L;
/**
* 错误码
*/
@ApiField("errcode")
private Long errcode;
/**
* 错误信息
*/
@ApiField("errmsg")
private String errmsg;
/**
* 返回结果
*/
@ApiField("result")
private AppSpaceResponse 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(AppSpaceResponse result) {
this.result = result;
}
public AppSpaceResponse 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 AppSpaceResponse extends TaobaoObject {
private static final long serialVersionUID = 8574442946286123741L;
/**
* 钉盘空间id
*/
@ApiField("space_id")
private Long spaceId;
public Long getSpaceId() {
return this.spaceId;
}
public void setSpaceId(Long spaceId) {
this.spaceId = spaceId;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy