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

com.mercadopago.insight.dto.TrafficLightResponse Maven / Gradle / Ivy

There is a newer version: 1.8.0
Show newest version
package com.mercadopago.insight.dto;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public final class TrafficLightResponse implements Serializable {


    /**
     *
     */
    private static final long serialVersionUID = 1L;

    @SerializedName(value = "send-data", alternate = "send_insight_data")
    private boolean sendDataEnabled;

    @SerializedName(value = "ttl", alternate = "send_ttl")
    private int sendTTL;

    @SerializedName(value = "endpoint-whitelist", alternate = "endpoint_whitelist")
    private List endpointWhiteList;

    @SerializedName(value = "base64-encode-data", alternate = "base64_encode_data")
    private Boolean base64encodingEnabled;


    public boolean isSendDataEnabled() { return this.sendDataEnabled; }

    public void setSendDataEnabled(boolean sendDataEnabled) {
        this.sendDataEnabled = sendDataEnabled;
    }

    public int getSendTTL() {
        return this.sendTTL;
    }

    public void setSendTTL(int sendTTL) {
        this.sendTTL = sendTTL;
    }

    public List getEndpointWhiteList() {
        return this.endpointWhiteList;
    }

    public void setEndpointWhiteList(List endpointWhiteList) {
        this.endpointWhiteList = endpointWhiteList;
    }

    public boolean isBase64encodingEnabled() { return this.base64encodingEnabled != null && this.base64encodingEnabled; }

    public void setBase64encodingEnabled(boolean base64encodingEnabled) {
        this.base64encodingEnabled = base64encodingEnabled;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy