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

com.siftscience.model.ScoreResponse 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.List;
import java.util.Map;

public class ScoreResponse {
    @Expose @SerializedName("user_id") private String userId;
    @Expose @SerializedName("status") private Integer status;
    @Expose @SerializedName("error_message") private String errorMessage;
    @Expose @SerializedName("scores") private Map scores;
    @Expose @SerializedName("latest_labels") private Map latestLabels;
    @Expose @SerializedName("workflow_statuses") private List workflowStatuses;

    public String getUserId() {
        return userId;
    }

    public ScoreResponse setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public Integer getStatus() {
        return status;
    }

    public ScoreResponse setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public ScoreResponse setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
        return this;
    }

    public Map getScores() {
        return scores;
    }

    public ScoreResponse setScores(Map scores) {
        this.scores = scores;
        return this;
    }

    public Map getLatestLabels() {
        return latestLabels;
    }

    public ScoreResponse setLatestLabels(Map latestLabels) {
        this.latestLabels = latestLabels;
        return this;
    }

    public List getWorkflowStatuses() {
        return workflowStatuses;
    }

    public ScoreResponse setWorkflowStatuses(List workflowStatuses) {
        this.workflowStatuses = workflowStatuses;
        return this;
    }

    public WorkflowStatus getWorkflowStatus(int i) {
        return workflowStatuses.get(i);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy