Class EventHookApi

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

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

    • EventHookApi

      public EventHookApi()
    • EventHookApi

      public EventHookApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • activateEventHook

      public EventHook activateEventHook(String eventHookId) throws ApiException
      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 ApiException
      Activate 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

      public EventHook createEventHook(EventHook eventHook) throws ApiException
      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 ApiException
      Create 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

      public EventHook deactivateEventHook(String eventHookId) throws ApiException
      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 ApiException
      Deactivate 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

      public void deleteEventHook(String eventHookId) throws ApiException
      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 ApiException
      Delete 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

      public EventHook getEventHook(String eventHookId) throws ApiException
      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 ApiException
      Retrieve 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

      public List<EventHook> listEventHooks() throws ApiException
      List all Event Hooks Lists all event hooks
      Returns:
      List<EventHook>
      Throws:
      ApiException - if fails to make API call
    • listEventHooks

      public List<EventHook> listEventHooks(Map<String,String> additionalHeaders) throws ApiException
      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

      public EventHook replaceEventHook(String eventHookId, EventHook eventHook) throws ApiException
      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 ApiException
      Replace 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

      public EventHook verifyEventHook(String eventHookId) throws ApiException
      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 ApiException
      Verify 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()