com.casper.sdk.model.transaction.execution.Effect 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.transaction.execution;
import com.casper.sdk.model.transaction.kind.Kind;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
/**
* Effects describe things that the creator of the effect intends to happen, producing a value upon completion.
*
* @author [email protected]
*/
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Builder
public class Effect {
// TODO convert EntityAddr
@JsonProperty("key")
private String key;
@JsonProperty("kind")
private Kind kind;
public T getKind() {
//noinspection unchecked
return (T) kind;
}
}