Class RiskProviderApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T16:19:57.008753975Z[Etc/UTC]", comments="Generator version: 7.8.0") public class RiskProviderApi extends Object
  • Constructor Details

    • RiskProviderApi

      public RiskProviderApi()
    • RiskProviderApi

      public RiskProviderApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createRiskProvider

      public RiskProvider createRiskProvider(RiskProvider instance) throws ApiException
      Create a Risk Provider Creates a Risk Provider object. A maximum of three Risk Provider objects can be created.
      Parameters:
      instance - (required)
      Returns:
      RiskProvider
      Throws:
      ApiException - if fails to make API call
    • createRiskProvider

      public RiskProvider createRiskProvider(RiskProvider instance, Map<String,String> additionalHeaders) throws ApiException
      Create a Risk Provider Creates a Risk Provider object. A maximum of three Risk Provider objects can be created.
      Parameters:
      instance - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      RiskProvider
      Throws:
      ApiException - if fails to make API call
    • deleteRiskProvider

      public void deleteRiskProvider(String riskProviderId) throws ApiException
      Delete a Risk Provider Deletes a Risk Provider object by its ID
      Parameters:
      riskProviderId - `id` of the Risk Provider object (required)
      Throws:
      ApiException - if fails to make API call
    • deleteRiskProvider

      public void deleteRiskProvider(String riskProviderId, Map<String,String> additionalHeaders) throws ApiException
      Delete a Risk Provider Deletes a Risk Provider object by its ID
      Parameters:
      riskProviderId - `id` of the Risk Provider object (required)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • getRiskProvider

      public RiskProvider getRiskProvider(String riskProviderId) throws ApiException
      Retrieve a Risk Provider Retrieves a Risk Provider object by ID
      Parameters:
      riskProviderId - `id` of the Risk Provider object (required)
      Returns:
      RiskProvider
      Throws:
      ApiException - if fails to make API call
    • getRiskProvider

      public RiskProvider getRiskProvider(String riskProviderId, Map<String,String> additionalHeaders) throws ApiException
      Retrieve a Risk Provider Retrieves a Risk Provider object by ID
      Parameters:
      riskProviderId - `id` of the Risk Provider object (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      RiskProvider
      Throws:
      ApiException - if fails to make API call
    • listRiskProviders

      public List<RiskProvider> listRiskProviders() throws ApiException
      List all Risk Providers Lists all Risk Provider objects
      Returns:
      List<RiskProvider>
      Throws:
      ApiException - if fails to make API call
    • listRiskProviders

      public List<RiskProvider> listRiskProviders(Map<String,String> additionalHeaders) throws ApiException
      List all Risk Providers Lists all Risk Provider objects
      Parameters:
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<RiskProvider>
      Throws:
      ApiException - if fails to make API call
    • replaceRiskProvider

      public RiskProvider replaceRiskProvider(String riskProviderId, RiskProvider instance) throws ApiException
      Replace a Risk Provider Replaces the properties for a given Risk Provider object ID
      Parameters:
      riskProviderId - `id` of the Risk Provider object (required)
      instance - (required)
      Returns:
      RiskProvider
      Throws:
      ApiException - if fails to make API call
    • replaceRiskProvider

      public RiskProvider replaceRiskProvider(String riskProviderId, RiskProvider instance, Map<String,String> additionalHeaders) throws ApiException
      Replace a Risk Provider Replaces the properties for a given Risk Provider object ID
      Parameters:
      riskProviderId - `id` of the Risk Provider object (required)
      instance - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      RiskProvider
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

      protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()