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-01-30T09:30:33.152574-06:00[America/Chicago]")
public class ThreatInsightApi
extends Object
-
Constructor Summary
Constructors -
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.ObjectMappervoidsetApiClient(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()
-