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 and startsWith operators only).
    • isBuiltIn

      @SerializedName(value="isBuiltIn", alternate="IsBuiltIn") @Expose @Nullable public Boolean isBuiltIn
      The Is Built In. Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq operator only).
    • isEnabled

      @SerializedName(value="isEnabled", alternate="IsEnabled") @Expose @Nullable public Boolean isEnabled
      The Is Enabled. Flag indicating if 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 scopes permissions granted by the role definition apply 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. This identifier is typically used if one needs an identifier to be the same across different directories. Read-only when isBuiltIn is true.
    • version

      @SerializedName(value="version", alternate="Version") @Expose @Nullable public String version
      The Version. Indicates version of the unifiedRoleDefinition. 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 support this attribute.
  • 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