Package com.microsoft.graph.models
Class RoleAssignment
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.RoleAssignment
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
- Direct Known Subclasses:
DeviceAndAppManagementRoleAssignment
public class RoleAssignment
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Role Assignment.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Description.The Display Name.The Resource Scopes.The Role Definition. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
description
@SerializedName(value="description", alternate="Description") @Expose @Nullable public String descriptionThe Description. Description of the Role Assignment. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. The display or friendly name of the role Assignment. -
resourceScopes
@SerializedName(value="resourceScopes", alternate="ResourceScopes") @Expose @Nullable public List<String> resourceScopesThe Resource Scopes. List of ids of role scope member security groups. These are IDs from Azure Active Directory. -
roleDefinition
@SerializedName(value="roleDefinition", alternate="RoleDefinition") @Expose @Nullable public RoleDefinition roleDefinitionThe Role Definition. Role definition this assignment is part of.
-
-
Constructor Details
-
RoleAssignment
public RoleAssignment()
-
-
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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-