Package com.microsoft.graph.models
Class RoleDefinition
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.RoleDefinition
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
- Direct Known Subclasses:
DeviceAndAppManagementRoleDefinition
public class RoleDefinition
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Role Definition.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Description.The Display Name.The Is Built In.The Role Assignments.The Role Permissions. -
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. Description of the Role definition. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. Display Name of the Role definition. -
isBuiltIn
@SerializedName(value="isBuiltIn", alternate="IsBuiltIn") @Expose @Nullable public Boolean isBuiltInThe Is Built In. Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. -
rolePermissions
@SerializedName(value="rolePermissions", alternate="RolePermissions") @Expose @Nullable public List<RolePermission> rolePermissionsThe Role Permissions. List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. -
roleAssignments
@SerializedName(value="roleAssignments", alternate="RoleAssignments") @Expose @Nullable public RoleAssignmentCollectionPage roleAssignmentsThe Role Assignments. List of Role assignments for this role definition.
-
-
Constructor Details
-
RoleDefinition
public RoleDefinition()
-
-
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 classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-