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 4
4
5
5
public class BranchAccessLevel {
6
6
7
+ private Long id ;
7
8
private AccessLevel accessLevel ;
8
9
private String accessLevelDescription ;
9
10
private Long userId ;
10
11
private Long groupId ;
11
12
13
+ public Long getId () {
14
+ return id ;
15
+ }
16
+
17
+ public void setId (Long id ) {
18
+ this .id = id ;
19
+ }
20
+
12
21
public AccessLevel getAccessLevel () {
13
22
return this .accessLevel ;
14
23
}
Original file line number Diff line number Diff line change 7
7
8
8
public class ProtectedBranch {
9
9
10
+ private Long id ;
10
11
private String name ;
11
12
private List <BranchAccessLevel > pushAccessLevels ;
12
13
private List <BranchAccessLevel > mergeAccessLevels ;
13
14
private List <BranchAccessLevel > unprotectAccessLevels ;
14
15
private Boolean codeOwnerApprovalRequired ;
15
16
17
+ public Long getId () {
18
+ return id ;
19
+ }
20
+
21
+ public void setId (Long id ) {
22
+ this .id = id ;
23
+ }
24
+
16
25
public String getName () {
17
26
return this .name ;
18
27
}
Original file line number Diff line number Diff line change 1
1
{
2
+ "id" : 457 ,
2
3
"name" : " develop" ,
3
4
"push_access_levels" : [
4
5
{
6
+ "id" : 123 ,
5
7
"access_level" : 40 ,
6
8
"access_level_description" : " Masters"
7
9
},
11
13
],
12
14
"merge_access_levels" : [
13
15
{
16
+ "id" : 789 ,
14
17
"access_level" : 40 ,
15
18
"access_level_description" : " Masters"
16
19
},
You can’t perform that action at this time.
0 commit comments