@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class FeatureApi extends Object
Constructor and Description |
---|
FeatureApi() |
FeatureApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
Feature |
getFeature(String featureId)
Retrieve a Feature
Retrieves a feature
|
Feature |
getFeature(String featureId,
Map<String,String> additionalHeaders)
Retrieve a Feature
Retrieves a feature
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
List<Feature> |
listFeatureDependencies(String featureId)
List all Dependencies
Lists all dependencies
|
List<Feature> |
listFeatureDependencies(String featureId,
Map<String,String> additionalHeaders)
List all Dependencies
Lists all dependencies
|
List<Feature> |
listFeatureDependents(String featureId)
List all Dependents
Lists all dependents
|
List<Feature> |
listFeatureDependents(String featureId,
Map<String,String> additionalHeaders)
List all Dependents
Lists all dependents
|
List<Feature> |
listFeatures()
List all Features
Lists all features
|
List<Feature> |
listFeatures(Map<String,String> additionalHeaders)
List all Features
Lists all features
|
void |
setApiClient(ApiClient apiClient) |
Feature |
updateFeatureLifecycle(String featureId,
FeatureLifecycle lifecycle,
String mode)
Update a Feature Lifecycle
Updates a feature lifecycle
|
Feature |
updateFeatureLifecycle(String featureId,
FeatureLifecycle lifecycle,
String mode,
Map<String,String> additionalHeaders)
Update a Feature Lifecycle
Updates a feature lifecycle
|
public FeatureApi()
public FeatureApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Feature getFeature(String featureId) throws ApiException
featureId
- `id` of the Feature (required)ApiException
- if fails to make API callpublic Feature getFeature(String featureId, Map<String,String> additionalHeaders) throws ApiException
featureId
- `id` of the Feature (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<Feature> listFeatureDependencies(String featureId) throws ApiException
featureId
- `id` of the Feature (required)ApiException
- if fails to make API callpublic List<Feature> listFeatureDependencies(String featureId, Map<String,String> additionalHeaders) throws ApiException
featureId
- `id` of the Feature (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<Feature> listFeatureDependents(String featureId) throws ApiException
featureId
- `id` of the Feature (required)ApiException
- if fails to make API callpublic List<Feature> listFeatureDependents(String featureId, Map<String,String> additionalHeaders) throws ApiException
featureId
- `id` of the Feature (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<Feature> listFeatures() throws ApiException
ApiException
- if fails to make API callpublic List<Feature> listFeatures(Map<String,String> additionalHeaders) throws ApiException
additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic Feature updateFeatureLifecycle(String featureId, FeatureLifecycle lifecycle, String mode) throws ApiException
featureId
- `id` of the Feature (required)lifecycle
- Whether to `enable` or `disable` the feature (required)mode
- (optional)ApiException
- if fails to make API callpublic Feature updateFeatureLifecycle(String featureId, FeatureLifecycle lifecycle, String mode, Map<String,String> additionalHeaders) throws ApiException
featureId
- `id` of the Feature (required)lifecycle
- Whether to `enable` or `disable` the feature (required)mode
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.