Interface InlineHook
-
- All Superinterfaces:
Deletable,ExtensibleResource,java.util.Map<java.lang.String,java.lang.Object>,PropertyRetriever,Resource
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00") public interface InlineHook extends ExtensibleResource, DeletableInlineHook
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InlineHookactivate()Activates the Inline Hook matching the provided idInlineHookdeactivate()Deactivates the Inline Hook matching the provided idvoiddelete()Deletes the Inline Hook matching the provided id.InlineHookResponseexecute(InlineHookPayload payloadData)Executes the Inline Hook matching the provided inlineHookId using the request body as the input.InlineHookChannelgetChannel()java.util.DategetCreated()java.lang.StringgetId()java.util.DategetLastUpdated()java.util.Map<java.lang.String,java.lang.Object>getLinks()java.lang.StringgetName()InlineHookStatusgetStatus()InlineHookTypegetType()java.lang.StringgetVersion()InlineHooksetChannel(InlineHookChannel channel)InlineHooksetName(java.lang.String name)InlineHooksetStatus(InlineHookStatus status)InlineHooksetType(InlineHookType type)InlineHooksetVersion(java.lang.String version)InlineHookupdate()Updates an inline hook by ID-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from interface com.okta.sdk.resource.PropertyRetriever
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
-
Methods inherited from interface com.okta.sdk.resource.Resource
getResourceHref, setResourceHref
-
-
-
-
Method Detail
-
getLinks
java.util.Map<java.lang.String,java.lang.Object> getLinks()
-
getChannel
InlineHookChannel getChannel()
-
setChannel
InlineHook setChannel(InlineHookChannel channel)
-
getCreated
java.util.Date getCreated()
-
getId
java.lang.String getId()
-
getLastUpdated
java.util.Date getLastUpdated()
-
getName
java.lang.String getName()
-
setName
InlineHook setName(java.lang.String name)
-
getStatus
InlineHookStatus getStatus()
-
setStatus
InlineHook setStatus(InlineHookStatus status)
-
getType
InlineHookType getType()
-
setType
InlineHook setType(InlineHookType type)
-
getVersion
java.lang.String getVersion()
-
setVersion
InlineHook setVersion(java.lang.String version)
-
update
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="PUT - /api/v1/inlineHooks/{inlineHookId}") InlineHook update()Updates an inline hook by ID- Returns:
- InlineHook
-
execute
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/inlineHooks/{inlineHookId}/execute") InlineHookResponse execute(InlineHookPayload payloadData)Executes the Inline Hook matching the provided 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:
payloadData- (required)- Returns:
- InlineHookResponse
-
delete
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="DELETE - /api/v1/inlineHooks/{inlineHookId}") void delete()Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.
-
deactivate
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate") InlineHook deactivate()Deactivates the Inline Hook matching the provided id- Returns:
- InlineHook
-
activate
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/inlineHooks/{inlineHookId}/lifecycle/activate") InlineHook activate()Activates the Inline Hook matching the provided id- Returns:
- InlineHook
-
-