Class ThreatInsightApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-29T16:47:02.065887-05:00[America/Chicago]", comments="Generator version: 7.4.0") public class ThreatInsightApi extends Object
  • Constructor Details

    • ThreatInsightApi

      public ThreatInsightApi()
    • ThreatInsightApi

      public ThreatInsightApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getCurrentConfiguration

      public ThreatInsightConfiguration getCurrentConfiguration() throws ApiException
      Retrieve the ThreatInsight Configuration Retrieves the ThreatInsight configuration for the org
      Returns:
      ThreatInsightConfiguration
      Throws:
      ApiException - if fails to make API call
    • getCurrentConfiguration

      public ThreatInsightConfiguration getCurrentConfiguration(Map<String,String> additionalHeaders) throws ApiException
      Retrieve the ThreatInsight Configuration Retrieves the ThreatInsight configuration for the org
      Parameters:
      additionalHeaders - additionalHeaders for this call
      Returns:
      ThreatInsightConfiguration
      Throws:
      ApiException - if fails to make API call
    • updateConfiguration

      public ThreatInsightConfiguration updateConfiguration(ThreatInsightConfiguration threatInsightConfiguration) throws ApiException
      Update the ThreatInsight Configuration Updates the ThreatInsight configuration for the org
      Parameters:
      threatInsightConfiguration - (required)
      Returns:
      ThreatInsightConfiguration
      Throws:
      ApiException - if fails to make API call
    • updateConfiguration

      public ThreatInsightConfiguration updateConfiguration(ThreatInsightConfiguration threatInsightConfiguration, Map<String,String> additionalHeaders) throws ApiException
      Update the ThreatInsight Configuration Updates the ThreatInsight configuration for the org
      Parameters:
      threatInsightConfiguration - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      ThreatInsightConfiguration
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

      protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()