Package com.okta.sdk.resource.api
Class FeatureApi
java.lang.Object
com.okta.sdk.resource.api.FeatureApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.0")
public class FeatureApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFeature
(String featureId) Retrieve a Feature Retrieves a featuregetFeature
(String featureId, Map<String, String> additionalHeaders) Retrieve a Feature Retrieves a featureprotected static com.fasterxml.jackson.databind.ObjectMapper
listFeatureDependencies
(String featureId) List all Dependencies Lists all dependencieslistFeatureDependencies
(String featureId, Map<String, String> additionalHeaders) List all Dependencies Lists all dependencieslistFeatureDependents
(String featureId) List all Dependents Lists all dependentslistFeatureDependents
(String featureId, Map<String, String> additionalHeaders) List all Dependents Lists all dependentsList all Features Lists all featureslistFeatures
(Map<String, String> additionalHeaders) List all Features Lists all featuresvoid
setApiClient
(ApiClient apiClient) updateFeatureLifecycle
(String featureId, FeatureLifecycle lifecycle, String mode) Update a Feature Lifecycle Updates a feature lifecycleupdateFeatureLifecycle
(String featureId, FeatureLifecycle lifecycle, String mode, Map<String, String> additionalHeaders) Update a Feature Lifecycle Updates a feature lifecycle
-
Constructor Details
-
FeatureApi
public FeatureApi() -
FeatureApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getFeature
Retrieve a Feature Retrieves a feature- Parameters:
featureId
- `id` of the Feature (required)- Returns:
- Feature
- Throws:
ApiException
- if fails to make API call
-
getFeature
public Feature getFeature(String featureId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Feature Retrieves a feature- Parameters:
featureId
- `id` of the Feature (required)additionalHeaders
- additionalHeaders for this call- Returns:
- Feature
- Throws:
ApiException
- if fails to make API call
-
listFeatureDependencies
List all Dependencies Lists all dependencies- Parameters:
featureId
- `id` of the Feature (required)- Returns:
- List<Feature>
- Throws:
ApiException
- if fails to make API call
-
listFeatureDependencies
public List<Feature> listFeatureDependencies(String featureId, Map<String, String> additionalHeaders) throws ApiExceptionList all Dependencies Lists all dependencies- Parameters:
featureId
- `id` of the Feature (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<Feature>
- Throws:
ApiException
- if fails to make API call
-
listFeatureDependents
List all Dependents Lists all dependents- Parameters:
featureId
- `id` of the Feature (required)- Returns:
- List<Feature>
- Throws:
ApiException
- if fails to make API call
-
listFeatureDependents
public List<Feature> listFeatureDependents(String featureId, Map<String, String> additionalHeaders) throws ApiExceptionList all Dependents Lists all dependents- Parameters:
featureId
- `id` of the Feature (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<Feature>
- Throws:
ApiException
- if fails to make API call
-
listFeatures
List all Features Lists all features- Returns:
- List<Feature>
- Throws:
ApiException
- if fails to make API call
-
listFeatures
List all Features Lists all features- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- List<Feature>
- Throws:
ApiException
- if fails to make API call
-
updateFeatureLifecycle
public Feature updateFeatureLifecycle(String featureId, FeatureLifecycle lifecycle, String mode) throws ApiException Update a Feature Lifecycle Updates a feature lifecycle- Parameters:
featureId
- `id` of the Feature (required)lifecycle
- Whether to `enable` or `disable` the feature (required)mode
- (optional)- Returns:
- Feature
- Throws:
ApiException
- if fails to make API call
-
updateFeatureLifecycle
public Feature updateFeatureLifecycle(String featureId, FeatureLifecycle lifecycle, String mode, Map<String, String> additionalHeaders) throws ApiExceptionUpdate a Feature Lifecycle Updates a feature lifecycle- Parameters:
featureId
- `id` of the Feature (required)lifecycle
- Whether to `enable` or `disable` the feature (required)mode
- (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- Feature
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-