View Javadoc
1   package de.dlr.shepard.neo4Core.io;
2   
3   import lombok.AllArgsConstructor;
4   import lombok.Data;
5   import lombok.NoArgsConstructor;
6   import org.eclipse.microprofile.openapi.annotations.media.Schema;
7   
8   @Data
9   @Schema(name = "Roles")
10  @NoArgsConstructor
11  @AllArgsConstructor
12  public class RolesIO {
13  
14    @Schema(readOnly = true, required = true)
15    private boolean owner;
16  
17    @Schema(readOnly = true, required = true)
18    private boolean manager;
19  
20    @Schema(readOnly = true, required = true)
21    private boolean writer;
22  
23    @Schema(readOnly = true, required = true)
24    private boolean reader;
25  }