Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Description.The Display Name.The Effective Rules.The Is Organization Default.The Last Modified By.The Last Modified Date Time.The Rules.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
-
description
@SerializedName(value="description", alternate="Description") @Expose @Nullable public String descriptionThe Description. Description for the policy. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. Display name for the policy. -
isOrganizationDefault
@SerializedName(value="isOrganizationDefault", alternate="IsOrganizationDefault") @Expose @Nullable public Boolean isOrganizationDefaultThe 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 lastModifiedByThe Last Modified By. The identity who last modified the role setting. -
lastModifiedDateTime
@SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose @Nullable public OffsetDateTime lastModifiedDateTimeThe Last Modified Date Time. The time when the role setting was last modified. -
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
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 effectiveRulesThe 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 rulesThe 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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-