| 1 | package org.cardanofoundation.explorer.api.model.response.pool.lifecycle; | |
| 2 | ||
| 3 | import java.io.Serializable; | |
| 4 | import java.math.BigInteger; | |
| 5 | import java.sql.Timestamp; | |
| 6 | import java.util.List; | |
| 7 | ||
| 8 | import lombok.Getter; | |
| 9 | import lombok.Setter; | |
| 10 | ||
| 11 | import org.cardanofoundation.explorer.api.model.response.pool.projection.PoolDeRegistrationProjection; | |
| 12 | ||
| 13 | @Getter | |
| 14 | @Setter | |
| 15 | public class DeRegistrationResponse implements Serializable { | |
| 16 | ||
| 17 |
1
1. getPoolId : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/DeRegistrationResponse::getPoolId → SURVIVED |
private String poolId; |
| 18 | ||
| 19 |
1
1. getPoolName : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/DeRegistrationResponse::getPoolName → SURVIVED |
private String poolName; |
| 20 | ||
| 21 |
1
1. getPoolView : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/DeRegistrationResponse::getPoolView → SURVIVED |
private String poolView; |
| 22 | ||
| 23 |
1
1. getStakeKeys : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/DeRegistrationResponse::getStakeKeys → SURVIVED |
private List<String> stakeKeys; |
| 24 | ||
| 25 |
1
1. getTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/DeRegistrationResponse::getTxHash → KILLED |
private String txHash; |
| 26 | ||
| 27 |
1
1. getTotalFee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/DeRegistrationResponse::getTotalFee → SURVIVED |
private BigInteger totalFee; |
| 28 | ||
| 29 |
1
1. getPoolHold : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/DeRegistrationResponse::getPoolHold → SURVIVED |
private BigInteger poolHold; |
| 30 | ||
| 31 |
1
1. getTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/DeRegistrationResponse::getTime → SURVIVED |
private Timestamp time; |
| 32 | ||
| 33 |
1
1. getFee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/DeRegistrationResponse::getFee → SURVIVED |
private BigInteger fee; |
| 34 | ||
| 35 |
1
1. getRetiringEpoch : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/DeRegistrationResponse::getRetiringEpoch → KILLED |
private Integer retiringEpoch; |
| 36 | ||
| 37 |
2
1. isRefundFlag : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/DeRegistrationResponse::isRefundFlag → SURVIVED 2. isRefundFlag : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/DeRegistrationResponse::isRefundFlag → SURVIVED |
private boolean refundFlag; |
| 38 | ||
| 39 | public DeRegistrationResponse(PoolDeRegistrationProjection projection) { | |
| 40 | this.txHash = projection.getTxHash(); | |
| 41 | this.time = projection.getTime(); | |
| 42 | this.fee = projection.getFee(); | |
| 43 | this.retiringEpoch = projection.getRetiringEpoch(); | |
| 44 | this.refundFlag = projection.getRefundFlag(); | |
| 45 | } | |
| 46 | } | |
Mutations | ||
| 17 |
1.1 |
|
| 19 |
1.1 |
|
| 21 |
1.1 |
|
| 23 |
1.1 |
|
| 25 |
1.1 |
|
| 27 |
1.1 |
|
| 29 |
1.1 |
|
| 31 |
1.1 |
|
| 33 |
1.1 |
|
| 35 |
1.1 |
|
| 37 |
1.1 2.2 |