File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
main/java/org/gitlab4j/api/models
test/resources/org/gitlab4j/api Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 44
55public class BranchAccessLevel {
66
7+ private Long id ;
78 private AccessLevel accessLevel ;
89 private String accessLevelDescription ;
910 private Long userId ;
1011 private Long groupId ;
1112
13+ public Long getId () {
14+ return id ;
15+ }
16+
17+ public void setId (Long id ) {
18+ this .id = id ;
19+ }
20+
1221 public AccessLevel getAccessLevel () {
1322 return this .accessLevel ;
1423 }
Original file line number Diff line number Diff line change 77
88public class ProtectedBranch {
99
10+ private Long id ;
1011 private String name ;
1112 private List <BranchAccessLevel > pushAccessLevels ;
1213 private List <BranchAccessLevel > mergeAccessLevels ;
1314 private List <BranchAccessLevel > unprotectAccessLevels ;
1415 private Boolean codeOwnerApprovalRequired ;
1516
17+ public Long getId () {
18+ return id ;
19+ }
20+
21+ public void setId (Long id ) {
22+ this .id = id ;
23+ }
24+
1625 public String getName () {
1726 return this .name ;
1827 }
Original file line number Diff line number Diff line change 11{
2+ "id" : 457 ,
23 "name" : " develop" ,
34 "push_access_levels" : [
45 {
6+ "id" : 123 ,
57 "access_level" : 40 ,
68 "access_level_description" : " Masters"
79 },
1113 ],
1214 "merge_access_levels" : [
1315 {
16+ "id" : 789 ,
1417 "access_level" : 40 ,
1518 "access_level_description" : " Masters"
1619 },
You can’t perform that action at this time.
0 commit comments