public class NamespaceApi extends AbstractApi
| Constructor and Description |
|---|
NamespaceApi(GitLabApi gitLabApi) |
| Modifier and Type | Method and Description |
|---|---|
List<Namespace> |
findNamespaces(String query)
Get all namespaces that match a string in their name or path.
|
List<Namespace> |
getNamespaces()
Get a list of the namespaces of the authenticated user.
|
addFormParam, addFormParam, delete, delete, get, get, getApiClient, handle, post, post, post, put, put, validatepublic NamespaceApi(GitLabApi gitLabApi)
public List<Namespace> getNamespaces() throws GitLabApiException
GitLabApiException - if any exception occurspublic List<Namespace> findNamespaces(String query) throws GitLabApiException
query - the search stringGitLabApiException - if any exception occursCopyright © 2017. All rights reserved.