generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CIV-15377 - CE - Role Assignments for Messages (#187)
Co-authored-by: GarethLancaster <[email protected]> Co-authored-by: m-meulendijks-v1 <[email protected]>
- Loading branch information
1 parent
98e72a3
commit 535cf63
Showing
7 changed files
with
130 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
src/main/java/uk/gov/hmcts/reform/civil/ras/model/QueryRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package uk.gov.hmcts.reform.civil.ras.model; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.Singular; | ||
import lombok.Value; | ||
|
||
import java.time.LocalDateTime; | ||
import java.util.List; | ||
import java.util.Map; | ||
|
||
@Value | ||
@Builder | ||
@AllArgsConstructor | ||
@Getter | ||
public class QueryRequest { | ||
|
||
@Singular("actorId") | ||
private final List<String> actorId; | ||
@Singular("roleType") | ||
private final List<String> roleType; | ||
@Singular("roleName") | ||
private final List<String> roleName; | ||
@Singular("classification") | ||
private final List<String> classification; | ||
@Singular("grantType") | ||
private final List<String> grantType; | ||
|
||
private LocalDateTime validAt; | ||
@Singular("roleCategory") | ||
private final List<String> roleCategory; | ||
|
||
private Map<String, List<String>> attributes; | ||
@Singular("authorisations") | ||
private final List<String> authorisations; | ||
|
||
@Singular("hasAttributes") | ||
private final List<String> hasAttributes; | ||
|
||
private Boolean readOnly; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters