ContractNamedKey.java

  1. package com.syntifi.casper.sdk.identifier.dictionary;

  2. import com.fasterxml.jackson.annotation.JsonProperty;
  3. import lombok.AllArgsConstructor;
  4. import lombok.Builder;
  5. import lombok.Getter;
  6. import lombok.NoArgsConstructor;
  7. import lombok.Setter;

  8. /**
  9.  * Contract named key for dictionary item calls
  10.  *
  11.  * @author Alexandre Carvalho
  12.  * @author Andre Bertolace
  13.  * @since 0.0.1
  14.  */
  15. @Getter
  16. @Setter
  17. @Builder
  18. @NoArgsConstructor
  19. @AllArgsConstructor
  20. public class ContractNamedKey {

  21.     /**
  22.      * The dictionary item key formatted as a string
  23.      */
  24.     @JsonProperty("dictionary_item_key")
  25.     private String dictionaryItemKey;

  26.     /**
  27.      * The dictionary item key formatted as a string
  28.      */
  29.     @JsonProperty("dictionary_name")
  30.     private String dictionaryName;

  31.     /**
  32.      * The contract key as a formatted string whose named keys contains
  33.      * dictionary_name.
  34.      */
  35.     private String key;

  36. }