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-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class ApplicationFeaturesApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFeatureForApplication
(String appId, ApplicationFeatureType featureName) Retrieve a Feature Retrieves a Feature object for an appgetFeatureForApplication
(String appId, ApplicationFeatureType featureName, Map<String, String> additionalHeaders) Retrieve a Feature Retrieves a Feature object for an appprotected static com.fasterxml.jackson.databind.ObjectMapper
listFeaturesForApplication
(String appId) List all Features Lists all features for an app > **Note:** This request returns an error if provisioning isn't enabled for the app.listFeaturesForApplication
(String appId, Map<String, String> additionalHeaders) List all Features Lists all features for an app > **Note:** This request returns an error if provisioning isn't enabled for the app.void
setApiClient
(ApiClient apiClient) updateFeatureForApplication
(String appId, ApplicationFeatureType featureName, UpdateFeatureForApplicationRequest updateFeatureForApplicationRequest) Update a Feature Updates a Feature object for an app > **Note:** This endpoint supports partial updates.updateFeatureForApplication
(String appId, ApplicationFeatureType featureName, UpdateFeatureForApplicationRequest updateFeatureForApplicationRequest, Map<String, String> additionalHeaders) Update a Feature Updates a Feature object for an app > **Note:** This endpoint supports partial updates.
-
Constructor Details
-
ApplicationFeaturesApi
public ApplicationFeaturesApi() -
ApplicationFeaturesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 ApiExceptionRetrieve 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
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 ApiExceptionList 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 ApiExceptionUpdate 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()
-