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 Details

    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The Description. The description for the unifiedRoleDefinition. Read-only when isBuiltIn is true.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The 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 isBuiltIn
      The 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 isEnabled
      The 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> resourceScopes
      The 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> rolePermissions
      The 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 templateId
      The 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

      @SerializedName(value="version", alternate="Version") @Expose @Nullable public String 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 inheritsPermissionsFrom
      The 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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to