GetProjectsPlainArgs

data class GetProjectsPlainArgs(val archived: Boolean? = null, val groupId: Int? = null, val includeSubgroups: Boolean? = null, val maxQueryablePages: Int? = null, val membership: Boolean? = null, val minAccessLevel: Int? = null, val orderBy: String? = null, val owned: Boolean? = null, val page: Int? = null, val perPage: Int? = null, val search: String? = null, val simple: Boolean? = null, val sort: String? = null, val starred: Boolean? = null, val statistics: Boolean? = null, val visibility: String? = null, val withCustomAttributes: Boolean? = null, val withIssuesEnabled: Boolean? = null, val withMergeRequestsEnabled: Boolean? = null, val withProgrammingLanguage: String? = null, val withShared: Boolean? = null) : ConvertibleToJava<GetProjectsPlainArgs>

A collection of arguments for invoking getProjects.

Constructors

Link copied to clipboard
constructor(archived: Boolean? = null, groupId: Int? = null, includeSubgroups: Boolean? = null, maxQueryablePages: Int? = null, membership: Boolean? = null, minAccessLevel: Int? = null, orderBy: String? = null, owned: Boolean? = null, page: Int? = null, perPage: Int? = null, search: String? = null, simple: Boolean? = null, sort: String? = null, starred: Boolean? = null, statistics: Boolean? = null, visibility: String? = null, withCustomAttributes: Boolean? = null, withIssuesEnabled: Boolean? = null, withMergeRequestsEnabled: Boolean? = null, withProgrammingLanguage: String? = null, withShared: Boolean? = null)

Properties

Link copied to clipboard
val archived: Boolean? = null

Limit by archived status.

Link copied to clipboard
val groupId: Int? = null

The ID of the group owned by the authenticated user to look projects for within. Cannot be used with min_access_level, with_programming_language or statistics.

Link copied to clipboard

Include projects in subgroups of this group. Default is false. Needs group_id.

Link copied to clipboard
val maxQueryablePages: Int? = null

The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.

Link copied to clipboard
val membership: Boolean? = null

Limit by projects that the current user is a member of.

Link copied to clipboard
val minAccessLevel: Int? = null

Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.

Link copied to clipboard
val orderBy: String? = null

Return projects ordered by id, name, path, created_at, updated_at, or last_activity_at fields. Default is created_at.

Link copied to clipboard
val owned: Boolean? = null

Limit by projects owned by the current user.

Link copied to clipboard
val page: Int? = null

The first page to begin the query on.

Link copied to clipboard
val perPage: Int? = null

The number of results to return per page.

Link copied to clipboard
val search: String? = null

Return list of authorized projects matching the search criteria.

Link copied to clipboard
val simple: Boolean? = null

Return only the ID, URL, name, and path of each project.

Link copied to clipboard
val sort: String? = null

Return projects sorted in asc or desc order. Default is desc.

Link copied to clipboard
val starred: Boolean? = null

Limit by projects starred by the current user.

Link copied to clipboard
val statistics: Boolean? = null

Include project statistics. Cannot be used with group_id.

Link copied to clipboard
val visibility: String? = null

Limit by visibility public, internal, or private.

Link copied to clipboard

Include custom attributes in response (admins only).

Link copied to clipboard

Limit by projects with issues feature enabled. Default is false.

Link copied to clipboard

Limit by projects with merge requests feature enabled. Default is false.

Link copied to clipboard

Limit by projects which use the given programming language. Cannot be used with group_id.

Link copied to clipboard
val withShared: Boolean? = null

Include projects shared to this group. Default is true. Needs group_id.

Functions

Link copied to clipboard
open override fun toJava(): GetProjectsPlainArgs