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 Details

    • policyId

      @SerializedName(value="policyId", alternate="PolicyId") @Expose @Nullable public String policyId
      The Policy Id. The id of the policy. Inherited from entity.
    • roleDefinitionId

      @SerializedName(value="roleDefinitionId", alternate="RoleDefinitionId") @Expose @Nullable public String roleDefinitionId
      The Role Definition Id. For Microsoft Entra roles policy, it's the identifier of the role definition object where the policy applies. For PIM for groups membership and ownership, it's either member or owner. Supports $filter (eq).
    • scopeId

      @SerializedName(value="scopeId", alternate="ScopeId") @Expose @Nullable public String scopeId
      The Scope Id. The identifier of the scope where the policy is assigned. Can be / for the tenant or a group ID. Required.
    • scopeType

      @SerializedName(value="scopeType", alternate="ScopeType") @Expose @Nullable public String scopeType
      The Scope Type. The type of the scope where the policy is assigned. One of Directory, DirectoryRole, Group. Required.
    • policy

      @SerializedName(value="policy", alternate="Policy") @Expose @Nullable public UnifiedRoleManagementPolicy policy
      The Policy. The policy that's associated with a policy assignment. Supports $expand and a nested $expand of the rules and effectiveRules relationships for the policy.
  • 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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to