@Test public void shouldConvertToInternalObject() { final Eth1Data eth1Data = new Eth1Data(eth1DataInternal); assertThat(eth1Data.asInternalEth1Data()).isEqualTo(eth1DataInternal); }
public tech.pegasys.teku.datastructures.blocks.Eth1Data asInternalEth1Data() { return new tech.pegasys.teku.datastructures.blocks.Eth1Data( deposit_root, deposit_count, block_hash); }
Eth1Data { public tech.pegasys.teku.datastructures.blocks.Eth1Data asInternalEth1Data() { return new tech.pegasys.teku.datastructures.blocks.Eth1Data( deposit_root, deposit_count, block_hash); } }
Eth1Data { public tech.pegasys.teku.datastructures.blocks.Eth1Data asInternalEth1Data() { return new tech.pegasys.teku.datastructures.blocks.Eth1Data( deposit_root, deposit_count, block_hash); } Eth1Data(final tech.pegasys.teku.datastructures.blocks.Eth1Data eth1Data); @JsonCreator  Eth1Data(
      @JsonProperty("deposit_root") final Bytes32 deposit_root,
      @JsonProperty("deposit_count") final UInt64 deposit_count,
      @JsonProperty("block_hash") final Bytes32 block_hash); }
Eth1Data { public tech.pegasys.teku.datastructures.blocks.Eth1Data asInternalEth1Data() { return new tech.pegasys.teku.datastructures.blocks.Eth1Data( deposit_root, deposit_count, block_hash); } Eth1Data(final tech.pegasys.teku.datastructures.blocks.Eth1Data eth1Data); @JsonCreator  Eth1Data(
      @JsonProperty("deposit_root") final Bytes32 deposit_root,
      @JsonProperty("deposit_count") final UInt64 deposit_count,
      @JsonProperty("block_hash") final Bytes32 block_hash); tech.pegasys.teku.datastructures.blocks.Eth1Data asInternalEth1Data(); }
Eth1Data { public tech.pegasys.teku.datastructures.blocks.Eth1Data asInternalEth1Data() { return new tech.pegasys.teku.datastructures.blocks.Eth1Data( deposit_root, deposit_count, block_hash); } Eth1Data(final tech.pegasys.teku.datastructures.blocks.Eth1Data eth1Data); @JsonCreator  Eth1Data(
      @JsonProperty("deposit_root") final Bytes32 deposit_root,
      @JsonProperty("deposit_count") final UInt64 deposit_count,
      @JsonProperty("block_hash") final Bytes32 block_hash); tech.pegasys.teku.datastructures.blocks.Eth1Data asInternalEth1Data(); @Schema(type = "string", format = "byte", description = DESCRIPTION_BYTES32)
  final Bytes32 deposit_root; @Schema(type = "string", format = "uint64")
  final UInt64 deposit_count; @Schema(type = "string", format = "byte", description = DESCRIPTION_BYTES32)
  final Bytes32 block_hash; }