Package com.microsoft.graph.models
Class UnifiedRoleManagementPolicyAssignment
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UnifiedRoleManagementPolicyAssignment
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class UnifiedRoleManagementPolicyAssignment
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Unified Role Management Policy Assignment.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Policy.The Policy Id.The Role Definition Id.The Scope Id.The Scope Type. -
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
-
policyId
The Policy Id. The id of the policy. -
roleDefinitionId
@SerializedName(value="roleDefinitionId", alternate="RoleDefinitionId") @Expose @Nullable public String roleDefinitionIdThe Role Definition Id. The id of the role definition where the policy applies. If not specified, the policy applies to all roles. -
scopeId
The Scope Id. The id of the scope where the policy is assigned. E.g. '/', groupId, etc. -
scopeType
The Scope Type. The type of the scope where the policy is assigned. One of Directory, DirectoryRole, Group. -
policy
@SerializedName(value="policy", alternate="Policy") @Expose @Nullable public UnifiedRoleManagementPolicy policyThe Policy. The policy for the assignment.
-
-
Constructor Details
-
UnifiedRoleManagementPolicyAssignment
public UnifiedRoleManagementPolicyAssignment()
-
-
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
-