public class ProjectTypesApi extends Object
| Constructor and Description |
|---|
ProjectTypesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<ProjectType> |
getAccessibleProjectTypeByKey(String projectTypeKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get accessible project type by key
Returns a [project type](https://confluence.atlassian.com/x/Var1Nw) if it is accessible to the user.
|
io.reactivex.Single<List<ProjectType>> |
getAllAccessibleProjectTypes(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get licensed project types
Returns all [project types](https://confluence.atlassian.com/x/Var1Nw) with a valid license.
|
io.reactivex.Single<List<ProjectType>> |
getAllProjectTypes(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get all project types
Returns all [project types](https://confluence.atlassian.com/x/Var1Nw), whether or not the instance has a valid license for each type.
|
io.reactivex.Single<ProjectType> |
getProjectTypeByKey(String projectTypeKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get project type by key
Returns a [project type](https://confluence.atlassian.com/x/Var1Nw).
|
public ProjectTypesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<ProjectType> getAccessibleProjectTypeByKey(String projectTypeKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectTypeKey - The key of the project type. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<List<ProjectType>> getAllAccessibleProjectTypes(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<List<ProjectType>> getAllProjectTypes(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<ProjectType> getProjectTypeByKey(String projectTypeKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectTypeKey - The key of the project type. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.