8
8
/**
9
9
* This class is used to filter Projects when getting lists of projects for a specified group.
10
10
*/
11
- public class ProjectOfGroupFilter {
11
+ public class GroupProjectsFilter {
12
12
13
13
private Boolean archived ;
14
14
private Visibility visibility ;
@@ -28,7 +28,7 @@ public class ProjectOfGroupFilter {
28
28
* @param archived if true will only return archived projects
29
29
* @return the reference to this ProjectFilter instance
30
30
*/
31
- public ProjectOfGroupFilter withArchived (Boolean archived ) {
31
+ public GroupProjectsFilter withArchived (Boolean archived ) {
32
32
this .archived = archived ;
33
33
return (this );
34
34
}
@@ -39,7 +39,7 @@ public ProjectOfGroupFilter withArchived(Boolean archived) {
39
39
* @param visibility the visibility to match
40
40
* @return the reference to this ProjectFilter instance
41
41
*/
42
- public ProjectOfGroupFilter withVisibility (Visibility visibility ) {
42
+ public GroupProjectsFilter withVisibility (Visibility visibility ) {
43
43
this .visibility = visibility ;
44
44
return (this );
45
45
}
@@ -50,7 +50,7 @@ public ProjectOfGroupFilter withVisibility(Visibility visibility) {
50
50
* @param orderBy specifies what field to order by
51
51
* @return the reference to this ProjectFilter instance
52
52
*/
53
- public ProjectOfGroupFilter withOrderBy (ProjectOrderBy orderBy ) {
53
+ public GroupProjectsFilter withOrderBy (ProjectOrderBy orderBy ) {
54
54
this .orderBy = orderBy ;
55
55
return (this );
56
56
}
@@ -61,7 +61,7 @@ public ProjectOfGroupFilter withOrderBy(ProjectOrderBy orderBy) {
61
61
* @param sort sort direction, ASC or DESC
62
62
* @return the reference to this ProjectFilter instance
63
63
*/
64
- public ProjectOfGroupFilter withSortOder (SortOrder sort ) {
64
+ public GroupProjectsFilter withSortOder (SortOrder sort ) {
65
65
this .sort = sort ;
66
66
return (this );
67
67
}
@@ -72,7 +72,7 @@ public ProjectOfGroupFilter withSortOder(SortOrder sort) {
72
72
* @param search the search criteria
73
73
* @return the reference to this ProjectFilter instance
74
74
*/
75
- public ProjectOfGroupFilter withSearch (String search ) {
75
+ public GroupProjectsFilter withSearch (String search ) {
76
76
this .search = search ;
77
77
return (this );
78
78
}
@@ -84,7 +84,7 @@ public ProjectOfGroupFilter withSearch(String search) {
84
84
* @param simple if true, return only limited fields for each project
85
85
* @return the reference to this ProjectFilter instance
86
86
*/
87
- public ProjectOfGroupFilter withSimple (Boolean simple ) {
87
+ public GroupProjectsFilter withSimple (Boolean simple ) {
88
88
this .simple = simple ;
89
89
return (this );
90
90
}
@@ -95,7 +95,7 @@ public ProjectOfGroupFilter withSimple(Boolean simple) {
95
95
* @param owned if true, limit to projects explicitly owned by the current user
96
96
* @return the reference to this ProjectFilter instance
97
97
*/
98
- public ProjectOfGroupFilter withOwned (Boolean owned ) {
98
+ public GroupProjectsFilter withOwned (Boolean owned ) {
99
99
this .owned = owned ;
100
100
return (this );
101
101
}
@@ -106,7 +106,7 @@ public ProjectOfGroupFilter withOwned(Boolean owned) {
106
106
* @param starred if true, limit by projects starred by the current user
107
107
* @return the reference to this ProjectFilter instance
108
108
*/
109
- public ProjectOfGroupFilter withStarred (Boolean starred ) {
109
+ public GroupProjectsFilter withStarred (Boolean starred ) {
110
110
this .starred = starred ;
111
111
return (this );
112
112
}
@@ -117,7 +117,7 @@ public ProjectOfGroupFilter withStarred(Boolean starred) {
117
117
* @param withCustomAttributes if true, include custom attributes in the repsonse
118
118
* @return the reference to this ProjectFilter instance
119
119
*/
120
- public ProjectOfGroupFilter withCustomAttributes (Boolean withCustomAttributes ) {
120
+ public GroupProjectsFilter withCustomAttributes (Boolean withCustomAttributes ) {
121
121
this .withCustomAttributes = withCustomAttributes ;
122
122
return (this );
123
123
}
@@ -128,7 +128,7 @@ public ProjectOfGroupFilter withCustomAttributes(Boolean withCustomAttributes) {
128
128
* @param withIssuesEnabled if true, limit by enabled issues feature
129
129
* @return the reference to this ProjectFilter instance
130
130
*/
131
- public ProjectOfGroupFilter withIssuesEnabled (Boolean withIssuesEnabled ) {
131
+ public GroupProjectsFilter withIssuesEnabled (Boolean withIssuesEnabled ) {
132
132
this .withIssuesEnabled = withIssuesEnabled ;
133
133
return (this );
134
134
}
@@ -139,7 +139,7 @@ public ProjectOfGroupFilter withIssuesEnabled(Boolean withIssuesEnabled) {
139
139
* @param withMergeRequestsEnabled if true, imit by enabled merge requests feature
140
140
* @return the reference to this ProjectFilter instance
141
141
*/
142
- public ProjectOfGroupFilter withMergeRequestsEnabled (Boolean withMergeRequestsEnabled ) {
142
+ public GroupProjectsFilter withMergeRequestsEnabled (Boolean withMergeRequestsEnabled ) {
143
143
this .withMergeRequestsEnabled = withMergeRequestsEnabled ;
144
144
return (this );
145
145
}
0 commit comments