com.larksuite.oapi.core.api.DefaultReqCall Maven / Gradle / Ivy
package com.larksuite.oapi.core.api;
import com.larksuite.oapi.core.Config;
import com.larksuite.oapi.core.api.request.Request;
import com.larksuite.oapi.core.api.response.Response;
public class DefaultReqCall extends ReqCaller {
private final Config config;
private final Request request;
public DefaultReqCall(Config config, Request request) {
this.config = config;
this.request = request;
}
@Override
public Response execute() throws Exception {
return Api.send(this.getConfig(), this.getRequest());
}
public Config getConfig() {
return config;
}
public Request getRequest() {
return request;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy