@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00") public class DefaultInlineHook extends AbstractInstanceResource<InlineHook> implements InlineHook
properties
readLock, 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
|
save
clear, 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, values
getBoolean, 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, setProperty
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
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
public DefaultInlineHook(InternalDataStore dataStore)
public DefaultInlineHook(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors
in class AbstractResource
public Class<? extends Resource> getResourceClass()
AbstractInstanceResource
Foo
, 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 InlineHook
public InlineHookChannel getChannel()
getChannel
in interface InlineHook
public InlineHook setChannel(InlineHookChannel channel)
setChannel
in interface InlineHook
public Date getCreated()
getCreated
in interface InlineHook
public String getId()
getId
in interface InlineHook
public Date getLastUpdated()
getLastUpdated
in interface InlineHook
public String getName()
getName
in interface InlineHook
public InlineHook setName(String name)
setName
in interface InlineHook
public InlineHookStatus getStatus()
getStatus
in interface InlineHook
public InlineHook setStatus(InlineHookStatus status)
setStatus
in interface InlineHook
public InlineHookType getType()
getType
in interface InlineHook
public InlineHook setType(InlineHookType type)
setType
in interface InlineHook
public String getVersion()
getVersion
in interface InlineHook
public InlineHook setVersion(String version)
setVersion
in interface InlineHook
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/inlineHooks/{inlineHookId}") public InlineHook update()
update
in interface InlineHook
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/inlineHooks/{inlineHookId}/execute") public InlineHookResponse execute(InlineHookPayload payloadData)
execute
in interface InlineHook
payloadData
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/inlineHooks/{inlineHookId}") public void delete()
delete
in interface Deletable
delete
in interface InlineHook
delete
in class AbstractInstanceResource<InlineHook>
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-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="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/inlineHooks/{inlineHookId}/lifecycle/activate") public InlineHook activate()
activate
in interface InlineHook
Copyright © 2017–2023 Okta. All rights reserved.