com.larksuite.oapi.core.api.ReqCallResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of larksuite-oapi Show documentation
Show all versions of larksuite-oapi Show documentation
Larksuite open platform facilitates the integration of enterprise applications and larksuite, making
collaboration and management more efficient
package com.larksuite.oapi.core.api;
import com.larksuite.oapi.core.api.response.Response;
public class ReqCallResult {
private final ReqCaller reqCaller;
private final Response response;
private final Exception exception;
public ReqCallResult(ReqCaller reqCaller) {
this.reqCaller = reqCaller;
this.response = reqCaller.getResponse();
this.exception = reqCaller.getException();
}
public ReqCaller getReqCaller() {
return reqCaller;
}
public Response getResponse() {
return response;
}
public Exception getException() {
return exception;
}
}