@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2022-09-29T14:57:31.808Z") public class DefaultGroup extends AbstractInstanceResource<Group> implements Group
propertiesreadLock, writeLock| Constructor and Description |
|---|
DefaultGroup(InternalDataStore dataStore) |
DefaultGroup(InternalDataStore dataStore,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
Role |
assignRole(AssignRoleRequest assignRoleRequest)
Assigns a Role to a Group
|
Role |
assignRole(AssignRoleRequest assignRoleRequest,
Boolean disableNotifications)
Assigns a Role to a Group
|
void |
delete()
Remove Group
Removes a group with `OKTA_GROUP` type from your organization.
|
Date |
getCreated() |
Map<String,Object> |
getEmbedded() |
String |
getId() |
Date |
getLastMembershipUpdated() |
Date |
getLastUpdated() |
Map<String,Object> |
getLinks() |
List<String> |
getObjectClass() |
GroupProfile |
getProfile() |
Map<String,Property> |
getPropertyDescriptors() |
Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
GroupType |
getType() |
ApplicationList |
listApplications()
List Assigned Applications
Enumerates all applications that are assigned to a group.
|
UserList |
listUsers()
List Group Members
Enumerates all users that are a member of a group.
|
void |
removeUser(String userId)
Remove User from Group
Removes a user from a group with 'OKTA_GROUP' type.
|
Group |
setProfile(GroupProfile profile) |
Group |
update()
Update Group
Updates the profile for a group with `OKTA_GROUP` type from your organization.
|
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, getStringListclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic DefaultGroup(InternalDataStore dataStore)
public DefaultGroup(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourcepublic Class<? extends Resource> getResourceClass()
AbstractInstanceResourceFoo, in this case this method may return Foo.class.
(Defaults to getClass().)getResourceClass in class AbstractInstanceResource<Group>public Map<String,Object> getEmbedded()
getEmbedded in interface Grouppublic Date getCreated()
getCreated in interface Grouppublic Date getLastMembershipUpdated()
getLastMembershipUpdated in interface Grouppublic Date getLastUpdated()
getLastUpdated in interface Grouppublic List<String> getObjectClass()
getObjectClass in interface Grouppublic GroupProfile getProfile()
getProfile in interface Grouppublic Group setProfile(GroupProfile profile)
setProfile in interface Group@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2022-09-29T14:57:31.808Z", comments="POST - /api/v1/groups/{groupId}/roles") public Role assignRole(AssignRoleRequest assignRoleRequest, Boolean disableNotifications)
assignRole in interface GroupassignRoleRequest - (required)disableNotifications - (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2022-09-29T14:57:31.808Z", comments="POST - /api/v1/groups/{groupId}/roles") public Role assignRole(AssignRoleRequest assignRoleRequest)
assignRole in interface GroupassignRoleRequest - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2022-09-29T14:57:31.808Z", comments="GET - /api/v1/groups/{groupId}/users") public UserList listUsers()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2022-09-29T14:57:31.808Z", comments="PUT - /api/v1/groups/{groupId}") public Group update()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2022-09-29T14:57:31.808Z", comments="DELETE - /api/v1/groups/{groupId}/users/{userId}") public void removeUser(String userId)
removeUser in interface GroupuserId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2022-09-29T14:57:31.808Z", comments="GET - /api/v1/groups/{groupId}/apps") public ApplicationList listApplications()
listApplications in interface Group@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2022-09-29T14:57:31.808Z", comments="DELETE - /api/v1/groups/{groupId}") public void delete()
Copyright © 2017–2022 Okta. All rights reserved.