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

estonlabs.cxtl.exchanges.bullish.api.v2.domain.BullishResponse Maven / Gradle / Ivy

There is a newer version: 1.4.14
Show newest version
package estonlabs.cxtl.exchanges.bullish.api.v2.domain;

import com.fasterxml.jackson.annotation.*;
import lombok.Getter;
import lombok.ToString;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "message",
        "errorCode",
        "errorCodeName"
})
@Getter
@ToString
public class BullishResponse {
    @JsonProperty("message")
    protected String message;
    @JsonProperty("errorCode")
    protected Integer errorCode;
    @JsonProperty("errorCodeName")
    protected String errorCodeName;

    @JsonIgnore
    public boolean hasError(){
        return getErrorCode() != null && getErrorCode()>0;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy