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

com.larksuite.oapi.core.model.OapiRequest 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.model;

import java.util.List;
import java.util.Map;

public class OapiRequest {
    private final String uri;
    private final OapiHeader header;
    private Map> queryString;
    private String body;
    private String remoteAddress;

    public OapiRequest(String uri, OapiHeader header, String body) {
        this.uri = uri;
        this.header = header;
        this.body = body;
    }

    public OapiRequest(String uri, OapiHeader header, Map> queryString, String body) {
        this.uri = uri;
        this.header = header;
        this.queryString = queryString;
        this.body = body;
    }

    public OapiRequest(String uri, OapiHeader header, Map> queryString, String body, String remoteAddress) {
        this.uri = uri;
        this.header = header;
        this.queryString = queryString;
        this.body = body;
        this.remoteAddress = remoteAddress;
    }

    public String getUri() {
        return uri;
    }

    public OapiHeader getHeader() {
        return header;
    }

    public Map> getQueryString() {
        return queryString;
    }

    public void setQueryString(Map> queryString) {
        this.queryString = queryString;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getRemoteAddress() {
        return remoteAddress;
    }

    public void setRemoteAddress(String remoteAddress) {
        this.remoteAddress = remoteAddress;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy