Class BehaviorApi

java.lang.Object
org.openapitools.client.api.BehaviorApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-19T09:13:44.263607-05:00[America/Chicago]") @Component("org.openapitools.client.api.BehaviorApi") public class BehaviorApi extends Object
  • Constructor Details

    • BehaviorApi

      public BehaviorApi()
    • BehaviorApi

      @Autowired public BehaviorApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • activateBehaviorDetectionRule

      public BehaviorRule activateBehaviorDetectionRule(String behaviorId) throws org.springframework.web.client.RestClientException
      Activate a Behavior Detection Rule Activates a behavior detection rule

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      BehaviorRule
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • activateBehaviorDetectionRuleWithHttpInfo

      public org.springframework.http.ResponseEntity<BehaviorRule> activateBehaviorDetectionRuleWithHttpInfo(String behaviorId) throws org.springframework.web.client.RestClientException
      Activate a Behavior Detection Rule Activates a behavior detection rule

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      ResponseEntity<BehaviorRule>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • activateBehaviorDetectionRuleWithPaginationInfo

      public PagedList activateBehaviorDetectionRuleWithPaginationInfo(String behaviorId) throws org.springframework.web.client.RestClientException
      Activate a Behavior Detection Rule Activates a behavior detection rule

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      ResponseEntity<BehaviorRule>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createBehaviorDetectionRule

      public BehaviorRule createBehaviorDetectionRule(BehaviorRule rule) throws org.springframework.web.client.RestClientException
      Create a Behavior Detection Rule Creates a new behavior detection rule

      201 - Created

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      rule - (required)
      Returns:
      BehaviorRule
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createBehaviorDetectionRule

      public <T> T createBehaviorDetectionRule(Class<?> T, BehaviorRule rule) throws org.springframework.web.client.RestClientException
      Create a Behavior Detection Rule Creates a new behavior detection rule

      201 - Created

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      rule - (required)
      Returns:
      T instance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createBehaviorDetectionRuleWithHttpInfo

      public org.springframework.http.ResponseEntity<BehaviorRule> createBehaviorDetectionRuleWithHttpInfo(BehaviorRule rule) throws org.springframework.web.client.RestClientException
      Create a Behavior Detection Rule Creates a new behavior detection rule

      201 - Created

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      rule - (required)
      Returns:
      ResponseEntity<BehaviorRule>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createBehaviorDetectionRuleWithPaginationInfo

      public PagedList createBehaviorDetectionRuleWithPaginationInfo(BehaviorRule rule) throws org.springframework.web.client.RestClientException
      Create a Behavior Detection Rule Creates a new behavior detection rule

      201 - Created

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      rule - (required)
      Returns:
      ResponseEntity<BehaviorRule>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deactivateBehaviorDetectionRule

      public BehaviorRule deactivateBehaviorDetectionRule(String behaviorId) throws org.springframework.web.client.RestClientException
      Deactivate a Behavior Detection Rule Deactivates a behavior detection rule

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      BehaviorRule
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deactivateBehaviorDetectionRuleWithHttpInfo

      public org.springframework.http.ResponseEntity<BehaviorRule> deactivateBehaviorDetectionRuleWithHttpInfo(String behaviorId) throws org.springframework.web.client.RestClientException
      Deactivate a Behavior Detection Rule Deactivates a behavior detection rule

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      ResponseEntity<BehaviorRule>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deactivateBehaviorDetectionRuleWithPaginationInfo

      public PagedList deactivateBehaviorDetectionRuleWithPaginationInfo(String behaviorId) throws org.springframework.web.client.RestClientException
      Deactivate a Behavior Detection Rule Deactivates a behavior detection rule

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      ResponseEntity<BehaviorRule>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deleteBehaviorDetectionRule

      public void deleteBehaviorDetectionRule(String behaviorId) throws org.springframework.web.client.RestClientException
      Delete a Behavior Detection Rule Deletes a Behavior Detection Rule by `behaviorId`

      204 - No Content

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deleteBehaviorDetectionRuleWithHttpInfo

      public org.springframework.http.ResponseEntity<Void> deleteBehaviorDetectionRuleWithHttpInfo(String behaviorId) throws org.springframework.web.client.RestClientException
      Delete a Behavior Detection Rule Deletes a Behavior Detection Rule by `behaviorId`

      204 - No Content

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getBehaviorDetectionRule

      public BehaviorRule getBehaviorDetectionRule(String behaviorId) throws org.springframework.web.client.RestClientException
      Retrieve a Behavior Detection Rule Retrieves a Behavior Detection Rule by `behaviorId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      BehaviorRule
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getBehaviorDetectionRuleWithHttpInfo

      public org.springframework.http.ResponseEntity<BehaviorRule> getBehaviorDetectionRuleWithHttpInfo(String behaviorId) throws org.springframework.web.client.RestClientException
      Retrieve a Behavior Detection Rule Retrieves a Behavior Detection Rule by `behaviorId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      ResponseEntity<BehaviorRule>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getBehaviorDetectionRuleWithPaginationInfo

      public PagedList getBehaviorDetectionRuleWithPaginationInfo(String behaviorId) throws org.springframework.web.client.RestClientException
      Retrieve a Behavior Detection Rule Retrieves a Behavior Detection Rule by `behaviorId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      ResponseEntity<BehaviorRule>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listBehaviorDetectionRules

      public List<BehaviorRule> listBehaviorDetectionRules() throws org.springframework.web.client.RestClientException
      List all Behavior Detection Rules Lists all behavior detection rules with pagination support

      200 - OK

      403 - Forbidden

      429 - Too Many Requests

      Returns:
      List<BehaviorRule>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listBehaviorDetectionRulesWithHttpInfo

      public org.springframework.http.ResponseEntity<List<BehaviorRule>> listBehaviorDetectionRulesWithHttpInfo() throws org.springframework.web.client.RestClientException
      List all Behavior Detection Rules Lists all behavior detection rules with pagination support

      200 - OK

      403 - Forbidden

      429 - Too Many Requests

      Returns:
      ResponseEntity<List<BehaviorRule>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listBehaviorDetectionRulesWithPaginationInfo

      public PagedList listBehaviorDetectionRulesWithPaginationInfo() throws org.springframework.web.client.RestClientException
      List all Behavior Detection Rules Lists all behavior detection rules with pagination support

      200 - OK

      403 - Forbidden

      429 - Too Many Requests

      Returns:
      ResponseEntity<List<BehaviorRule>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceBehaviorDetectionRule

      public BehaviorRule replaceBehaviorDetectionRule(String behaviorId, BehaviorRule rule) throws org.springframework.web.client.RestClientException
      Replace a Behavior Detection Rule Replaces a Behavior Detection Rule by `behaviorId`

      200 - Created

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      rule - (required)
      Returns:
      BehaviorRule
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceBehaviorDetectionRule

      public <T> T replaceBehaviorDetectionRule(Class<?> T, String behaviorId, BehaviorRule rule) throws org.springframework.web.client.RestClientException
      Replace a Behavior Detection Rule Replaces a Behavior Detection Rule by `behaviorId`

      200 - Created

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      behaviorId - id of the Behavior Detection Rule (required)
      rule - (required)
      Returns:
      T instance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceBehaviorDetectionRuleWithHttpInfo

      public org.springframework.http.ResponseEntity<BehaviorRule> replaceBehaviorDetectionRuleWithHttpInfo(String behaviorId, BehaviorRule rule) throws org.springframework.web.client.RestClientException
      Replace a Behavior Detection Rule Replaces a Behavior Detection Rule by `behaviorId`

      200 - Created

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      rule - (required)
      Returns:
      ResponseEntity<BehaviorRule>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceBehaviorDetectionRuleWithPaginationInfo

      public PagedList replaceBehaviorDetectionRuleWithPaginationInfo(String behaviorId, BehaviorRule rule) throws org.springframework.web.client.RestClientException
      Replace a Behavior Detection Rule Replaces a Behavior Detection Rule by `behaviorId`

      200 - Created

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      rule - (required)
      Returns:
      ResponseEntity<BehaviorRule>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API