@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00") public class DefaultInlineHook extends AbstractInstanceResource<InlineHook> implements InlineHook
propertiesreadLock, writeLock| Constructor and Description |
|---|
DefaultInlineHook(InternalDataStore dataStore) |
DefaultInlineHook(InternalDataStore dataStore,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
InlineHook |
activate()
Activates the Inline Hook matching the provided id
|
InlineHook |
deactivate()
Deactivates the Inline Hook matching the provided id
|
void |
delete()
Deletes the Inline Hook matching the provided id.
|
InlineHookResponse |
execute(InlineHookPayload payloadData)
Executes the Inline Hook matching the provided inlineHookId using the request body as the input.
|
InlineHookChannel |
getChannel() |
Date |
getCreated() |
String |
getId() |
Date |
getLastUpdated() |
Map<String,Object> |
getLinks() |
String |
getName() |
Map<String,Property> |
getPropertyDescriptors() |
Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
InlineHookStatus |
getStatus() |
InlineHookType |
getType() |
String |
getVersion() |
InlineHook |
setChannel(InlineHookChannel channel) |
InlineHook |
setName(String name) |
InlineHook |
setStatus(InlineHookStatus status) |
InlineHook |
setType(InlineHookType type) |
InlineHook |
setVersion(String version) |
InlineHook |
update()
Updates an inline hook by ID
|
saveclear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, valuesgetBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setPropertyclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResourceHref, setResourceHrefgetBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringListclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic DefaultInlineHook(InternalDataStore dataStore)
public DefaultInlineHook(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourcepublic Class<? extends Resource> getResourceClass()
AbstractInstanceResourceFoo, in this case this method may return Foo.class.
(Defaults to getClass().)getResourceClass in class AbstractInstanceResource<InlineHook>public Map<String,Object> getLinks()
getLinks in interface InlineHookpublic InlineHookChannel getChannel()
getChannel in interface InlineHookpublic InlineHook setChannel(InlineHookChannel channel)
setChannel in interface InlineHookpublic Date getCreated()
getCreated in interface InlineHookpublic String getId()
getId in interface InlineHookpublic Date getLastUpdated()
getLastUpdated in interface InlineHookpublic String getName()
getName in interface InlineHookpublic InlineHook setName(String name)
setName in interface InlineHookpublic InlineHookStatus getStatus()
getStatus in interface InlineHookpublic InlineHook setStatus(InlineHookStatus status)
setStatus in interface InlineHookpublic InlineHookType getType()
getType in interface InlineHookpublic InlineHook setType(InlineHookType type)
setType in interface InlineHookpublic String getVersion()
getVersion in interface InlineHookpublic InlineHook setVersion(String version)
setVersion in interface InlineHook@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="PUT - /api/v1/inlineHooks/{inlineHookId}") public InlineHook update()
update in interface InlineHook@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/inlineHooks/{inlineHookId}/execute") public InlineHookResponse execute(InlineHookPayload payloadData)
execute in interface InlineHookpayloadData - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/inlineHooks/{inlineHookId}") public void delete()
delete in interface Deletabledelete in interface InlineHookdelete in class AbstractInstanceResource<InlineHook>@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate") public InlineHook deactivate()
deactivate in interface InlineHook@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/inlineHooks/{inlineHookId}/lifecycle/activate") public InlineHook activate()
activate in interface InlineHookCopyright © 2017–2023 Okta. All rights reserved.