Package com.okta.sdk.resource.api
Class ApplicationApi
java.lang.Object
com.okta.sdk.resource.api.ApplicationApi
@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 ApplicationApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateApplication
(String appId) Activate an Application Activates an inactive applicationvoid
activateApplication
(String appId, Map<String, String> additionalHeaders) Activate an Application Activates an inactive applicationcreateApplication
(Application application, Boolean activate, String oktaAccessGatewayAgent) Create an Application Creates a new application to your Okta organizationcreateApplication
(Application application, Boolean activate, String oktaAccessGatewayAgent, Map<String, String> additionalHeaders) Create an Application Creates a new application to your Okta organizationvoid
deactivateApplication
(String appId) Deactivate an Application Deactivates an active applicationvoid
deactivateApplication
(String appId, Map<String, String> additionalHeaders) Deactivate an Application Deactivates an active applicationvoid
deleteApplication
(String appId) Delete an Application Deletes an inactive applicationvoid
deleteApplication
(String appId, Map<String, String> additionalHeaders) Delete an Application Deletes an inactive applicationgetApplication
(String appId, String expand) Retrieve an Application Retrieves an application from your Okta organization by `id`Retrieve an Application Retrieves an application from your Okta organization by `id`protected static com.fasterxml.jackson.databind.ObjectMapper
listApplications
(String q, String after, Integer limit, String filter, String expand, Boolean includeNonDeleted) List all Applications Lists all applications with pagination.listApplications
(String q, String after, Integer limit, String filter, String expand, Boolean includeNonDeleted, Map<String, String> additionalHeaders) List all Applications Lists all applications with pagination.replaceApplication
(String appId, Application application) Replace an Application Replaces an applicationreplaceApplication
(String appId, Application application, Map<String, String> additionalHeaders) Replace an Application Replaces an applicationvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
ApplicationApi
public ApplicationApi() -
ApplicationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
activateApplication
Activate an Application Activates an inactive application- Parameters:
appId
- ID of the Application (required)- Throws:
ApiException
- if fails to make API call
-
activateApplication
public void activateApplication(String appId, Map<String, String> additionalHeaders) throws ApiExceptionActivate an Application Activates an inactive application- Parameters:
appId
- ID of the Application (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
createApplication
public Application createApplication(Application application, Boolean activate, String oktaAccessGatewayAgent) throws ApiException Create an Application Creates a new application to your Okta organization- Parameters:
application
- (required)activate
- Executes activation lifecycle operation when creating the app (optional, default to true)oktaAccessGatewayAgent
- (optional)- Returns:
- Application
- Throws:
ApiException
- if fails to make API call
-
createApplication
public Application createApplication(Application application, Boolean activate, String oktaAccessGatewayAgent, Map<String, String> additionalHeaders) throws ApiExceptionCreate an Application Creates a new application to your Okta organization- Parameters:
application
- (required)activate
- Executes activation lifecycle operation when creating the app (optional, default to true)oktaAccessGatewayAgent
- (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- Application
- Throws:
ApiException
- if fails to make API call
-
deactivateApplication
Deactivate an Application Deactivates an active application- Parameters:
appId
- ID of the Application (required)- Throws:
ApiException
- if fails to make API call
-
deactivateApplication
public void deactivateApplication(String appId, Map<String, String> additionalHeaders) throws ApiExceptionDeactivate an Application Deactivates an active application- Parameters:
appId
- ID of the Application (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
deleteApplication
Delete an Application Deletes an inactive application- Parameters:
appId
- ID of the Application (required)- Throws:
ApiException
- if fails to make API call
-
deleteApplication
public void deleteApplication(String appId, Map<String, String> additionalHeaders) throws ApiExceptionDelete an Application Deletes an inactive application- Parameters:
appId
- ID of the Application (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getApplication
Retrieve an Application Retrieves an application from your Okta organization by `id`- Parameters:
appId
- ID of the Application (required)expand
- (optional)- Returns:
- Application
- Throws:
ApiException
- if fails to make API call
-
getApplication
public Application getApplication(String appId, String expand, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Application Retrieves an application from your Okta organization by `id`- Parameters:
appId
- ID of the Application (required)expand
- (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- Application
- Throws:
ApiException
- if fails to make API call
-
listApplications
public List<Application> listApplications(String q, String after, Integer limit, String filter, String expand, Boolean includeNonDeleted) throws ApiException List all Applications Lists all applications with pagination. A subset of apps can be returned that match a supported filter expression or query.- Parameters:
q
- (optional)after
- Specifies the pagination cursor for the next page of apps (optional)limit
- Specifies the number of results for a page (optional, default to -1)filter
- Filters apps by status, user.id, group.id or credentials.signing.kid expression (optional)expand
- Traverses users link relationship and optionally embeds Application User resource (optional)includeNonDeleted
- (optional, default to false)- Returns:
- List<Application>
- Throws:
ApiException
- if fails to make API call
-
listApplications
public List<Application> listApplications(String q, String after, Integer limit, String filter, String expand, Boolean includeNonDeleted, Map<String, String> additionalHeaders) throws ApiExceptionList all Applications Lists all applications with pagination. A subset of apps can be returned that match a supported filter expression or query.- Parameters:
q
- (optional)after
- Specifies the pagination cursor for the next page of apps (optional)limit
- Specifies the number of results for a page (optional, default to -1)filter
- Filters apps by status, user.id, group.id or credentials.signing.kid expression (optional)expand
- Traverses users link relationship and optionally embeds Application User resource (optional)includeNonDeleted
- (optional, default to false)additionalHeaders
- additionalHeaders for this call- Returns:
- List<Application>
- Throws:
ApiException
- if fails to make API call
-
replaceApplication
Replace an Application Replaces an application- Parameters:
appId
- ID of the Application (required)application
- (required)- Returns:
- Application
- Throws:
ApiException
- if fails to make API call
-
replaceApplication
public Application replaceApplication(String appId, Application application, Map<String, String> additionalHeaders) throws ApiExceptionReplace an Application Replaces an application- Parameters:
appId
- ID of the Application (required)application
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- Application
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-