1 | package org.cardanofoundation.explorer.api.interceptor.auth; | |
2 | ||
3 | import java.util.List; | |
4 | import java.util.Map; | |
5 | ||
6 | import lombok.Getter; | |
7 | import lombok.Setter; | |
8 | ||
9 | import com.fasterxml.jackson.annotation.JsonCreator; | |
10 | import com.fasterxml.jackson.annotation.JsonProperty; | |
11 | ||
12 | @Getter | |
13 | @Setter | |
14 | public class RoleConfigurationMapper { | |
15 | ||
16 | @JsonProperty("name") | |
17 |
1
1. getName : replaced return value with "" for org/cardanofoundation/explorer/api/interceptor/auth/RoleConfigurationMapper::getName → NO_COVERAGE |
private String name; |
18 | ||
19 | @JsonProperty("attributes") | |
20 |
1
1. getAttributes : replaced return value with Collections.emptyMap for org/cardanofoundation/explorer/api/interceptor/auth/RoleConfigurationMapper::getAttributes → NO_COVERAGE |
private Map<String, Object> attributes; |
21 | ||
22 | @JsonProperty("function") | |
23 |
1
1. getFunction : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/interceptor/auth/RoleConfigurationMapper::getFunction → NO_COVERAGE |
private List<RoleFunction> function; |
24 | ||
25 | @JsonCreator | |
26 | public RoleConfigurationMapper( | |
27 | @JsonProperty("name") String name, | |
28 | @JsonProperty("attributes") Map<String, Object> attributes, | |
29 | @JsonProperty("function") List<RoleFunction> function) { | |
30 | this.name = name; | |
31 | this.attributes = attributes; | |
32 | this.function = function; | |
33 | } | |
34 | } | |
Mutations | ||
17 |
1.1 |
|
20 |
1.1 |
|
23 |
1.1 |