Package com.microsoft.graph.models
Class DirectoryRole
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DirectoryObject
com.microsoft.graph.models.DirectoryRole
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class DirectoryRole
extends DirectoryObject
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Directory Role.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Description.The Display Name.The Members.The Role Template Id.The Scoped Members.Fields inherited from class com.microsoft.graph.models.DirectoryObject
deletedDateTime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
description
@SerializedName(value="description", alternate="Description") @Expose @Nullable public String descriptionThe Description. The description for the directory role. Read-only. Supports $filter (eq), $search, $select. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. The display name for the directory role. Read-only. Supports $filter (eq), $search, $select. -
roleTemplateId
@SerializedName(value="roleTemplateId", alternate="RoleTemplateId") @Expose @Nullable public String roleTemplateIdThe Role Template Id. The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select. -
members
The Members. Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. -
scopedMembers
@SerializedName(value="scopedMembers", alternate="ScopedMembers") @Expose @Nullable public ScopedRoleMembershipCollectionPage scopedMembersThe Scoped Members. Members of this directory role that are scoped to administrative units. Read-only. Nullable.
-
-
Constructor Details
-
DirectoryRole
public DirectoryRole()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classDirectoryObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-