Package com.okta.sdk.resource.api
Class InlineHookApi
java.lang.Object
com.okta.sdk.resource.api.InlineHookApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class InlineHookApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactivateInlineHook
(String inlineHookId) Activate an Inline Hook Activates the inline hook by `inlineHookId`activateInlineHook
(String inlineHookId, Map<String, String> additionalHeaders) Activate an Inline Hook Activates the inline hook by `inlineHookId`createInlineHook
(InlineHook inlineHook) Create an Inline Hook Creates an inline hookcreateInlineHook
(InlineHook inlineHook, Map<String, String> additionalHeaders) Create an Inline Hook Creates an inline hookdeactivateInlineHook
(String inlineHookId) Deactivate an Inline Hook Deactivates the inline hook by `inlineHookId`deactivateInlineHook
(String inlineHookId, Map<String, String> additionalHeaders) Deactivate an Inline Hook Deactivates the inline hook by `inlineHookId`void
deleteInlineHook
(String inlineHookId) Delete an Inline Hook Deletes an inline hook by `inlineHookId`.void
deleteInlineHook
(String inlineHookId, Map<String, String> additionalHeaders) Delete an Inline Hook Deletes an inline hook by `inlineHookId`.executeInlineHook
(String inlineHookId, Object payloadData) Execute an Inline Hook Executes the inline hook by `inlineHookId` using the request body as the input.Execute an Inline Hook Executes the inline hook by `inlineHookId` using the request body as the input.getInlineHook
(String inlineHookId) Retrieve an Inline Hook Retrieves an inline hook by `inlineHookId`getInlineHook
(String inlineHookId, Map<String, String> additionalHeaders) Retrieve an Inline Hook Retrieves an inline hook by `inlineHookId`protected static com.fasterxml.jackson.databind.ObjectMapper
listInlineHooks
(String type) List all Inline Hooks Lists all inline hookslistInlineHooks
(String type, Map<String, String> additionalHeaders) List all Inline Hooks Lists all inline hooksreplaceInlineHook
(String inlineHookId, InlineHook inlineHook) Replace an Inline Hook Replaces an inline hook by `inlineHookId`replaceInlineHook
(String inlineHookId, InlineHook inlineHook, Map<String, String> additionalHeaders) Replace an Inline Hook Replaces an inline hook by `inlineHookId`void
setApiClient
(ApiClient apiClient) updateInlineHook
(String inlineHookId, InlineHook inlineHook) Update an Inline Hook Updates an inline hook by `inlineHookId`updateInlineHook
(String inlineHookId, InlineHook inlineHook, Map<String, String> additionalHeaders) Update an Inline Hook Updates an inline hook by `inlineHookId`
-
Constructor Details
-
InlineHookApi
public InlineHookApi() -
InlineHookApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
activateInlineHook
Activate an Inline Hook Activates the inline hook by `inlineHookId`- Parameters:
inlineHookId
- `id` of the Inline Hook (required)- Returns:
- InlineHook
- Throws:
ApiException
- if fails to make API call
-
activateInlineHook
public InlineHook activateInlineHook(String inlineHookId, Map<String, String> additionalHeaders) throws ApiExceptionActivate an Inline Hook Activates the inline hook by `inlineHookId`- Parameters:
inlineHookId
- `id` of the Inline Hook (required)additionalHeaders
- additionalHeaders for this call- Returns:
- InlineHook
- Throws:
ApiException
- if fails to make API call
-
createInlineHook
Create an Inline Hook Creates an inline hook- Parameters:
inlineHook
- (required)- Returns:
- InlineHook
- Throws:
ApiException
- if fails to make API call
-
createInlineHook
public InlineHook createInlineHook(InlineHook inlineHook, Map<String, String> additionalHeaders) throws ApiExceptionCreate an Inline Hook Creates an inline hook- Parameters:
inlineHook
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- InlineHook
- Throws:
ApiException
- if fails to make API call
-
deactivateInlineHook
Deactivate an Inline Hook Deactivates the inline hook by `inlineHookId`- Parameters:
inlineHookId
- `id` of the Inline Hook (required)- Returns:
- InlineHook
- Throws:
ApiException
- if fails to make API call
-
deactivateInlineHook
public InlineHook deactivateInlineHook(String inlineHookId, Map<String, String> additionalHeaders) throws ApiExceptionDeactivate an Inline Hook Deactivates the inline hook by `inlineHookId`- Parameters:
inlineHookId
- `id` of the Inline Hook (required)additionalHeaders
- additionalHeaders for this call- Returns:
- InlineHook
- Throws:
ApiException
- if fails to make API call
-
deleteInlineHook
Delete an Inline Hook Deletes an inline hook by `inlineHookId`. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.- Parameters:
inlineHookId
- `id` of the Inline Hook (required)- Throws:
ApiException
- if fails to make API call
-
deleteInlineHook
public void deleteInlineHook(String inlineHookId, Map<String, String> additionalHeaders) throws ApiExceptionDelete an Inline Hook Deletes an inline hook by `inlineHookId`. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.- Parameters:
inlineHookId
- `id` of the Inline Hook (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
executeInlineHook
public InlineHookResponse executeInlineHook(String inlineHookId, Object payloadData) throws ApiException Execute an Inline Hook Executes the inline hook by `inlineHookId` using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.- Parameters:
inlineHookId
- `id` of the Inline Hook (required)payloadData
- (required)- Returns:
- InlineHookResponse
- Throws:
ApiException
- if fails to make API call
-
executeInlineHook
public InlineHookResponse executeInlineHook(String inlineHookId, Object payloadData, Map<String, String> additionalHeaders) throws ApiExceptionExecute an Inline Hook Executes the inline hook by `inlineHookId` using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.- Parameters:
inlineHookId
- `id` of the Inline Hook (required)payloadData
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- InlineHookResponse
- Throws:
ApiException
- if fails to make API call
-
getInlineHook
Retrieve an Inline Hook Retrieves an inline hook by `inlineHookId`- Parameters:
inlineHookId
- `id` of the Inline Hook (required)- Returns:
- InlineHook
- Throws:
ApiException
- if fails to make API call
-
getInlineHook
public InlineHook getInlineHook(String inlineHookId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Inline Hook Retrieves an inline hook by `inlineHookId`- Parameters:
inlineHookId
- `id` of the Inline Hook (required)additionalHeaders
- additionalHeaders for this call- Returns:
- InlineHook
- Throws:
ApiException
- if fails to make API call
-
listInlineHooks
List all Inline Hooks Lists all inline hooks- Parameters:
type
- (optional)- Returns:
- List<InlineHook>
- Throws:
ApiException
- if fails to make API call
-
listInlineHooks
public List<InlineHook> listInlineHooks(String type, Map<String, String> additionalHeaders) throws ApiExceptionList all Inline Hooks Lists all inline hooks- Parameters:
type
- (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- List<InlineHook>
- Throws:
ApiException
- if fails to make API call
-
replaceInlineHook
Replace an Inline Hook Replaces an inline hook by `inlineHookId`- Parameters:
inlineHookId
- `id` of the Inline Hook (required)inlineHook
- (required)- Returns:
- InlineHook
- Throws:
ApiException
- if fails to make API call
-
replaceInlineHook
public InlineHook replaceInlineHook(String inlineHookId, InlineHook inlineHook, Map<String, String> additionalHeaders) throws ApiExceptionReplace an Inline Hook Replaces an inline hook by `inlineHookId`- Parameters:
inlineHookId
- `id` of the Inline Hook (required)inlineHook
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- InlineHook
- Throws:
ApiException
- if fails to make API call
-
updateInlineHook
Update an Inline Hook Updates an inline hook by `inlineHookId`- Parameters:
inlineHookId
- `id` of the Inline Hook (required)inlineHook
- (required)- Returns:
- InlineHook
- Throws:
ApiException
- if fails to make API call
-
updateInlineHook
public InlineHook updateInlineHook(String inlineHookId, InlineHook inlineHook, Map<String, String> additionalHeaders) throws ApiExceptionUpdate an Inline Hook Updates an inline hook by `inlineHookId`- Parameters:
inlineHookId
- `id` of the Inline Hook (required)inlineHook
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- InlineHook
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-