Package com.okta.sdk.resource.api
Class RateLimitSettingsApi
java.lang.Object
com.okta.sdk.resource.api.RateLimitSettingsApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class RateLimitSettingsApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static com.fasterxml.jackson.databind.ObjectMapper
Retrieve the Rate Limit Admin Notification Settings Retrieves the currently configured Rate Limit Admin Notification SettingsgetRateLimitSettingsAdminNotifications
(Map<String, String> additionalHeaders) Retrieve the Rate Limit Admin Notification Settings Retrieves the currently configured Rate Limit Admin Notification SettingsRetrieve the Per-Client Rate Limit Settings Retrieves the currently configured Per-Client Rate Limit SettingsgetRateLimitSettingsPerClient
(Map<String, String> additionalHeaders) Retrieve the Per-Client Rate Limit Settings Retrieves the currently configured Per-Client Rate Limit SettingsRetrieve the Rate Limit Warning Threshold Percentage Retrieves the currently configured threshold for warning notifications when the API's rate limit is exceededgetRateLimitSettingsWarningThreshold
(Map<String, String> additionalHeaders) Retrieve the Rate Limit Warning Threshold Percentage Retrieves the currently configured threshold for warning notifications when the API's rate limit is exceededreplaceRateLimitSettingsAdminNotifications
(RateLimitAdminNotifications rateLimitAdminNotifications) Replace the Rate Limit Admin Notification Settings Replaces the Rate Limit Admin Notification Settings and returns the configured propertiesreplaceRateLimitSettingsAdminNotifications
(RateLimitAdminNotifications rateLimitAdminNotifications, Map<String, String> additionalHeaders) Replace the Rate Limit Admin Notification Settings Replaces the Rate Limit Admin Notification Settings and returns the configured propertiesreplaceRateLimitSettingsPerClient
(PerClientRateLimitSettings perClientRateLimitSettings) Replace the Per-Client Rate Limit Settings Replaces the Per-Client Rate Limit Settings and returns the configured propertiesreplaceRateLimitSettingsPerClient
(PerClientRateLimitSettings perClientRateLimitSettings, Map<String, String> additionalHeaders) Replace the Per-Client Rate Limit Settings Replaces the Per-Client Rate Limit Settings and returns the configured propertiesreplaceRateLimitSettingsWarningThreshold
(RateLimitWarningThresholdRequest rateLimitWarningThreshold) Replace the Rate Limit Warning Threshold Percentage Replaces the Rate Limit Warning Threshold Percentage and returns the configured propertyreplaceRateLimitSettingsWarningThreshold
(RateLimitWarningThresholdRequest rateLimitWarningThreshold, Map<String, String> additionalHeaders) Replace the Rate Limit Warning Threshold Percentage Replaces the Rate Limit Warning Threshold Percentage and returns the configured propertyvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
RateLimitSettingsApi
public RateLimitSettingsApi() -
RateLimitSettingsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getRateLimitSettingsAdminNotifications
Retrieve the Rate Limit Admin Notification Settings Retrieves the currently configured Rate Limit Admin Notification Settings- Returns:
- RateLimitAdminNotifications
- Throws:
ApiException
- if fails to make API call
-
getRateLimitSettingsAdminNotifications
public RateLimitAdminNotifications getRateLimitSettingsAdminNotifications(Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Rate Limit Admin Notification Settings Retrieves the currently configured Rate Limit Admin Notification Settings- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- RateLimitAdminNotifications
- Throws:
ApiException
- if fails to make API call
-
getRateLimitSettingsPerClient
Retrieve the Per-Client Rate Limit Settings Retrieves the currently configured Per-Client Rate Limit Settings- Returns:
- PerClientRateLimitSettings
- Throws:
ApiException
- if fails to make API call
-
getRateLimitSettingsPerClient
public PerClientRateLimitSettings getRateLimitSettingsPerClient(Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Per-Client Rate Limit Settings Retrieves the currently configured Per-Client Rate Limit Settings- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- PerClientRateLimitSettings
- Throws:
ApiException
- if fails to make API call
-
getRateLimitSettingsWarningThreshold
Retrieve the Rate Limit Warning Threshold Percentage Retrieves the currently configured threshold for warning notifications when the API's rate limit is exceeded- Returns:
- RateLimitWarningThresholdResponse
- Throws:
ApiException
- if fails to make API call
-
getRateLimitSettingsWarningThreshold
public RateLimitWarningThresholdResponse getRateLimitSettingsWarningThreshold(Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Rate Limit Warning Threshold Percentage Retrieves the currently configured threshold for warning notifications when the API's rate limit is exceeded- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- RateLimitWarningThresholdResponse
- Throws:
ApiException
- if fails to make API call
-
replaceRateLimitSettingsAdminNotifications
public RateLimitAdminNotifications replaceRateLimitSettingsAdminNotifications(RateLimitAdminNotifications rateLimitAdminNotifications) throws ApiException Replace the Rate Limit Admin Notification Settings Replaces the Rate Limit Admin Notification Settings and returns the configured properties- Parameters:
rateLimitAdminNotifications
- (required)- Returns:
- RateLimitAdminNotifications
- Throws:
ApiException
- if fails to make API call
-
replaceRateLimitSettingsAdminNotifications
public RateLimitAdminNotifications replaceRateLimitSettingsAdminNotifications(RateLimitAdminNotifications rateLimitAdminNotifications, Map<String, String> additionalHeaders) throws ApiExceptionReplace the Rate Limit Admin Notification Settings Replaces the Rate Limit Admin Notification Settings and returns the configured properties- Parameters:
rateLimitAdminNotifications
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- RateLimitAdminNotifications
- Throws:
ApiException
- if fails to make API call
-
replaceRateLimitSettingsPerClient
public PerClientRateLimitSettings replaceRateLimitSettingsPerClient(PerClientRateLimitSettings perClientRateLimitSettings) throws ApiException Replace the Per-Client Rate Limit Settings Replaces the Per-Client Rate Limit Settings and returns the configured properties- Parameters:
perClientRateLimitSettings
- (required)- Returns:
- PerClientRateLimitSettings
- Throws:
ApiException
- if fails to make API call
-
replaceRateLimitSettingsPerClient
public PerClientRateLimitSettings replaceRateLimitSettingsPerClient(PerClientRateLimitSettings perClientRateLimitSettings, Map<String, String> additionalHeaders) throws ApiExceptionReplace the Per-Client Rate Limit Settings Replaces the Per-Client Rate Limit Settings and returns the configured properties- Parameters:
perClientRateLimitSettings
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- PerClientRateLimitSettings
- Throws:
ApiException
- if fails to make API call
-
replaceRateLimitSettingsWarningThreshold
public RateLimitWarningThresholdResponse replaceRateLimitSettingsWarningThreshold(RateLimitWarningThresholdRequest rateLimitWarningThreshold) throws ApiException Replace the Rate Limit Warning Threshold Percentage Replaces the Rate Limit Warning Threshold Percentage and returns the configured property- Parameters:
rateLimitWarningThreshold
- (optional)- Returns:
- RateLimitWarningThresholdResponse
- Throws:
ApiException
- if fails to make API call
-
replaceRateLimitSettingsWarningThreshold
public RateLimitWarningThresholdResponse replaceRateLimitSettingsWarningThreshold(RateLimitWarningThresholdRequest rateLimitWarningThreshold, Map<String, String> additionalHeaders) throws ApiExceptionReplace the Rate Limit Warning Threshold Percentage Replaces the Rate Limit Warning Threshold Percentage and returns the configured property- Parameters:
rateLimitWarningThreshold
- (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- RateLimitWarningThresholdResponse
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-