
estonlabs.cxtl.exchanges.bullish.api.v2.domain.BullishResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cxtl Show documentation
Show all versions of cxtl Show documentation
CXTL – Crypto eXchange Trading Library
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