Package com.microsoft.graph.models
Class AdminConsentRequestPolicy
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AdminConsentRequestPolicy
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class AdminConsentRequestPolicy
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Admin Consent Request Policy.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Is Enabled.The Notify Reviewers.The Reminders Enabled.The Request Duration In Days.The Reviewers.The Version. -
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
-
isEnabled
@SerializedName(value="isEnabled", alternate="IsEnabled") @Expose @Nullable public Boolean isEnabledThe Is Enabled. Specifies whether the admin consent request feature is enabled or disabled. Required. -
notifyReviewers
@SerializedName(value="notifyReviewers", alternate="NotifyReviewers") @Expose @Nullable public Boolean notifyReviewersThe Notify Reviewers. Specifies whether reviewers will receive notifications. Required. -
remindersEnabled
@SerializedName(value="remindersEnabled", alternate="RemindersEnabled") @Expose @Nullable public Boolean remindersEnabledThe Reminders Enabled. Specifies whether reviewers will receive reminder emails. Required. -
requestDurationInDays
@SerializedName(value="requestDurationInDays", alternate="RequestDurationInDays") @Expose @Nullable public Integer requestDurationInDaysThe Request Duration In Days. Specifies the duration the request is active before it automatically expires if no decision is applied. -
reviewers
@SerializedName(value="reviewers", alternate="Reviewers") @Expose @Nullable public List<AccessReviewReviewerScope> reviewersThe Reviewers. Required. -
version
The Version. Specifies the version of this policy. When the policy is updated, this version is updated. Read-only.
-
-
Constructor Details
-
AdminConsentRequestPolicy
public AdminConsentRequestPolicy()
-
-
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
-