Package com.microsoft.graph.models
Class UnifiedRoleAssignment
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UnifiedRoleAssignment
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class UnifiedRoleAssignment
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Unified Role Assignment.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe App Scope.The App Scope Id.The Condition.The Directory Scope.The Directory Scope Id.The Principal.The Principal Id.The Role Definition.The Role Definition Id. -
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
-
appScopeId
@SerializedName(value="appScopeId", alternate="AppScopeId") @Expose @Nullable public String appScopeIdThe App Scope Id. Identifier of the app specific scope when the assignment scope is app specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by a resource application only. For the entitlement management provider, use this property to specify a catalog, for example /AccessPackageCatalog/beedadfe-01d5-4025-910b-84abb9369997. Supports $filter (eq, in). For example /roleManagement/entitlementManagement/roleAssignments?$filter=appScopeId eq '/AccessPackageCatalog/{catalog id}'. -
condition
The Condition. -
directoryScopeId
@SerializedName(value="directoryScopeId", alternate="DirectoryScopeId") @Expose @Nullable public String directoryScopeIdThe Directory Scope Id. Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications, unlike app scopes that are defined and understood by a resource application only. Supports $filter (eq, in). -
principalId
@SerializedName(value="principalId", alternate="PrincipalId") @Expose @Nullable public String principalIdThe Principal Id. Identifier of the principal to which the assignment is granted. Supported principals are users, role-assignable groups, and service principals. Supports $filter (eq, in). -
roleDefinitionId
@SerializedName(value="roleDefinitionId", alternate="RoleDefinitionId") @Expose @Nullable public String roleDefinitionIdThe Role Definition Id. Identifier of the unifiedRoleDefinition the assignment is for. Read-only. Supports $filter (eq, in). -
appScope
The App Scope. Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand. -
directoryScope
@SerializedName(value="directoryScope", alternate="DirectoryScope") @Expose @Nullable public DirectoryObject directoryScopeThe Directory Scope. The directory object that is the scope of the assignment. Read-only. Supports $expand. -
principal
@SerializedName(value="principal", alternate="Principal") @Expose @Nullable public DirectoryObject principalThe Principal. Referencing the assigned principal. Read-only. Supports $expand. -
roleDefinition
@SerializedName(value="roleDefinition", alternate="RoleDefinition") @Expose @Nullable public UnifiedRoleDefinition roleDefinitionThe Role Definition. The roleDefinition the assignment is for. Supports $expand.
-
-
Constructor Details
-
UnifiedRoleAssignment
public UnifiedRoleAssignment()
-
-
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
-