1 | package org.cardanofoundation.explorer.api.model.request.stake.report; | |
2 | ||
3 | import java.sql.Timestamp; | |
4 | ||
5 | import lombok.AllArgsConstructor; | |
6 | import lombok.Builder; | |
7 | import lombok.Getter; | |
8 | import lombok.NoArgsConstructor; | |
9 | import lombok.Setter; | |
10 | ||
11 | import com.fasterxml.jackson.databind.annotation.JsonDeserialize; | |
12 | ||
13 | import org.cardanofoundation.explorer.api.common.constant.CommonConstant; | |
14 | import org.cardanofoundation.explorer.api.controller.validation.StakeKeyLengthValid; | |
15 | import org.cardanofoundation.explorer.common.validation.date.DatePattern; | |
16 | import org.cardanofoundation.explorer.common.validation.date.requestbody.JsonPattern; | |
17 | import org.cardanofoundation.explorer.common.validation.date.requestbody.TimestampValidDeserialize; | |
18 | import org.cardanofoundation.explorer.common.validation.prefixed.PrefixedValid; | |
19 | ||
20 | @Getter | |
21 | @Setter | |
22 |
17
1. eventWithdrawal : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::eventWithdrawal → NO_COVERAGE 2. timePattern : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::timePattern → NO_COVERAGE 3. isFeesPaid : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::isFeesPaid → NO_COVERAGE 4. reportName : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::reportName → NO_COVERAGE 5. eventDeregistration : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::eventDeregistration → NO_COVERAGE 6. dateFormat : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::dateFormat → NO_COVERAGE 7. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::toString → NO_COVERAGE 8. eventDelegation : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::eventDelegation → NO_COVERAGE 9. zoneOffset : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::zoneOffset → NO_COVERAGE 10. eventRewards : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::eventRewards → NO_COVERAGE 11. toDate : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::toDate → KILLED 12. fromDate : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::fromDate → KILLED 13. stakeKey : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::stakeKey → KILLED 14. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::builder → KILLED 15. isADATransfer : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::isADATransfer → KILLED 16. eventRegistration : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::eventRegistration → KILLED 17. build : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest$StakeKeyReportRequestBuilder::build → KILLED |
@Builder |
23 | @NoArgsConstructor | |
24 | @AllArgsConstructor | |
25 | public class StakeKeyReportRequest { | |
26 | ||
27 | @PrefixedValid(CommonConstant.PREFIXED_STAKE_KEY) | |
28 | @StakeKeyLengthValid | |
29 |
1
1. getStakeKey : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getStakeKey → SURVIVED |
private String stakeKey; |
30 | ||
31 |
1
1. getReportName : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getReportName → SURVIVED |
private String reportName; |
32 | ||
33 | @JsonDeserialize(using = TimestampValidDeserialize.class) | |
34 | @JsonPattern(pattern = DatePattern.YYYY_MM_DD_HH_MM_SS) | |
35 |
1
1. getFromDate : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getFromDate → NO_COVERAGE |
private Timestamp fromDate; |
36 | ||
37 | @JsonDeserialize(using = TimestampValidDeserialize.class) | |
38 | @JsonPattern(pattern = DatePattern.YYYY_MM_DD_HH_MM_SS) | |
39 |
1
1. getToDate : replaced return value with null for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getToDate → NO_COVERAGE |
private Timestamp toDate; |
40 | ||
41 |
2
1. getIsADATransfer : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getIsADATransfer → NO_COVERAGE 2. getIsADATransfer : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getIsADATransfer → NO_COVERAGE |
private Boolean isADATransfer; |
42 |
2
1. getIsFeesPaid : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getIsFeesPaid → NO_COVERAGE 2. getIsFeesPaid : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getIsFeesPaid → NO_COVERAGE |
private Boolean isFeesPaid; |
43 |
2
1. getEventRegistration : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getEventRegistration → NO_COVERAGE 2. getEventRegistration : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getEventRegistration → NO_COVERAGE |
private Boolean eventRegistration; |
44 |
2
1. getEventDelegation : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getEventDelegation → NO_COVERAGE 2. getEventDelegation : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getEventDelegation → NO_COVERAGE |
private Boolean eventDelegation; |
45 |
2
1. getEventRewards : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getEventRewards → NO_COVERAGE 2. getEventRewards : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getEventRewards → NO_COVERAGE |
private Boolean eventRewards; |
46 |
2
1. getEventWithdrawal : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getEventWithdrawal → NO_COVERAGE 2. getEventWithdrawal : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getEventWithdrawal → NO_COVERAGE |
private Boolean eventWithdrawal; |
47 |
2
1. getEventDeregistration : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getEventDeregistration → NO_COVERAGE 2. getEventDeregistration : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getEventDeregistration → NO_COVERAGE |
private Boolean eventDeregistration; |
48 |
1
1. getTimePattern : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getTimePattern → SURVIVED |
private String timePattern; |
49 |
1
1. getZoneOffset : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getZoneOffset → SURVIVED |
private Long zoneOffset; // diff with UTC in minutes |
50 |
1
1. getDateFormat : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/stake/report/StakeKeyReportRequest::getDateFormat → SURVIVED |
private String dateFormat; |
51 | } | |
Mutations | ||
22 |
1.1 2.2 3.3 4.4 5.5 6.6 7.7 8.8 9.9 10.10 11.11 12.12 13.13 14.14 15.15 16.16 17.17 |
|
29 |
1.1 |
|
31 |
1.1 |
|
35 |
1.1 |
|
39 |
1.1 |
|
41 |
1.1 2.2 |
|
42 |
1.1 2.2 |
|
43 |
1.1 2.2 |
|
44 |
1.1 2.2 |
|
45 |
1.1 2.2 |
|
46 |
1.1 2.2 |
|
47 |
1.1 2.2 |
|
48 |
1.1 |
|
49 |
1.1 |
|
50 |
1.1 |