1 | package org.cardanofoundation.explorer.api.model.response.stake; | |
2 | ||
3 | import java.io.Serializable; | |
4 | import java.sql.Timestamp; | |
5 | ||
6 | import lombok.Getter; | |
7 | import lombok.Setter; | |
8 | ||
9 | import com.fasterxml.jackson.annotation.JsonIgnore; | |
10 | ||
11 | import org.cardanofoundation.explorer.common.entity.ledgersync.StakeDeregistration; | |
12 | import org.cardanofoundation.explorer.common.entity.ledgersync.StakeRegistration; | |
13 | ||
14 | @Getter | |
15 | @Setter | |
16 | public class StakeTxResponse implements Serializable { | |
17 | ||
18 |
1
1. getTxId : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/stake/StakeTxResponse::getTxId → KILLED |
@JsonIgnore private Long txId; |
19 | ||
20 |
1
1. getTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/StakeTxResponse::getTxHash → SURVIVED |
private String txHash; |
21 | ||
22 |
1
1. getTxTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/StakeTxResponse::getTxTime → SURVIVED |
private Timestamp txTime; |
23 | ||
24 |
1
1. getBlock : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/stake/StakeTxResponse::getBlock → SURVIVED |
private Long block; |
25 | ||
26 |
1
1. getEpoch : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/stake/StakeTxResponse::getEpoch → KILLED |
private Integer epoch; |
27 | ||
28 |
1
1. getSlotNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/stake/StakeTxResponse::getSlotNo → SURVIVED |
private Integer slotNo; |
29 | ||
30 |
1
1. getEpochSlotNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/stake/StakeTxResponse::getEpochSlotNo → SURVIVED |
private Integer epochSlotNo; |
31 | ||
32 |
1
1. getStakeAddressId : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/stake/StakeTxResponse::getStakeAddressId → KILLED |
@JsonIgnore private Long stakeAddressId; |
33 | ||
34 |
1
1. getStakeKey : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/StakeTxResponse::getStakeKey → KILLED |
private String stakeKey; |
35 | ||
36 | public StakeTxResponse() {} | |
37 | ||
38 | public StakeTxResponse(StakeRegistration stakeRegistration) { | |
39 | this.txId = stakeRegistration.getTxId(); | |
40 | this.stakeAddressId = stakeRegistration.getStakeAddressId(); | |
41 | } | |
42 | ||
43 | public StakeTxResponse(StakeDeregistration stakeDeRegistration) { | |
44 | this.txId = stakeDeRegistration.getTxId(); | |
45 | this.stakeAddressId = stakeDeRegistration.getStakeAddressId(); | |
46 | } | |
47 | } | |
Mutations | ||
18 |
1.1 |
|
20 |
1.1 |
|
22 |
1.1 |
|
24 |
1.1 |
|
26 |
1.1 |
|
28 |
1.1 |
|
30 |
1.1 |
|
32 |
1.1 |
|
34 |
1.1 |