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.
    • roleDefinitionId

      @SerializedName(value="roleDefinitionId", alternate="RoleDefinitionId") @Expose @Nullable public String roleDefinitionId
      The Role Definition Id. The id of the role definition where the policy applies. If not specified, the policy applies to all roles.
    • scopeId

      @SerializedName(value="scopeId", alternate="ScopeId") @Expose @Nullable public String scopeId
      The Scope Id. The id of the scope where the policy is assigned. E.g. '/', groupId, etc.
    • 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.
    • policy

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