@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-12-15T06:35:43.156-06:00")
public class DefaultGroupRule
extends AbstractInstanceResource<GroupRule>
implements GroupRule
propertiesreadLock, writeLock| Constructor and Description |
|---|
DefaultGroupRule(InternalDataStore dataStore) |
DefaultGroupRule(InternalDataStore dataStore,
java.util.Map<java.lang.String,java.lang.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(java.lang.Boolean removeUsers)
Delete a group Rule
Removes a specific group rule by id from your organization
|
GroupRuleAction |
getActions() |
GroupRuleConditions |
getConditions() |
java.util.Date |
getCreated() |
java.lang.String |
getId() |
java.util.Date |
getLastUpdated() |
java.lang.String |
getName() |
java.util.Map<java.lang.String,Property> |
getPropertyDescriptors() |
java.lang.Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
GroupRuleStatus |
getStatus() |
java.lang.String |
getType() |
GroupRule |
setActions(GroupRuleAction actions) |
GroupRule |
setConditions(GroupRuleConditions conditions) |
GroupRule |
setName(java.lang.String name) |
GroupRule |
setType(java.lang.String type) |
GroupRule |
update()
Updates a group rule.
|
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 DefaultGroupRule(InternalDataStore dataStore)
public DefaultGroupRule(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<GroupRule>public GroupRuleAction getActions()
getActions in interface GroupRulepublic GroupRule setActions(GroupRuleAction actions)
setActions in interface GroupRulepublic GroupRuleConditions getConditions()
getConditions in interface GroupRulepublic GroupRule setConditions(GroupRuleConditions conditions)
setConditions in interface GroupRulepublic java.util.Date getCreated()
getCreated in interface GroupRulepublic java.util.Date getLastUpdated()
getLastUpdated in interface GroupRulepublic GroupRule setName(java.lang.String name)
public GroupRuleStatus getStatus()
public GroupRule setType(java.lang.String type)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-12-15T06:35:43.156-06: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="2021-12-15T06:35:43.156-06:00",
comments="PUT - /api/v1/groups/rules/{ruleId}")
public GroupRule update()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-12-15T06:35:43.156-06:00",
comments="DELETE - /api/v1/groups/rules/{ruleId}")
public void delete(java.lang.Boolean removeUsers)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-12-15T06:35:43.156-06:00",
comments="DELETE - /api/v1/groups/rules/{ruleId}")
public void delete()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-12-15T06:35:43.156-06:00",
comments="POST - /api/v1/groups/rules/{ruleId}/lifecycle/activate")
public void activate()
Copyright © 2017-2021 Okta. All Rights Reserved.