1 | package org.cardanofoundation.explorer.api.model.response.pool.lifecycle; | |
2 | ||
3 | import java.math.BigInteger; | |
4 | import java.sql.Timestamp; | |
5 | ||
6 | import lombok.AllArgsConstructor; | |
7 | import lombok.Getter; | |
8 | import lombok.NoArgsConstructor; | |
9 | import lombok.Setter; | |
10 | ||
11 | import org.cardanofoundation.explorer.api.model.response.pool.projection.LifeCycleRewardProjection; | |
12 | ||
13 | @Getter | |
14 | @Setter | |
15 | @AllArgsConstructor | |
16 | @NoArgsConstructor | |
17 | public class RewardResponse { | |
18 | ||
19 |
1
1. getEpochNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/RewardResponse::getEpochNo → KILLED |
private Integer epochNo; |
20 | ||
21 |
1
1. getTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/RewardResponse::getTime → SURVIVED |
private Timestamp time; |
22 | ||
23 |
1
1. getAmount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/RewardResponse::getAmount → SURVIVED |
private BigInteger amount; |
24 | ||
25 |
1
1. getRewardAccount : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/RewardResponse::getRewardAccount → KILLED |
private String rewardAccount; |
26 | ||
27 | public RewardResponse(LifeCycleRewardProjection projection) { | |
28 | this.epochNo = projection.getEpochNo(); | |
29 | this.time = projection.getTime(); | |
30 | this.amount = projection.getAmount(); | |
31 | this.rewardAccount = projection.getAddress(); | |
32 | } | |
33 | } | |
Mutations | ||
19 |
1.1 |
|
21 |
1.1 |
|
23 |
1.1 |
|
25 |
1.1 |