88/**
99 * This class is used to filter Projects when getting lists of projects for a specified group.
1010 */
11- public class ProjectOfGroupFilter {
11+ public class GroupProjectsFilter {
1212
1313 private Boolean archived ;
1414 private Visibility visibility ;
@@ -28,7 +28,7 @@ public class ProjectOfGroupFilter {
2828 * @param archived if true will only return archived projects
2929 * @return the reference to this ProjectFilter instance
3030 */
31- public ProjectOfGroupFilter withArchived (Boolean archived ) {
31+ public GroupProjectsFilter withArchived (Boolean archived ) {
3232 this .archived = archived ;
3333 return (this );
3434 }
@@ -39,7 +39,7 @@ public ProjectOfGroupFilter withArchived(Boolean archived) {
3939 * @param visibility the visibility to match
4040 * @return the reference to this ProjectFilter instance
4141 */
42- public ProjectOfGroupFilter withVisibility (Visibility visibility ) {
42+ public GroupProjectsFilter withVisibility (Visibility visibility ) {
4343 this .visibility = visibility ;
4444 return (this );
4545 }
@@ -50,7 +50,7 @@ public ProjectOfGroupFilter withVisibility(Visibility visibility) {
5050 * @param orderBy specifies what field to order by
5151 * @return the reference to this ProjectFilter instance
5252 */
53- public ProjectOfGroupFilter withOrderBy (ProjectOrderBy orderBy ) {
53+ public GroupProjectsFilter withOrderBy (ProjectOrderBy orderBy ) {
5454 this .orderBy = orderBy ;
5555 return (this );
5656 }
@@ -61,7 +61,7 @@ public ProjectOfGroupFilter withOrderBy(ProjectOrderBy orderBy) {
6161 * @param sort sort direction, ASC or DESC
6262 * @return the reference to this ProjectFilter instance
6363 */
64- public ProjectOfGroupFilter withSortOder (SortOrder sort ) {
64+ public GroupProjectsFilter withSortOder (SortOrder sort ) {
6565 this .sort = sort ;
6666 return (this );
6767 }
@@ -72,7 +72,7 @@ public ProjectOfGroupFilter withSortOder(SortOrder sort) {
7272 * @param search the search criteria
7373 * @return the reference to this ProjectFilter instance
7474 */
75- public ProjectOfGroupFilter withSearch (String search ) {
75+ public GroupProjectsFilter withSearch (String search ) {
7676 this .search = search ;
7777 return (this );
7878 }
@@ -84,7 +84,7 @@ public ProjectOfGroupFilter withSearch(String search) {
8484 * @param simple if true, return only limited fields for each project
8585 * @return the reference to this ProjectFilter instance
8686 */
87- public ProjectOfGroupFilter withSimple (Boolean simple ) {
87+ public GroupProjectsFilter withSimple (Boolean simple ) {
8888 this .simple = simple ;
8989 return (this );
9090 }
@@ -95,7 +95,7 @@ public ProjectOfGroupFilter withSimple(Boolean simple) {
9595 * @param owned if true, limit to projects explicitly owned by the current user
9696 * @return the reference to this ProjectFilter instance
9797 */
98- public ProjectOfGroupFilter withOwned (Boolean owned ) {
98+ public GroupProjectsFilter withOwned (Boolean owned ) {
9999 this .owned = owned ;
100100 return (this );
101101 }
@@ -106,7 +106,7 @@ public ProjectOfGroupFilter withOwned(Boolean owned) {
106106 * @param starred if true, limit by projects starred by the current user
107107 * @return the reference to this ProjectFilter instance
108108 */
109- public ProjectOfGroupFilter withStarred (Boolean starred ) {
109+ public GroupProjectsFilter withStarred (Boolean starred ) {
110110 this .starred = starred ;
111111 return (this );
112112 }
@@ -117,7 +117,7 @@ public ProjectOfGroupFilter withStarred(Boolean starred) {
117117 * @param withCustomAttributes if true, include custom attributes in the repsonse
118118 * @return the reference to this ProjectFilter instance
119119 */
120- public ProjectOfGroupFilter withCustomAttributes (Boolean withCustomAttributes ) {
120+ public GroupProjectsFilter withCustomAttributes (Boolean withCustomAttributes ) {
121121 this .withCustomAttributes = withCustomAttributes ;
122122 return (this );
123123 }
@@ -128,7 +128,7 @@ public ProjectOfGroupFilter withCustomAttributes(Boolean withCustomAttributes) {
128128 * @param withIssuesEnabled if true, limit by enabled issues feature
129129 * @return the reference to this ProjectFilter instance
130130 */
131- public ProjectOfGroupFilter withIssuesEnabled (Boolean withIssuesEnabled ) {
131+ public GroupProjectsFilter withIssuesEnabled (Boolean withIssuesEnabled ) {
132132 this .withIssuesEnabled = withIssuesEnabled ;
133133 return (this );
134134 }
@@ -139,7 +139,7 @@ public ProjectOfGroupFilter withIssuesEnabled(Boolean withIssuesEnabled) {
139139 * @param withMergeRequestsEnabled if true, imit by enabled merge requests feature
140140 * @return the reference to this ProjectFilter instance
141141 */
142- public ProjectOfGroupFilter withMergeRequestsEnabled (Boolean withMergeRequestsEnabled ) {
142+ public GroupProjectsFilter withMergeRequestsEnabled (Boolean withMergeRequestsEnabled ) {
143143 this .withMergeRequestsEnabled = withMergeRequestsEnabled ;
144144 return (this );
145145 }
0 commit comments