All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.siftscience.model.ScoreResponseBody Maven / Gradle / Ivy

There is a newer version: 3.16.0
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy