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 Details

    • FeatureApi

      public FeatureApi()
    • FeatureApi

      public FeatureApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getFeature

      public Feature getFeature(String featureId) throws ApiException
      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 ApiException
      Retrieve 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

      public List<Feature> listFeatureDependencies(String featureId) throws ApiException
      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 ApiException
      List 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

      public List<Feature> listFeatureDependents(String featureId) throws ApiException
      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 ApiException
      List 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

      public List<Feature> listFeatures() throws ApiException
      List all Features Lists all features
      Returns:
      List<Feature>
      Throws:
      ApiException - if fails to make API call
    • listFeatures

      public List<Feature> listFeatures(Map<String,String> additionalHeaders) throws ApiException
      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 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)
      additionalHeaders - additionalHeaders for this call
      Returns:
      Feature
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

      protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()