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

com.siftscience.model.ApplyDecisionResponseBody 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 com.siftscience.ApplyDecisionRequest;
import com.siftscience.ApplyDecisionResponse;

public class ApplyDecisionResponseBody extends BaseResponseBody {
    @Expose @SerializedName("time") private Long time;
    @Expose @SerializedName("request") private ApplyDecisionFieldSet request;

    public static ApplyDecisionResponseBody fromJson(String json) {
        return gson.fromJson(json, ApplyDecisionResponseBody.class);
    }
    public ApplyDecisionResponseBody(long time, ApplyDecisionFieldSet request) {
        this.time = time;
        this.request = request;
    }

    public Long getTime() {
        return time;
    }

    public ApplyDecisionResponseBody setTime(Long time) {
        this.time = time;
        return this;
    }

    public ApplyDecisionFieldSet getRequest() {
        return request;
    }

    public ApplyDecisionResponseBody setRequest(ApplyDecisionFieldSet request) {
        this.request = request;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy