Class RiskProviderApi

java.lang.Object
org.openapitools.client.api.RiskProviderApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-19T09:13:44.263607-05:00[America/Chicago]") @Component("org.openapitools.client.api.RiskProviderApi") public class RiskProviderApi extends Object
  • Constructor Details

    • RiskProviderApi

      public RiskProviderApi()
    • RiskProviderApi

      @Autowired public RiskProviderApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createRiskProvider

      public RiskProvider createRiskProvider(RiskProvider instance) throws org.springframework.web.client.RestClientException
      Create a Risk Provider Creates a risk provider. A maximum of 3 providers can be created. By default, one risk provider is created by Okta.

      201 - Created

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      instance - (required)
      Returns:
      RiskProvider
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createRiskProvider

      public <T> T createRiskProvider(Class<?> T, RiskProvider instance) throws org.springframework.web.client.RestClientException
      Create a Risk Provider Creates a risk provider. A maximum of 3 providers can be created. By default, one risk provider is created by Okta.

      201 - Created

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      instance - (required)
      Returns:
      T instance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createRiskProviderWithHttpInfo

      public org.springframework.http.ResponseEntity<RiskProvider> createRiskProviderWithHttpInfo(RiskProvider instance) throws org.springframework.web.client.RestClientException
      Create a Risk Provider Creates a risk provider. A maximum of 3 providers can be created. By default, one risk provider is created by Okta.

      201 - Created

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      instance - (required)
      Returns:
      ResponseEntity<RiskProvider>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createRiskProviderWithPaginationInfo

      public PagedList createRiskProviderWithPaginationInfo(RiskProvider instance) throws org.springframework.web.client.RestClientException
      Create a Risk Provider Creates a risk provider. A maximum of 3 providers can be created. By default, one risk provider is created by Okta.

      201 - Created

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      instance - (required)
      Returns:
      ResponseEntity<RiskProvider>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deleteRiskProvider

      public void deleteRiskProvider(String riskProviderId) throws org.springframework.web.client.RestClientException
      Delete a Risk Provider Deletes a CAPTCHA instance by `riskProviderId`

      204 - No Content

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      riskProviderId - `id` of the risk provider (required)
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deleteRiskProviderWithHttpInfo

      public org.springframework.http.ResponseEntity<Void> deleteRiskProviderWithHttpInfo(String riskProviderId) throws org.springframework.web.client.RestClientException
      Delete a Risk Provider Deletes a CAPTCHA instance by `riskProviderId`

      204 - No Content

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      riskProviderId - `id` of the risk provider (required)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getRiskProvider

      public RiskProvider getRiskProvider(String riskProviderId) throws org.springframework.web.client.RestClientException
      Retrieve a Risk Provider Retrieves a risk provider by `riskProviderId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      riskProviderId - `id` of the risk provider (required)
      Returns:
      RiskProvider
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getRiskProviderWithHttpInfo

      public org.springframework.http.ResponseEntity<RiskProvider> getRiskProviderWithHttpInfo(String riskProviderId) throws org.springframework.web.client.RestClientException
      Retrieve a Risk Provider Retrieves a risk provider by `riskProviderId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      riskProviderId - `id` of the risk provider (required)
      Returns:
      ResponseEntity<RiskProvider>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getRiskProviderWithPaginationInfo

      public PagedList getRiskProviderWithPaginationInfo(String riskProviderId) throws org.springframework.web.client.RestClientException
      Retrieve a Risk Provider Retrieves a risk provider by `riskProviderId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      riskProviderId - `id` of the risk provider (required)
      Returns:
      ResponseEntity<RiskProvider>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listRiskProviders

      public List<RiskProvider> listRiskProviders() throws org.springframework.web.client.RestClientException
      List all Risk Providers Lists all Risk Providers

      200 - OK

      403 - Forbidden

      429 - Too Many Requests

      Returns:
      List<RiskProvider>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listRiskProvidersWithHttpInfo

      public org.springframework.http.ResponseEntity<List<RiskProvider>> listRiskProvidersWithHttpInfo() throws org.springframework.web.client.RestClientException
      List all Risk Providers Lists all Risk Providers

      200 - OK

      403 - Forbidden

      429 - Too Many Requests

      Returns:
      ResponseEntity<List<RiskProvider>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listRiskProvidersWithPaginationInfo

      public PagedList listRiskProvidersWithPaginationInfo() throws org.springframework.web.client.RestClientException
      List all Risk Providers Lists all Risk Providers

      200 - OK

      403 - Forbidden

      429 - Too Many Requests

      Returns:
      ResponseEntity<List<RiskProvider>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceRiskProvider

      public RiskProvider replaceRiskProvider(String riskProviderId, RiskProvider instance) throws org.springframework.web.client.RestClientException
      Replace a Risk Provider Replaces a risk provider by `riskProviderId`

      200 - OK

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      riskProviderId - `id` of the risk provider (required)
      instance - (required)
      Returns:
      RiskProvider
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceRiskProvider

      public <T> T replaceRiskProvider(Class<?> T, String riskProviderId, RiskProvider instance) throws org.springframework.web.client.RestClientException
      Replace a Risk Provider Replaces a risk provider by `riskProviderId`

      200 - OK

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      riskProviderId - `id` of the risk provider (required)
      instance - (required)
      Returns:
      T instance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceRiskProviderWithHttpInfo

      public org.springframework.http.ResponseEntity<RiskProvider> replaceRiskProviderWithHttpInfo(String riskProviderId, RiskProvider instance) throws org.springframework.web.client.RestClientException
      Replace a Risk Provider Replaces a risk provider by `riskProviderId`

      200 - OK

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      riskProviderId - `id` of the risk provider (required)
      instance - (required)
      Returns:
      ResponseEntity<RiskProvider>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceRiskProviderWithPaginationInfo

      public PagedList replaceRiskProviderWithPaginationInfo(String riskProviderId, RiskProvider instance) throws org.springframework.web.client.RestClientException
      Replace a Risk Provider Replaces a risk provider by `riskProviderId`

      200 - OK

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      riskProviderId - `id` of the risk provider (required)
      instance - (required)
      Returns:
      ResponseEntity<RiskProvider>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API