Package com.okta.sdk.resource.group.rule
Interface GroupRule
-
- All Superinterfaces:
Deletable,ExtensibleResource,java.util.Map<java.lang.String,java.lang.Object>,PropertyRetriever,Resource
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00") public interface GroupRule extends ExtensibleResource, DeletableGroupRule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivate()Activate a group Rule Activates a specific group rule by id from your organizationvoiddeactivate()Deactivate a group Rule Deactivates a specific group rule by id from your organizationvoiddelete()Delete a group Rule Removes a specific group rule by id from your organizationvoiddelete(java.lang.Boolean removeUsers)Delete a group Rule Removes a specific group rule by id from your organizationGroupRuleActiongetActions()GroupRuleConditionsgetConditions()java.util.DategetCreated()java.lang.StringgetId()java.util.DategetLastUpdated()java.lang.StringgetName()GroupRuleStatusgetStatus()java.lang.StringgetType()GroupRulesetActions(GroupRuleAction actions)GroupRulesetConditions(GroupRuleConditions conditions)GroupRulesetName(java.lang.String name)GroupRulesetType(java.lang.String type)GroupRuleupdate()Updates a group rule.-
Methods inherited from interface java.util.Map
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
-
Methods inherited from interface com.okta.sdk.resource.PropertyRetriever
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
-
Methods inherited from interface com.okta.sdk.resource.Resource
getResourceHref, setResourceHref
-
-
-
-
Method Detail
-
getActions
GroupRuleAction getActions()
-
setActions
GroupRule setActions(GroupRuleAction actions)
-
getConditions
GroupRuleConditions getConditions()
-
setConditions
GroupRule setConditions(GroupRuleConditions conditions)
-
getCreated
java.util.Date getCreated()
-
getId
java.lang.String getId()
-
getLastUpdated
java.util.Date getLastUpdated()
-
getName
java.lang.String getName()
-
setName
GroupRule setName(java.lang.String name)
-
getStatus
GroupRuleStatus getStatus()
-
getType
java.lang.String getType()
-
setType
GroupRule setType(java.lang.String type)
-
deactivate
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/groups/rules/{ruleId}/lifecycle/deactivate") void deactivate()Deactivate a group Rule Deactivates a specific group rule by id from your organization
-
update
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="PUT - /api/v1/groups/rules/{ruleId}") GroupRule update()Updates a group rule. Only `INACTIVE` rules can be updated.- Returns:
- GroupRule
-
delete
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="DELETE - /api/v1/groups/rules/{ruleId}") void delete(java.lang.Boolean removeUsers)Delete a group Rule Removes a specific group rule by id from your organization- Parameters:
removeUsers- Indicates whether to keep or remove users from groups assigned by this rule. (optional)
-
delete
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="DELETE - /api/v1/groups/rules/{ruleId}") void delete()Delete a group Rule Removes a specific group rule by id from your organization
-
activate
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/groups/rules/{ruleId}/lifecycle/activate") void activate()Activate a group Rule Activates a specific group rule by id from your organization
-
-