Class UnifiedRoleManagementPolicy

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UnifiedRoleManagementPolicy
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class UnifiedRoleManagementPolicy extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Unified Role Management Policy.
  • Field Details

    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The Description. Description for the policy.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. Display name for the policy.
    • isOrganizationDefault

      @SerializedName(value="isOrganizationDefault", alternate="IsOrganizationDefault") @Expose @Nullable public Boolean isOrganizationDefault
      The Is Organization Default. This can only be set to true for a single tenant-wide policy which will apply to all scopes and roles. Set the scopeId to / and scopeType to Directory. Supports $filter (eq, ne).
    • lastModifiedBy

      @SerializedName(value="lastModifiedBy", alternate="LastModifiedBy") @Expose @Nullable public Identity lastModifiedBy
      The Last Modified By. The identity who last modified the role setting.
    • lastModifiedDateTime

      @SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose @Nullable public OffsetDateTime lastModifiedDateTime
      The Last Modified Date Time. The time when the role setting was last modified.
    • scopeId

      @SerializedName(value="scopeId", alternate="ScopeId") @Expose @Nullable public String scopeId
      The Scope Id. The identifier of the scope where the policy is created. 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 created. One of Directory, DirectoryRole. Required.
    • effectiveRules

      @SerializedName(value="effectiveRules", alternate="EffectiveRules") @Expose @Nullable public UnifiedRoleManagementPolicyRuleCollectionPage effectiveRules
      The Effective Rules. The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand.
    • rules

      @SerializedName(value="rules", alternate="Rules") @Expose @Nullable public UnifiedRoleManagementPolicyRuleCollectionPage rules
      The Rules. The collection of rules like approval rules and expiration rules. Supports $expand.
  • Constructor Details

    • UnifiedRoleManagementPolicy

      public UnifiedRoleManagementPolicy()
  • 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