public class ProjectFeaturesApi extends Object
| Constructor and Description |
|---|
ProjectFeaturesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<ContainerForProjectFeatures> |
getFeaturesForProject(String projectIdOrKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get project features
Returns the list of features for a project.
|
io.reactivex.Single<ContainerForProjectFeatures> |
toggleFeatureForProject(String projectIdOrKey,
String featureKey,
ProjectFeatureState projectFeatureState,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set project feature state
Sets the state of a project feature.
|
public ProjectFeaturesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<ContainerForProjectFeatures> getFeaturesForProject(String projectIdOrKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectIdOrKey - The ID or (case-sensitive) key of the project. (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<ContainerForProjectFeatures> toggleFeatureForProject(String projectIdOrKey, String featureKey, ProjectFeatureState projectFeatureState, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectIdOrKey - The ID or (case-sensitive) key of the project. (required)featureKey - The key of the feature. (required)projectFeatureState - Details of the feature state change. (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–2023 Everit Kft.. All rights reserved.