@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-10-11T13:51:56.108-05:00")
public class DefaultInlineHook
extends AbstractInstanceResource<InlineHook>
implements InlineHook
propertiesreadLock, writeLock| Constructor and Description |
|---|
DefaultInlineHook(InternalDataStore dataStore) |
DefaultInlineHook(InternalDataStore dataStore,
java.util.Map<java.lang.String,java.lang.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() |
java.util.Date |
getCreated() |
java.lang.String |
getId() |
java.util.Date |
getLastUpdated() |
java.util.Map<java.lang.String,java.lang.Object> |
getLinks() |
java.lang.String |
getName() |
java.util.Map<java.lang.String,Property> |
getPropertyDescriptors() |
java.lang.Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
InlineHookStatus |
getStatus() |
InlineHookType |
getType() |
java.lang.String |
getVersion() |
InlineHook |
setChannel(InlineHookChannel channel) |
InlineHook |
setName(java.lang.String name) |
InlineHook |
setStatus(InlineHookStatus status) |
InlineHook |
setType(InlineHookType type) |
InlineHook |
setVersion(java.lang.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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResourceHref, setResourceHrefgetBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringListpublic DefaultInlineHook(InternalDataStore dataStore)
public DefaultInlineHook(InternalDataStore dataStore, java.util.Map<java.lang.String,java.lang.Object> properties)
public java.util.Map<java.lang.String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourcepublic java.lang.Class<? extends Resource> getResourceClass()
AbstractInstanceResourceFoo, in this case this method may return Foo.class.
(Defaults to getClass().)getResourceClass in class AbstractInstanceResource<InlineHook>public java.util.Map<java.lang.String,java.lang.Object> getLinks()
getLinks in interface InlineHookpublic InlineHookChannel getChannel()
getChannel in interface InlineHookpublic InlineHook setChannel(InlineHookChannel channel)
setChannel in interface InlineHookpublic java.util.Date getCreated()
getCreated in interface InlineHookpublic java.lang.String getId()
getId in interface InlineHookpublic java.util.Date getLastUpdated()
getLastUpdated in interface InlineHookpublic java.lang.String getName()
getName in interface InlineHookpublic InlineHook setName(java.lang.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 java.lang.String getVersion()
getVersion in interface InlineHookpublic InlineHook setVersion(java.lang.String version)
setVersion in interface InlineHook@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-10-11T13:51:56.108-05:00",
comments="PUT - /api/v1/inlineHooks/{inlineHookId}")
public InlineHook update()
update in interface InlineHook@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-10-11T13:51:56.108-05: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="2021-10-11T13:51:56.108-05: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="2021-10-11T13:51:56.108-05:00",
comments="POST - /api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate")
public InlineHook deactivate()
deactivate in interface InlineHook@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-10-11T13:51:56.108-05:00",
comments="POST - /api/v1/inlineHooks/{inlineHookId}/lifecycle/activate")
public InlineHook activate()
activate in interface InlineHookCopyright © 2017-2021 Okta. All Rights Reserved.