@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class InlineHookApi extends Object
Constructor and Description |
---|
InlineHookApi() |
InlineHookApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
InlineHook |
activateInlineHook(String inlineHookId)
Activate an Inline Hook
Activates the inline hook by `inlineHookId`
|
InlineHook |
activateInlineHook(String inlineHookId,
Map<String,String> additionalHeaders)
Activate an Inline Hook
Activates the inline hook by `inlineHookId`
|
InlineHook |
createInlineHook(InlineHook inlineHook)
Create an Inline Hook
Creates an inline hook
|
InlineHook |
createInlineHook(InlineHook inlineHook,
Map<String,String> additionalHeaders)
Create an Inline Hook
Creates an inline hook
|
InlineHook |
deactivateInlineHook(String inlineHookId)
Deactivate an Inline Hook
Deactivates the inline hook by `inlineHookId`
|
InlineHook |
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`.
|
InlineHookResponse |
executeInlineHook(String inlineHookId,
Object payloadData)
Execute an Inline Hook
Executes the inline hook by `inlineHookId` using the request body as the input.
|
InlineHookResponse |
executeInlineHook(String inlineHookId,
Object payloadData,
Map<String,String> additionalHeaders)
Execute an Inline Hook
Executes the inline hook by `inlineHookId` using the request body as the input.
|
ApiClient |
getApiClient() |
InlineHook |
getInlineHook(String inlineHookId)
Retrieve an Inline Hook
Retrieves an inline hook by `inlineHookId`
|
InlineHook |
getInlineHook(String inlineHookId,
Map<String,String> additionalHeaders)
Retrieve an Inline Hook
Retrieves an inline hook by `inlineHookId`
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
List<InlineHook> |
listInlineHooks(String type)
List all Inline Hooks
Lists all inline hooks
|
List<InlineHook> |
listInlineHooks(String type,
Map<String,String> additionalHeaders)
List all Inline Hooks
Lists all inline hooks
|
InlineHook |
replaceInlineHook(String inlineHookId,
InlineHook inlineHook)
Replace an Inline Hook
Replaces an inline hook by `inlineHookId`
|
InlineHook |
replaceInlineHook(String inlineHookId,
InlineHook inlineHook,
Map<String,String> additionalHeaders)
Replace an Inline Hook
Replaces an inline hook by `inlineHookId`
|
void |
setApiClient(ApiClient apiClient) |
public InlineHookApi()
public InlineHookApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public InlineHook activateInlineHook(String inlineHookId) throws ApiException
inlineHookId
- `id` of the Inline Hook (required)ApiException
- if fails to make API callpublic InlineHook activateInlineHook(String inlineHookId, Map<String,String> additionalHeaders) throws ApiException
inlineHookId
- `id` of the Inline Hook (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic InlineHook createInlineHook(InlineHook inlineHook) throws ApiException
inlineHook
- (required)ApiException
- if fails to make API callpublic InlineHook createInlineHook(InlineHook inlineHook, Map<String,String> additionalHeaders) throws ApiException
inlineHook
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic InlineHook deactivateInlineHook(String inlineHookId) throws ApiException
inlineHookId
- `id` of the Inline Hook (required)ApiException
- if fails to make API callpublic InlineHook deactivateInlineHook(String inlineHookId, Map<String,String> additionalHeaders) throws ApiException
inlineHookId
- `id` of the Inline Hook (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteInlineHook(String inlineHookId) throws ApiException
inlineHookId
- `id` of the Inline Hook (required)ApiException
- if fails to make API callpublic void deleteInlineHook(String inlineHookId, Map<String,String> additionalHeaders) throws ApiException
inlineHookId
- `id` of the Inline Hook (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic InlineHookResponse executeInlineHook(String inlineHookId, Object payloadData) throws ApiException
inlineHookId
- `id` of the Inline Hook (required)payloadData
- (required)ApiException
- if fails to make API callpublic InlineHookResponse executeInlineHook(String inlineHookId, Object payloadData, Map<String,String> additionalHeaders) throws ApiException
inlineHookId
- `id` of the Inline Hook (required)payloadData
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic InlineHook getInlineHook(String inlineHookId) throws ApiException
inlineHookId
- `id` of the Inline Hook (required)ApiException
- if fails to make API callpublic InlineHook getInlineHook(String inlineHookId, Map<String,String> additionalHeaders) throws ApiException
inlineHookId
- `id` of the Inline Hook (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<InlineHook> listInlineHooks(String type) throws ApiException
type
- (optional)ApiException
- if fails to make API callpublic List<InlineHook> listInlineHooks(String type, Map<String,String> additionalHeaders) throws ApiException
type
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic InlineHook replaceInlineHook(String inlineHookId, InlineHook inlineHook) throws ApiException
inlineHookId
- `id` of the Inline Hook (required)inlineHook
- (required)ApiException
- if fails to make API callpublic InlineHook replaceInlineHook(String inlineHookId, InlineHook inlineHook, Map<String,String> additionalHeaders) throws ApiException
inlineHookId
- `id` of the Inline Hook (required)inlineHook
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.