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