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

com.casper.sdk.model.transaction.execution.Effect Maven / Gradle / Ivy

Go to download

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy