Package com.okta.sdk.resource.api
Class ApplicationFeaturesApi
java.lang.Object
com.okta.sdk.resource.api.ApplicationFeaturesApi
@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 ApplicationFeaturesApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFeatureForApplication
(String appId, String featureName) Retrieve a Feature Retrieves a Feature object for an applicationRetrieve a Feature Retrieves a Feature object for an applicationprotected static com.fasterxml.jackson.databind.ObjectMapper
listFeaturesForApplication
(String appId) List all Features Lists all features for an application > **Note:** The only application feature currently supported is `USER_PROVISIONING`.listFeaturesForApplication
(String appId, Map<String, String> additionalHeaders) List all Features Lists all features for an application > **Note:** The only application feature currently supported is `USER_PROVISIONING`.void
setApiClient
(ApiClient apiClient) updateFeatureForApplication
(String appId, String featureName, CapabilitiesObject capabilitiesObject) Update a Feature Updates a Feature object for an application > **Note:** This endpoint supports partial updates.updateFeatureForApplication
(String appId, String featureName, CapabilitiesObject capabilitiesObject, Map<String, String> additionalHeaders) Update a Feature Updates a Feature object for an application > **Note:** This endpoint supports partial updates.
-
Constructor Details
-
ApplicationFeaturesApi
public ApplicationFeaturesApi() -
ApplicationFeaturesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 ApiExceptionRetrieve 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
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 ApiExceptionList 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 ApiExceptionUpdate 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()
-