Class ApplicationFeaturesApi

java.lang.Object
com.okta.sdk.resource.api.ApplicationFeaturesApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T08:35:59.300824-05:00[America/Chicago]", comments="Generator version: 7.8.0") public class ApplicationFeaturesApi extends Object
  • Constructor Details

    • ApplicationFeaturesApi

      public ApplicationFeaturesApi()
    • ApplicationFeaturesApi

      public ApplicationFeaturesApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getFeatureForApplication

      public ApplicationFeature getFeatureForApplication(String appId, ApplicationFeatureType featureName) throws ApiException
      Retrieve a Feature Retrieves a Feature object for an app
      Parameters:
      appId - Application ID (required)
      featureName - Name of the Feature (required)
      Returns:
      ApplicationFeature
      Throws:
      ApiException - if fails to make API call
    • getFeatureForApplication

      public ApplicationFeature getFeatureForApplication(String appId, ApplicationFeatureType featureName, Map<String,String> additionalHeaders) throws ApiException
      Retrieve a Feature Retrieves a Feature object for an app
      Parameters:
      appId - Application ID (required)
      featureName - Name of the Feature (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      ApplicationFeature
      Throws:
      ApiException - if fails to make API call
    • listFeaturesForApplication

      public List<ApplicationFeature> listFeaturesForApplication(String appId) throws ApiException
      List all Features Lists all features for an app > **Note:** This request returns an error if provisioning isn't enabled for the app. > To set up provisioning, see [Update the default Provisioning Connection](/openapi/okta-management/management/tag/ApplicationConnections/#tag/ApplicationConnections/operation/updateDefaultProvisioningConnectionForApplication).
      Parameters:
      appId - Application ID (required)
      Returns:
      List<ApplicationFeature>
      Throws:
      ApiException - if fails to make API call
    • listFeaturesForApplication

      public List<ApplicationFeature> listFeaturesForApplication(String appId, Map<String,String> additionalHeaders) throws ApiException
      List all Features Lists all features for an app > **Note:** This request returns an error if provisioning isn't enabled for the app. > To set up provisioning, see [Update the default Provisioning Connection](/openapi/okta-management/management/tag/ApplicationConnections/#tag/ApplicationConnections/operation/updateDefaultProvisioningConnectionForApplication).
      Parameters:
      appId - Application ID (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<ApplicationFeature>
      Throws:
      ApiException - if fails to make API call
    • updateFeatureForApplication

      public ApplicationFeature updateFeatureForApplication(String appId, ApplicationFeatureType featureName, UpdateFeatureForApplicationRequest updateFeatureForApplicationRequest) throws ApiException
      Update a Feature Updates a Feature object for an app > **Note:** This endpoint supports partial updates.
      Parameters:
      appId - Application ID (required)
      featureName - Name of the Feature (required)
      updateFeatureForApplicationRequest - (required)
      Returns:
      ApplicationFeature
      Throws:
      ApiException - if fails to make API call
    • updateFeatureForApplication

      public ApplicationFeature updateFeatureForApplication(String appId, ApplicationFeatureType featureName, UpdateFeatureForApplicationRequest updateFeatureForApplicationRequest, Map<String,String> additionalHeaders) throws ApiException
      Update a Feature Updates a Feature object for an app > **Note:** This endpoint supports partial updates.
      Parameters:
      appId - Application ID (required)
      featureName - Name of the Feature (required)
      updateFeatureForApplicationRequest - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      ApplicationFeature
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

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