com.hina.sdk.event.BodyAndJson Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of HinaCloudSDK Show documentation
Show all versions of HinaCloudSDK Show documentation
The official Java SDK of Hina Analytics
The newest version!
package com.hina.sdk.event;
public class BodyAndJson {
private String body;
private String json;
public String getBody() {
return body;
}
public void setBody(String body) {
this.body = body;
}
public String getJson() {
return json;
}
public void setJson(String json) {
this.json = json;
}
public static BodyAndJson getInstance(String body, String json) {
BodyAndJson bodyAndJson = new BodyAndJson();
bodyAndJson.setBody(body);
bodyAndJson.setJson(json);
return bodyAndJson;
}
}