Package com.microsoft.graph.models
Class UnifiedRoleDefinition
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UnifiedRoleDefinition
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class UnifiedRoleDefinition
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Unified Role Definition.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Description.The Display Name.The Inherits Permissions From.The Is Built In.The Is Enabled.The Resource Scopes.The Role Permissions.The Template Id.The Version. -
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 unifiedRoleDefinition. Read-only when isBuiltIn is true. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq, in). -
isBuiltIn
@SerializedName(value="isBuiltIn", alternate="IsBuiltIn") @Expose @Nullable public Boolean isBuiltInThe Is Built In. Flag indicating whether the role definition is part of the default set included in Azure Active Directory (Azure AD) or a custom definition. Read-only. Supports $filter (eq, in). -
isEnabled
@SerializedName(value="isEnabled", alternate="IsEnabled") @Expose @Nullable public Boolean isEnabledThe Is Enabled. Flag indicating whether the role is enabled for assignment. If false the role is not available for assignment. Read-only when isBuiltIn is true. -
resourceScopes
@SerializedName(value="resourceScopes", alternate="ResourceScopes") @Expose @Nullable public List<String> resourceScopesThe Resource Scopes. List of the scopes or permissions the role definition applies to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment. -
rolePermissions
@SerializedName(value="rolePermissions", alternate="RolePermissions") @Expose @Nullable public List<UnifiedRolePermission> rolePermissionsThe Role Permissions. List of permissions included in the role. Read-only when isBuiltIn is true. Required. -
templateId
@SerializedName(value="templateId", alternate="TemplateId") @Expose @Nullable public String templateIdThe Template Id. Custom template identifier that can be set when isBuiltIn is false but is read-only when isBuiltIn is true. This identifier is typically used if one needs an identifier to be the same across different directories. -
version
The Version. Indicates version of the role definition. Read-only when isBuiltIn is true. -
inheritsPermissionsFrom
@SerializedName(value="inheritsPermissionsFrom", alternate="InheritsPermissionsFrom") @Expose @Nullable public UnifiedRoleDefinitionCollectionPage inheritsPermissionsFromThe Inherits Permissions From. Read-only collection of role definitions that the given role definition inherits from. Only Azure AD built-in roles (isBuiltIn is true) support this attribute. Supports $expand.
-
-
Constructor Details
-
UnifiedRoleDefinition
public UnifiedRoleDefinition()
-
-
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
-