@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00") public class DefaultEventHook extends AbstractInstanceResource<EventHook> implements EventHook
EventHook.StatusEnum, EventHook.VerificationStatusEnum
properties
readLock, writeLock
Constructor and Description |
---|
DefaultEventHook(InternalDataStore dataStore) |
DefaultEventHook(InternalDataStore dataStore,
Map<String,Object> properties) |
Modifier and Type | Method and Description |
---|---|
EventHook |
activate()
Success
|
EventHook |
deactivate()
Success
|
void |
delete()
Success
|
EventHookChannel |
getChannel() |
Date |
getCreated() |
String |
getCreatedBy() |
EventSubscriptions |
getEvents() |
String |
getId() |
Date |
getLastUpdated() |
Map<String,Object> |
getLinks() |
String |
getName() |
Map<String,Property> |
getPropertyDescriptors() |
Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
EventHook.StatusEnum |
getStatus() |
EventHook.VerificationStatusEnum |
getVerificationStatus() |
EventHook |
setChannel(EventHookChannel channel) |
EventHook |
setCreatedBy(String createdBy) |
EventHook |
setEvents(EventSubscriptions events) |
EventHook |
setName(String name) |
EventHook |
setStatus(EventHook.StatusEnum status) |
EventHook |
setVerificationStatus(EventHook.VerificationStatusEnum verificationStatus) |
EventHook |
update()
Success
|
EventHook |
verify()
Success
|
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, 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 DefaultEventHook(InternalDataStore dataStore)
public DefaultEventHook(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<EventHook>
public EventHookChannel getChannel()
getChannel
in interface EventHook
public EventHook setChannel(EventHookChannel channel)
setChannel
in interface EventHook
public Date getCreated()
getCreated
in interface EventHook
public String getCreatedBy()
getCreatedBy
in interface EventHook
public EventHook setCreatedBy(String createdBy)
setCreatedBy
in interface EventHook
public EventSubscriptions getEvents()
public EventHook setEvents(EventSubscriptions events)
public Date getLastUpdated()
getLastUpdated
in interface EventHook
public EventHook.StatusEnum getStatus()
public EventHook setStatus(EventHook.StatusEnum status)
public EventHook.VerificationStatusEnum getVerificationStatus()
getVerificationStatus
in interface EventHook
public EventHook setVerificationStatus(EventHook.VerificationStatusEnum verificationStatus)
setVerificationStatus
in interface EventHook
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/eventHooks/{eventHookId}") public EventHook update()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/eventHooks/{eventHookId}/lifecycle/deactivate") public EventHook deactivate()
deactivate
in interface EventHook
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/eventHooks/{eventHookId}") public void delete()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/eventHooks/{eventHookId}/lifecycle/activate") public EventHook activate()
Copyright © 2017–2023 Okta. All rights reserved.