com.siftscience.model.EventResponseBody Maven / Gradle / Ivy
package com.siftscience.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class EventResponseBody extends BaseResponseBody {
public static EventResponseBody fromJson(String json) {
return gson.fromJson(json, EventResponseBody.class);
}
@Expose @SerializedName("request") private String request;
@Expose @SerializedName("time") private Integer time;
@Expose @SerializedName("score_response") private ScoreResponse scoreResponse;
public String getRequest() {
return request;
}
public EventResponseBody setRequest(String request) {
this.request = request;
return this;
}
public Integer getTime() {
return time;
}
public EventResponseBody setTime(Integer time) {
this.time = time;
return this;
}
public ScoreResponse getScoreResponse() {
return scoreResponse;
}
public EventResponseBody setScoreResponse(ScoreResponse scoreResponse) {
this.scoreResponse = scoreResponse;
return this;
}
}