Class ApplicationFeaturesApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-11-08T09:55:44.762073-06:00[America/Chicago]") 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, String featureName) throws ApiException
      Retrieve a Feature Retrieves a Feature object for an application
      Parameters:
      appId - ID of the Application (required)
      featureName - Name of the Feature (required)
      Returns:
      ApplicationFeature
      Throws:
      ApiException - if fails to make API call
    • getFeatureForApplication

      public ApplicationFeature getFeatureForApplication(String appId, String featureName, Map<String,String> additionalHeaders) throws ApiException
      Retrieve a Feature Retrieves a Feature object for an application
      Parameters:
      appId - ID of the Application (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 application > **Note:** The only application feature currently supported is `USER_PROVISIONING`. > This request returns an error if provisioning isn't enabled for the application. > To set up provisioning, see [Update the default Provisioning Connection](/openapi/okta-management/management/tag/ApplicationConnections/#tag/ApplicationConnections/operation/updateDefaultProvisioningConnectionForApplication).
      Parameters:
      appId - ID of the Application (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 application > **Note:** The only application feature currently supported is `USER_PROVISIONING`. > This request returns an error if provisioning isn't enabled for the application. > To set up provisioning, see [Update the default Provisioning Connection](/openapi/okta-management/management/tag/ApplicationConnections/#tag/ApplicationConnections/operation/updateDefaultProvisioningConnectionForApplication).
      Parameters:
      appId - ID of the Application (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<ApplicationFeature>
      Throws:
      ApiException - if fails to make API call
    • updateFeatureForApplication

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

      public ApplicationFeature updateFeatureForApplication(String appId, String featureName, CapabilitiesObject capabilitiesObject, Map<String,String> additionalHeaders) throws ApiException
      Update a Feature Updates a Feature object for an application > **Note:** This endpoint supports partial updates.
      Parameters:
      appId - ID of the Application (required)
      featureName - Name of the Feature (required)
      capabilitiesObject - (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()