1 | package org.cardanofoundation.explorer.api.model.response.pool; | |
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.TxBlockEpochProjection; | |
12 | ||
13 | @Getter | |
14 | @Setter | |
15 | public class PoolTxResponse implements Serializable { | |
16 | ||
17 |
1
1. getTxId : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getTxId → KILLED |
private Long txId; |
18 | ||
19 |
1
1. getTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getTxHash → NO_COVERAGE |
private String txHash; |
20 | ||
21 |
1
1. getTxTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getTxTime → NO_COVERAGE |
private Timestamp txTime; |
22 | ||
23 |
1
1. getEpoch : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getEpoch → NO_COVERAGE |
private Integer epoch; |
24 | ||
25 |
1
1. getBlock : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getBlock → NO_COVERAGE |
private Long block; |
26 | ||
27 |
1
1. getEpochSlotNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getEpochSlotNo → NO_COVERAGE |
private Integer epochSlotNo; |
28 | ||
29 |
1
1. getSlotNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getSlotNo → NO_COVERAGE |
private Integer slotNo; |
30 | ||
31 |
1
1. getPoolName : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getPoolName → NO_COVERAGE |
private String poolName; |
32 | ||
33 |
1
1. getPledge : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getPledge → NO_COVERAGE |
private BigInteger pledge; |
34 | ||
35 |
1
1. getCost : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getCost → NO_COVERAGE |
private BigInteger cost; |
36 | ||
37 |
1
1. getMargin : replaced Double return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getMargin → NO_COVERAGE |
private Double margin; |
38 | ||
39 |
1
1. getPoolId : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getPoolId → KILLED |
private Long poolId; |
40 | ||
41 |
1
1. getPoolView : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getPoolView → NO_COVERAGE |
private String poolView; |
42 | ||
43 |
1
1. getStakeKey : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/pool/PoolTxResponse::getStakeKey → KILLED |
private List<String> stakeKey; |
44 | ||
45 | public PoolTxResponse(TxBlockEpochProjection trxBlockEpoch) { | |
46 | this.txId = trxBlockEpoch.getTxId(); | |
47 | this.txHash = trxBlockEpoch.getTxHash(); | |
48 | this.txTime = trxBlockEpoch.getTxTime(); | |
49 | this.epoch = trxBlockEpoch.getEpochNo(); | |
50 | this.slotNo = trxBlockEpoch.getSlotNo(); | |
51 | this.pledge = trxBlockEpoch.getPledge(); | |
52 | this.margin = trxBlockEpoch.getMargin(); | |
53 | this.cost = trxBlockEpoch.getCost(); | |
54 | this.poolName = trxBlockEpoch.getPoolName(); | |
55 | this.poolId = trxBlockEpoch.getPoolId(); | |
56 | this.block = trxBlockEpoch.getBlockNo(); | |
57 | this.poolView = trxBlockEpoch.getPoolView(); | |
58 | } | |
59 | } | |
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 |
|
39 |
1.1 |
|
41 |
1.1 |
|
43 |
1.1 |