ShardLayout.java

package com.syntifi.near.api.model.protocol;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Getter;
import lombok.Setter;

/**
 * @author Alexandre Carvalho
 * @author Andre Bertolace
 * @since 0.0.1
 */
@Getter
@Setter
public class ShardLayout {
    @Getter
    @Setter
    public class V0 {
        @JsonProperty("num_shards")
        private long numShards;

        @JsonProperty("version")
        private long version;
    }

    @JsonProperty("V0")
    private V0 v0;
}