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 Details

    • ApplicationApi

      public ApplicationApi()
    • ApplicationApi

      public ApplicationApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • activateApplication

      public void activateApplication(String appId) throws ApiException
      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 ApiException
      Activate 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 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)
      additionalHeaders - additionalHeaders for this call
      Returns:
      Application
      Throws:
      ApiException - if fails to make API call
    • deactivateApplication

      public void deactivateApplication(String appId) throws ApiException
      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 ApiException
      Deactivate 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

      public void deleteApplication(String appId) throws ApiException
      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 ApiException
      Delete 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

      public Application getApplication(String appId, String expand) throws ApiException
      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 ApiException
      Retrieve 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 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)
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<Application>
      Throws:
      ApiException - if fails to make API call
    • replaceApplication

      public Application replaceApplication(String appId, Application application) throws ApiException
      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 ApiException
      Replace 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()