@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00") public class DefaultGroupRule extends AbstractInstanceResource<GroupRule> implements GroupRule
properties
readLock, writeLock
Constructor and Description |
---|
DefaultGroupRule(InternalDataStore dataStore) |
DefaultGroupRule(InternalDataStore dataStore,
Map<String,Object> properties) |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activate a group Rule
Activates a specific group rule by id from your organization
|
void |
deactivate()
Deactivate a group Rule
Deactivates a specific group rule by id from your organization
|
void |
delete()
Delete a group Rule
Removes a specific group rule by id from your organization
|
void |
delete(Boolean removeUsers)
Delete a group Rule
Removes a specific group rule by id from your organization
|
GroupRuleAction |
getActions() |
GroupRuleConditions |
getConditions() |
Date |
getCreated() |
String |
getId() |
Date |
getLastUpdated() |
String |
getName() |
Map<String,Property> |
getPropertyDescriptors() |
Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
GroupRuleStatus |
getStatus() |
String |
getType() |
GroupRule |
setActions(GroupRuleAction actions) |
GroupRule |
setConditions(GroupRuleConditions conditions) |
GroupRule |
setName(String name) |
GroupRule |
setType(String type) |
GroupRule |
update()
Updates a group rule.
|
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 DefaultGroupRule(InternalDataStore dataStore)
public DefaultGroupRule(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<GroupRule>
public GroupRuleAction getActions()
getActions
in interface GroupRule
public GroupRule setActions(GroupRuleAction actions)
setActions
in interface GroupRule
public GroupRuleConditions getConditions()
getConditions
in interface GroupRule
public GroupRule setConditions(GroupRuleConditions conditions)
setConditions
in interface GroupRule
public Date getCreated()
getCreated
in interface GroupRule
public Date getLastUpdated()
getLastUpdated
in interface GroupRule
public GroupRuleStatus getStatus()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/groups/rules/{ruleId}/lifecycle/deactivate") public void deactivate()
deactivate
in interface GroupRule
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/groups/rules/{ruleId}") public GroupRule update()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/groups/rules/{ruleId}") public void delete(Boolean removeUsers)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/groups/rules/{ruleId}") public void delete()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/groups/rules/{ruleId}/lifecycle/activate") public void activate()
Copyright © 2017–2023 Okta. All rights reserved.