Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public ProjectFilter withArchived(Boolean archived) {
return (this);
}

public Boolean getArchived() {
return archived;
}

/**
* Limit by visibility public, internal, or private.
*
Expand All @@ -64,6 +68,10 @@ public ProjectFilter withVisibility(Visibility visibility) {
return (this);
}

public Visibility getVisibility() {
return visibility;
}

/**
* Return projects ordered by id, name, path, created_at, updated_at, or last_activity_at fields. Default is created_at.
*
Expand All @@ -75,6 +83,10 @@ public ProjectFilter withOrderBy(ProjectOrderBy orderBy) {
return (this);
}

public ProjectOrderBy getOrderBy() {
return orderBy;
}

/**
* Return projects sorted in asc or desc order. Default is desc.
*
Expand All @@ -86,6 +98,10 @@ public ProjectFilter withSortOder(SortOrder sort) {
return (this);
}

public SortOrder getSort() {
return sort;
}

/**
* Return list of projects matching the search criteria.
*
Expand All @@ -97,6 +113,10 @@ public ProjectFilter withSearch(String search) {
return (this);
}

public String getSearch() {
return search;
}

/**
* Include ancestor namespaces when matching search criteria. Default is false.
*
Expand All @@ -108,6 +128,10 @@ public ProjectFilter withSearchNamespaces(Boolean searchNamespaces) {
return (this);
}

public Boolean getSearchNamespaces() {
return searchNamespaces;
}

/**
* Return only limited fields for each project. This is a no-op without
* authentication as then only simple fields are returned.
Expand All @@ -120,6 +144,10 @@ public ProjectFilter withSimple(Boolean simple) {
return (this);
}

public Boolean getSimple() {
return simple;
}

/**
* Limit by projects explicitly owned by the current user
*
Expand All @@ -131,6 +159,10 @@ public ProjectFilter withOwned(Boolean owned) {
return (this);
}

public Boolean getOwned() {
return owned;
}

/**
* Limit by projects that the current user is a member of
*
Expand All @@ -142,6 +174,10 @@ public ProjectFilter withMembership(Boolean membership) {
return (this);
}

public Boolean getMembership() {
return membership;
}

/**
* Limit by projects starred by the current user.
*
Expand All @@ -153,6 +189,10 @@ public ProjectFilter withStarred(Boolean starred) {
return (this);
}

public Boolean getStarred() {
return starred;
}

/**
* Include project statistics.
*
Expand All @@ -164,6 +204,10 @@ public ProjectFilter withStatistics(Boolean statistics) {
return (this);
}

public Boolean getStatistics() {
return statistics;
}

/**
* Include custom attributes in response (admins only).
*
Expand All @@ -175,6 +219,10 @@ public ProjectFilter withCustomAttributes(Boolean withCustomAttributes) {
return (this);
}

public Boolean getWithCustomAttributes() {
return withCustomAttributes;
}

/**
* Limit by enabled issues feature
*
Expand All @@ -186,6 +234,10 @@ public ProjectFilter withIssuesEnabled(Boolean withIssuesEnabled) {
return (this);
}

public Boolean getWithIssuesEnabled() {
return withIssuesEnabled;
}

/**
* Limit by enabled merge requests feature
*
Expand All @@ -197,6 +249,10 @@ public ProjectFilter withMergeRequestsEnabled(Boolean withMergeRequestsEnabled)
return (this);
}

public Boolean getWithMergeRequestsEnabled() {
return withMergeRequestsEnabled;
}

/**
* Limit by projects which use the given programming language.
*
Expand All @@ -208,6 +264,10 @@ public ProjectFilter withProgrammingLanguage(String withProgrammingLanguage) {
return (this);
}

public String getWithProgrammingLanguage() {
return withProgrammingLanguage;
}

/**
* Limit projects where the wiki checksum calculation has failed.
*
Expand All @@ -220,6 +280,10 @@ public ProjectFilter withWikiChecksumFailed(Boolean wikiChecksumFailed) {
return (this);
}

public Boolean getWikiChecksumFailed() {
return wikiChecksumFailed;
}

/**
* Limit projects where the repository checksum calculation has failed.
*
Expand All @@ -232,6 +296,10 @@ public ProjectFilter withRepositoryChecksumFailed(Boolean repositoryChecksumFail
return (this);
}

public Boolean getRepositoryChecksumFailed() {
return repositoryChecksumFailed;
}

/**
* Limit by current user minimal access level.
*
Expand All @@ -243,6 +311,10 @@ public ProjectFilter withMinAccessLevel(AccessLevel minAccessLevel) {
return (this);
}

public AccessLevel getMinAccessLevel() {
return minAccessLevel;
}

/**
* Limit results to projects with IDs greater than the specified projectID.
*
Expand All @@ -254,6 +326,10 @@ public ProjectFilter withIdAfter(Long idAfter) {
return (this);
}

public Long getIdAfter() {
return idAfter;
}

/**
* Limit results to projects with IDs less than the specified project ID.
*
Expand All @@ -265,6 +341,10 @@ public ProjectFilter withIdBefore(Long idBefore) {
return (this);
}

public Long getIdBefore() {
return idBefore;
}

/**
* Limit results to projects with last_activity after specified time.
*
Expand All @@ -276,6 +356,10 @@ public ProjectFilter withLastActivityAfter(Date lastActivityAfter) {
return (this);
}

public Date getLastActivityAfter() {
return lastActivityAfter;
}

/**
* Limit results to projects with last_activity before specified time.
*
Expand All @@ -287,6 +371,10 @@ public ProjectFilter withLastActivityBefore(Date lastActivityBefore) {
return (this);
}

public Date getLastActivityBefore() {
return lastActivityBefore;
}

/**
* Limit results to projects stored on the specified repository_storage. Available for admins only.
*
Expand All @@ -298,6 +386,10 @@ public ProjectFilter withRepositoryStorage(String repositoryStorage) {
return (this);
}

public String getRepositoryStorage() {
return repositoryStorage;
}

/**
* Limit results to projects which were imported from external systems by current user.
*
Expand All @@ -309,6 +401,10 @@ public ProjectFilter withImported(Boolean imported) {
return (this);
}

public Boolean getImported() {
return imported;
}

/**
* Limit results to projects that match all of given topics.
*
Expand All @@ -320,6 +416,10 @@ public ProjectFilter withTopic(String topic) {
return (this);
}

public String getTopic() {
return topic;
}

/**
* Limit results to projects with the assigned topic given by the topic ID.
*
Expand All @@ -331,6 +431,10 @@ public ProjectFilter withTopicId(Integer topic_id) {
return (this);
}

public Integer getTopicId() {
return topic_id;
}

/**
* Get the query params specified by this filter.
*
Expand Down