com.lark.oapi.ws.model.Response Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oapi-sdk Show documentation
Show all versions of oapi-sdk Show documentation
Larksuite open platform facilitates the integration of enterprise applications and
larksuite, making
collaboration and management more efficient
The newest version!
package com.lark.oapi.ws.model;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.JsonAdapter;
import com.lark.oapi.core.utils.Base64TypeAdapterFactory;
import java.util.Map;
public class Response {
@SerializedName("code")
private int statusCode;
@SerializedName("headers")
private Map headers;
@SerializedName("data")
@JsonAdapter(Base64TypeAdapterFactory.class)
private byte[] data;
public Response() {
}
public Response(int statusCode) {
this.statusCode = statusCode;
}
public int getStatusCode() {
return statusCode;
}
public void setStatusCode(int statusCode) {
this.statusCode = statusCode;
}
public Map getHeaders() {
return headers;
}
public void setHeaders(Map headers) {
this.headers = headers;
}
public byte[] getData() {
return data;
}
public void setData(byte[] data) {
this.data = data;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy