Package com.okta.sdk.resource.api
Class RiskProviderApi
java.lang.Object
com.okta.sdk.resource.api.RiskProviderApi
@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 RiskProviderApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateRiskProvider
(RiskProvider instance) Create a Risk Provider Creates a Risk Provider object.createRiskProvider
(RiskProvider instance, Map<String, String> additionalHeaders) Create a Risk Provider Creates a Risk Provider object.void
deleteRiskProvider
(String riskProviderId) Delete a Risk Provider Deletes a Risk Provider object by its IDvoid
deleteRiskProvider
(String riskProviderId, Map<String, String> additionalHeaders) Delete a Risk Provider Deletes a Risk Provider object by its IDprotected static com.fasterxml.jackson.databind.ObjectMapper
getRiskProvider
(String riskProviderId) Retrieve a Risk Provider Retrieves a Risk Provider object by IDgetRiskProvider
(String riskProviderId, Map<String, String> additionalHeaders) Retrieve a Risk Provider Retrieves a Risk Provider object by IDList all Risk Providers Lists all Risk Provider objectslistRiskProviders
(Map<String, String> additionalHeaders) List all Risk Providers Lists all Risk Provider objectsreplaceRiskProvider
(String riskProviderId, RiskProvider instance) Replace a Risk Provider Replaces the properties for a given Risk Provider object IDreplaceRiskProvider
(String riskProviderId, RiskProvider instance, Map<String, String> additionalHeaders) Replace a Risk Provider Replaces the properties for a given Risk Provider object IDvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
RiskProviderApi
public RiskProviderApi() -
RiskProviderApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createRiskProvider
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 ApiExceptionCreate 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
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 ApiExceptionDelete 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
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 ApiExceptionRetrieve 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
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 ApiExceptionList 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 ApiExceptionReplace 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()
-