All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.larksuite.oapi.core.api.DefaultReqCall Maven / Gradle / Ivy

Go to download

Larksuite open platform facilitates the integration of enterprise applications and larksuite, making collaboration and management more efficient

There is a newer version: 1.0.18-rc8
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy