File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
src/main/java/com/redhat/labs/omp/models Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 1
1
package com .redhat .labs .omp .models ;
2
2
3
+ import java .util .List ;
4
+
3
5
import lombok .AllArgsConstructor ;
4
6
import lombok .Builder ;
5
7
import lombok .Data ;
@@ -32,5 +34,6 @@ public class Engagement {
32
34
private String ocpPersistentStorageSize ;
33
35
private String ocpClusterSize ;
34
36
private Launch launch ;
37
+ private List <EngagementUser > engagementUsers ;
35
38
36
39
}
Original file line number Diff line number Diff line change 1
1
package com .redhat .labs .omp .models ;
2
2
3
3
import javax .json .bind .annotation .JsonbProperty ;
4
- import javax .json .bind .annotation .JsonbTransient ;
5
4
import javax .validation .constraints .NotBlank ;
6
5
7
6
import lombok .AllArgsConstructor ;
@@ -27,15 +26,5 @@ public class EngagementUser {
27
26
@ NotBlank
28
27
@ JsonbProperty ("role" )
29
28
private String role ;
30
- @ JsonbTransient
31
- private String username ;
32
- @ JsonbTransient
33
- private String group ;
34
- @ JsonbTransient
35
- private String expirationDate ;
36
-
37
- public String getUsername () {
38
- return email .substring (email .indexOf ("@" ));
39
- }
40
29
41
30
}
You can’t perform that action at this time.
0 commit comments