@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class BehaviorApi extends Object
Constructor and Description |
---|
BehaviorApi() |
BehaviorApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
BehaviorRule |
activateBehaviorDetectionRule(String behaviorId)
Activate a Behavior Detection Rule
Activates a behavior detection rule
|
BehaviorRule |
activateBehaviorDetectionRule(String behaviorId,
Map<String,String> additionalHeaders)
Activate a Behavior Detection Rule
Activates a behavior detection rule
|
BehaviorRule |
createBehaviorDetectionRule(BehaviorRule rule)
Create a Behavior Detection Rule
Creates a new behavior detection rule
|
BehaviorRule |
createBehaviorDetectionRule(BehaviorRule rule,
Map<String,String> additionalHeaders)
Create a Behavior Detection Rule
Creates a new behavior detection rule
|
BehaviorRule |
deactivateBehaviorDetectionRule(String behaviorId)
Deactivate a Behavior Detection Rule
Deactivates a behavior detection rule
|
BehaviorRule |
deactivateBehaviorDetectionRule(String behaviorId,
Map<String,String> additionalHeaders)
Deactivate a Behavior Detection Rule
Deactivates a behavior detection rule
|
void |
deleteBehaviorDetectionRule(String behaviorId)
Delete a Behavior Detection Rule
Deletes a Behavior Detection Rule by `behaviorId`
|
void |
deleteBehaviorDetectionRule(String behaviorId,
Map<String,String> additionalHeaders)
Delete a Behavior Detection Rule
Deletes a Behavior Detection Rule by `behaviorId`
|
ApiClient |
getApiClient() |
BehaviorRule |
getBehaviorDetectionRule(String behaviorId)
Retrieve a Behavior Detection Rule
Retrieves a Behavior Detection Rule by `behaviorId`
|
BehaviorRule |
getBehaviorDetectionRule(String behaviorId,
Map<String,String> additionalHeaders)
Retrieve a Behavior Detection Rule
Retrieves a Behavior Detection Rule by `behaviorId`
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
List<BehaviorRule> |
listBehaviorDetectionRules()
List all Behavior Detection Rules
Lists all behavior detection rules with pagination support
|
List<BehaviorRule> |
listBehaviorDetectionRules(Map<String,String> additionalHeaders)
List all Behavior Detection Rules
Lists all behavior detection rules with pagination support
|
BehaviorRule |
replaceBehaviorDetectionRule(String behaviorId,
BehaviorRule rule)
Replace a Behavior Detection Rule
Replaces a Behavior Detection Rule by `behaviorId`
|
BehaviorRule |
replaceBehaviorDetectionRule(String behaviorId,
BehaviorRule rule,
Map<String,String> additionalHeaders)
Replace a Behavior Detection Rule
Replaces a Behavior Detection Rule by `behaviorId`
|
void |
setApiClient(ApiClient apiClient) |
public BehaviorApi()
public BehaviorApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public BehaviorRule activateBehaviorDetectionRule(String behaviorId) throws ApiException
behaviorId
- id of the Behavior Detection Rule (required)ApiException
- if fails to make API callpublic BehaviorRule activateBehaviorDetectionRule(String behaviorId, Map<String,String> additionalHeaders) throws ApiException
behaviorId
- id of the Behavior Detection Rule (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic BehaviorRule createBehaviorDetectionRule(BehaviorRule rule) throws ApiException
rule
- (required)ApiException
- if fails to make API callpublic BehaviorRule createBehaviorDetectionRule(BehaviorRule rule, Map<String,String> additionalHeaders) throws ApiException
rule
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic BehaviorRule deactivateBehaviorDetectionRule(String behaviorId) throws ApiException
behaviorId
- id of the Behavior Detection Rule (required)ApiException
- if fails to make API callpublic BehaviorRule deactivateBehaviorDetectionRule(String behaviorId, Map<String,String> additionalHeaders) throws ApiException
behaviorId
- id of the Behavior Detection Rule (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteBehaviorDetectionRule(String behaviorId) throws ApiException
behaviorId
- id of the Behavior Detection Rule (required)ApiException
- if fails to make API callpublic void deleteBehaviorDetectionRule(String behaviorId, Map<String,String> additionalHeaders) throws ApiException
behaviorId
- id of the Behavior Detection Rule (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic BehaviorRule getBehaviorDetectionRule(String behaviorId) throws ApiException
behaviorId
- id of the Behavior Detection Rule (required)ApiException
- if fails to make API callpublic BehaviorRule getBehaviorDetectionRule(String behaviorId, Map<String,String> additionalHeaders) throws ApiException
behaviorId
- id of the Behavior Detection Rule (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<BehaviorRule> listBehaviorDetectionRules() throws ApiException
ApiException
- if fails to make API callpublic List<BehaviorRule> listBehaviorDetectionRules(Map<String,String> additionalHeaders) throws ApiException
additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic BehaviorRule replaceBehaviorDetectionRule(String behaviorId, BehaviorRule rule) throws ApiException
behaviorId
- id of the Behavior Detection Rule (required)rule
- (required)ApiException
- if fails to make API callpublic BehaviorRule replaceBehaviorDetectionRule(String behaviorId, BehaviorRule rule, Map<String,String> additionalHeaders) throws ApiException
behaviorId
- id of the Behavior Detection Rule (required)rule
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.