ShardLayout.java

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

  2. import com.fasterxml.jackson.annotation.JsonProperty;

  3. import lombok.Getter;
  4. import lombok.Setter;

  5. /**
  6.  * @author Alexandre Carvalho
  7.  * @author Andre Bertolace
  8.  * @since 0.0.1
  9.  */
  10. @Getter
  11. @Setter
  12. public class ShardLayout {
  13.     @Getter
  14.     @Setter
  15.     public class V0 {
  16.         @JsonProperty("num_shards")
  17.         private long numShards;

  18.         @JsonProperty("version")
  19.         private long version;
  20.     }

  21.     @JsonProperty("V0")
  22.     private V0 v0;
  23. }