Package com.okta.sdk.resource.api
Class PrincipalRateLimitApi
java.lang.Object
com.okta.sdk.resource.api.PrincipalRateLimitApi
@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 PrincipalRateLimitApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a Principal Rate Limit Creates a new Principal Rate Limit entity.createPrincipalRateLimitEntity
(PrincipalRateLimitEntity entity, Map<String, String> additionalHeaders) Create a Principal Rate Limit Creates a new Principal Rate Limit entity.protected static com.fasterxml.jackson.databind.ObjectMapper
getPrincipalRateLimitEntity
(String principalRateLimitId) Retrieve a Principal Rate Limit Retrieves a Principal Rate Limit entity by `principalRateLimitId`getPrincipalRateLimitEntity
(String principalRateLimitId, Map<String, String> additionalHeaders) Retrieve a Principal Rate Limit Retrieves a Principal Rate Limit entity by `principalRateLimitId`listPrincipalRateLimitEntities
(String filter, String after, Integer limit) List all Principal Rate Limits Lists all Principal Rate Limit entities considering the provided parameterslistPrincipalRateLimitEntities
(String filter, String after, Integer limit, Map<String, String> additionalHeaders) List all Principal Rate Limits Lists all Principal Rate Limit entities considering the provided parametersreplacePrincipalRateLimitEntity
(String principalRateLimitId, PrincipalRateLimitEntity entity) Replace a Principal Rate Limit Replaces a principal rate limit entity by `principalRateLimitId`replacePrincipalRateLimitEntity
(String principalRateLimitId, PrincipalRateLimitEntity entity, Map<String, String> additionalHeaders) Replace a Principal Rate Limit Replaces a principal rate limit entity by `principalRateLimitId`void
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
PrincipalRateLimitApi
public PrincipalRateLimitApi() -
PrincipalRateLimitApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createPrincipalRateLimitEntity
public PrincipalRateLimitEntity createPrincipalRateLimitEntity(PrincipalRateLimitEntity entity) throws ApiException Create a Principal Rate Limit Creates a new Principal Rate Limit entity. In the current release, we only allow one Principal Rate Limit entity per org and principal.- Parameters:
entity
- (required)- Returns:
- PrincipalRateLimitEntity
- Throws:
ApiException
- if fails to make API call
-
createPrincipalRateLimitEntity
public PrincipalRateLimitEntity createPrincipalRateLimitEntity(PrincipalRateLimitEntity entity, Map<String, String> additionalHeaders) throws ApiExceptionCreate a Principal Rate Limit Creates a new Principal Rate Limit entity. In the current release, we only allow one Principal Rate Limit entity per org and principal.- Parameters:
entity
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- PrincipalRateLimitEntity
- Throws:
ApiException
- if fails to make API call
-
getPrincipalRateLimitEntity
public PrincipalRateLimitEntity getPrincipalRateLimitEntity(String principalRateLimitId) throws ApiException Retrieve a Principal Rate Limit Retrieves a Principal Rate Limit entity by `principalRateLimitId`- Parameters:
principalRateLimitId
- id of the Principal Rate Limit (required)- Returns:
- PrincipalRateLimitEntity
- Throws:
ApiException
- if fails to make API call
-
getPrincipalRateLimitEntity
public PrincipalRateLimitEntity getPrincipalRateLimitEntity(String principalRateLimitId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Principal Rate Limit Retrieves a Principal Rate Limit entity by `principalRateLimitId`- Parameters:
principalRateLimitId
- id of the Principal Rate Limit (required)additionalHeaders
- additionalHeaders for this call- Returns:
- PrincipalRateLimitEntity
- Throws:
ApiException
- if fails to make API call
-
listPrincipalRateLimitEntities
public List<PrincipalRateLimitEntity> listPrincipalRateLimitEntities(String filter, String after, Integer limit) throws ApiException List all Principal Rate Limits Lists all Principal Rate Limit entities considering the provided parameters- Parameters:
filter
- (optional)after
- (optional)limit
- (optional, default to 20)- Returns:
- List<PrincipalRateLimitEntity>
- Throws:
ApiException
- if fails to make API call
-
listPrincipalRateLimitEntities
public List<PrincipalRateLimitEntity> listPrincipalRateLimitEntities(String filter, String after, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all Principal Rate Limits Lists all Principal Rate Limit entities considering the provided parameters- Parameters:
filter
- (optional)after
- (optional)limit
- (optional, default to 20)additionalHeaders
- additionalHeaders for this call- Returns:
- List<PrincipalRateLimitEntity>
- Throws:
ApiException
- if fails to make API call
-
replacePrincipalRateLimitEntity
public PrincipalRateLimitEntity replacePrincipalRateLimitEntity(String principalRateLimitId, PrincipalRateLimitEntity entity) throws ApiException Replace a Principal Rate Limit Replaces a principal rate limit entity by `principalRateLimitId`- Parameters:
principalRateLimitId
- id of the Principal Rate Limit (required)entity
- (required)- Returns:
- PrincipalRateLimitEntity
- Throws:
ApiException
- if fails to make API call
-
replacePrincipalRateLimitEntity
public PrincipalRateLimitEntity replacePrincipalRateLimitEntity(String principalRateLimitId, PrincipalRateLimitEntity entity, Map<String, String> additionalHeaders) throws ApiExceptionReplace a Principal Rate Limit Replaces a principal rate limit entity by `principalRateLimitId`- Parameters:
principalRateLimitId
- id of the Principal Rate Limit (required)entity
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- PrincipalRateLimitEntity
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-