Package com.okta.sdk.resource.api
Class EventHookApi
java.lang.Object
com.okta.sdk.resource.api.EventHookApi
@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 EventHookApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactivateEventHook
(String eventHookId) Activate an Event Hook Activates an event hookactivateEventHook
(String eventHookId, Map<String, String> additionalHeaders) Activate an Event Hook Activates an event hookcreateEventHook
(EventHook eventHook) Create an Event Hook Creates an event hookcreateEventHook
(EventHook eventHook, Map<String, String> additionalHeaders) Create an Event Hook Creates an event hookdeactivateEventHook
(String eventHookId) Deactivate an Event Hook Deactivates an event hookdeactivateEventHook
(String eventHookId, Map<String, String> additionalHeaders) Deactivate an Event Hook Deactivates an event hookvoid
deleteEventHook
(String eventHookId) Delete an Event Hook Deletes an event hookvoid
deleteEventHook
(String eventHookId, Map<String, String> additionalHeaders) Delete an Event Hook Deletes an event hookgetEventHook
(String eventHookId) Retrieve an Event Hook Retrieves an event hookgetEventHook
(String eventHookId, Map<String, String> additionalHeaders) Retrieve an Event Hook Retrieves an event hookprotected static com.fasterxml.jackson.databind.ObjectMapper
List all Event Hooks Lists all event hookslistEventHooks
(Map<String, String> additionalHeaders) List all Event Hooks Lists all event hooksreplaceEventHook
(String eventHookId, EventHook eventHook) Replace an Event Hook Replaces an event hookReplace an Event Hook Replaces an event hookvoid
setApiClient
(ApiClient apiClient) verifyEventHook
(String eventHookId) Verify an Event Hook Verifies an event hookverifyEventHook
(String eventHookId, Map<String, String> additionalHeaders) Verify an Event Hook Verifies an event hook
-
Constructor Details
-
EventHookApi
public EventHookApi() -
EventHookApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
activateEventHook
Activate an Event Hook Activates an event hook- Parameters:
eventHookId
- `id` of the Event Hook (required)- Returns:
- EventHook
- Throws:
ApiException
- if fails to make API call
-
activateEventHook
public EventHook activateEventHook(String eventHookId, Map<String, String> additionalHeaders) throws ApiExceptionActivate an Event Hook Activates an event hook- Parameters:
eventHookId
- `id` of the Event Hook (required)additionalHeaders
- additionalHeaders for this call- Returns:
- EventHook
- Throws:
ApiException
- if fails to make API call
-
createEventHook
Create an Event Hook Creates an event hook- Parameters:
eventHook
- (required)- Returns:
- EventHook
- Throws:
ApiException
- if fails to make API call
-
createEventHook
public EventHook createEventHook(EventHook eventHook, Map<String, String> additionalHeaders) throws ApiExceptionCreate an Event Hook Creates an event hook- Parameters:
eventHook
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- EventHook
- Throws:
ApiException
- if fails to make API call
-
deactivateEventHook
Deactivate an Event Hook Deactivates an event hook- Parameters:
eventHookId
- `id` of the Event Hook (required)- Returns:
- EventHook
- Throws:
ApiException
- if fails to make API call
-
deactivateEventHook
public EventHook deactivateEventHook(String eventHookId, Map<String, String> additionalHeaders) throws ApiExceptionDeactivate an Event Hook Deactivates an event hook- Parameters:
eventHookId
- `id` of the Event Hook (required)additionalHeaders
- additionalHeaders for this call- Returns:
- EventHook
- Throws:
ApiException
- if fails to make API call
-
deleteEventHook
Delete an Event Hook Deletes an event hook- Parameters:
eventHookId
- `id` of the Event Hook (required)- Throws:
ApiException
- if fails to make API call
-
deleteEventHook
public void deleteEventHook(String eventHookId, Map<String, String> additionalHeaders) throws ApiExceptionDelete an Event Hook Deletes an event hook- Parameters:
eventHookId
- `id` of the Event Hook (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getEventHook
Retrieve an Event Hook Retrieves an event hook- Parameters:
eventHookId
- `id` of the Event Hook (required)- Returns:
- EventHook
- Throws:
ApiException
- if fails to make API call
-
getEventHook
public EventHook getEventHook(String eventHookId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Event Hook Retrieves an event hook- Parameters:
eventHookId
- `id` of the Event Hook (required)additionalHeaders
- additionalHeaders for this call- Returns:
- EventHook
- Throws:
ApiException
- if fails to make API call
-
listEventHooks
List all Event Hooks Lists all event hooks- Returns:
- List<EventHook>
- Throws:
ApiException
- if fails to make API call
-
listEventHooks
List all Event Hooks Lists all event hooks- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- List<EventHook>
- Throws:
ApiException
- if fails to make API call
-
replaceEventHook
Replace an Event Hook Replaces an event hook- Parameters:
eventHookId
- `id` of the Event Hook (required)eventHook
- (required)- Returns:
- EventHook
- Throws:
ApiException
- if fails to make API call
-
replaceEventHook
public EventHook replaceEventHook(String eventHookId, EventHook eventHook, Map<String, String> additionalHeaders) throws ApiExceptionReplace an Event Hook Replaces an event hook- Parameters:
eventHookId
- `id` of the Event Hook (required)eventHook
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- EventHook
- Throws:
ApiException
- if fails to make API call
-
verifyEventHook
Verify an Event Hook Verifies an event hook- Parameters:
eventHookId
- `id` of the Event Hook (required)- Returns:
- EventHook
- Throws:
ApiException
- if fails to make API call
-
verifyEventHook
public EventHook verifyEventHook(String eventHookId, Map<String, String> additionalHeaders) throws ApiExceptionVerify an Event Hook Verifies an event hook- Parameters:
eventHookId
- `id` of the Event Hook (required)additionalHeaders
- additionalHeaders for this call- Returns:
- EventHook
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-