com.siftscience.model.ScoreResponseBody Maven / Gradle / Ivy
package com.siftscience.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.Map;
public class ScoreResponseBody extends BaseResponseBody {
public static ScoreResponseBody fromJson(String json) {
return gson.fromJson(json, ScoreResponseBody.class);
}
@Expose @SerializedName("user_id") private String userId;
@Expose @SerializedName("scores") private Map scores;
@Expose @SerializedName("latest_labels") private Map latestLabels;
public String getUserId() {
return userId;
}
public ScoreResponseBody setUserId(String userId) {
this.userId = userId;
return this;
}
public Map getScores() {
return scores;
}
public ScoreResponseBody setScores(Map scores) {
this.scores = scores;
return this;
}
public Map getLatestLabels() {
return latestLabels;
}
public ScoreResponseBody setLatestLabels(Map latestLabels) {
this.latestLabels = latestLabels;
return this;
}
}