Class RateLimitSettingsApi

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

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

    • RateLimitSettingsApi

      public RateLimitSettingsApi()
    • RateLimitSettingsApi

      public RateLimitSettingsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getRateLimitSettingsAdminNotifications

      public RateLimitAdminNotifications getRateLimitSettingsAdminNotifications() throws ApiException
      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 ApiException
      Retrieve 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

      public PerClientRateLimitSettings getRateLimitSettingsPerClient() throws ApiException
      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 ApiException
      Retrieve 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

      public RateLimitWarningThresholdResponse getRateLimitSettingsWarningThreshold() throws ApiException
      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 ApiException
      Retrieve 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 ApiException
      Replace 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 ApiException
      Replace 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 ApiException
      Replace 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()