com.casper.sdk.model.event.version.ApiVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of casper-java-sdk Show documentation
Show all versions of casper-java-sdk Show documentation
SDK to streamline the 3rd party Java client integration processes. Such 3rd parties include exchanges & app developers.
The newest version!
package com.casper.sdk.model.event.version;
import com.casper.sdk.model.event.EventData;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.*;
/**
* ApiVersion is always the first event emitted when a new client connects to the SSE server. It specifies the API
* version of the server. The ApiVersion is the protocol version of a node on the Casper platform.
*
* @author [email protected]
*/
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@JsonTypeName("ApiVersion")
public class ApiVersion implements EventData {
@JsonValue
private String apiVersion;
}