JsonEraEnd.java

package com.syntifi.casper.sdk.model.era;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * Casper block root Era data
 *
 * @author Alexandre Carvalho
 * @author Andre Bertolace
 * @since 0.0.1
 */

@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class JsonEraEnd {

    /**
     * @see JsonEraReport
     */
    @JsonProperty("era_report")
    private JsonEraReport eraReport;

    /**
     * @see JsonValidatorWeight
     */
    @JsonProperty("next_era_validator_weights")
    private List<ValidatorWeight> nextEraValidatorWeights;
}