Package com.okta.sdk.resource.api
Class ThreatInsightApi
java.lang.Object
com.okta.sdk.resource.api.ThreatInsightApi
@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 ThreatInsightApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the ThreatInsight Configuration Retrieves the ThreatInsight configuration for the orggetCurrentConfiguration
(Map<String, String> additionalHeaders) Retrieve the ThreatInsight Configuration Retrieves the ThreatInsight configuration for the orgprotected static com.fasterxml.jackson.databind.ObjectMapper
void
setApiClient
(ApiClient apiClient) updateConfiguration
(ThreatInsightConfiguration threatInsightConfiguration) Update the ThreatInsight Configuration Updates the ThreatInsight configuration for the orgupdateConfiguration
(ThreatInsightConfiguration threatInsightConfiguration, Map<String, String> additionalHeaders) Update the ThreatInsight Configuration Updates the ThreatInsight configuration for the org
-
Constructor Details
-
ThreatInsightApi
public ThreatInsightApi() -
ThreatInsightApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getCurrentConfiguration
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 ApiExceptionRetrieve 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 ApiExceptionUpdate 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()
-