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 Details

    • isEnabled

      @SerializedName(value="isEnabled", alternate="IsEnabled") @Expose @Nullable public Boolean isEnabled
      The Is Enabled. Specifies whether the admin consent request feature is enabled or disabled. Required.
    • notifyReviewers

      @SerializedName(value="notifyReviewers", alternate="NotifyReviewers") @Expose @Nullable public Boolean notifyReviewers
      The Notify Reviewers. Specifies whether reviewers will receive notifications. Required.
    • remindersEnabled

      @SerializedName(value="remindersEnabled", alternate="RemindersEnabled") @Expose @Nullable public Boolean remindersEnabled
      The Reminders Enabled. Specifies whether reviewers will receive reminder emails. Required.
    • requestDurationInDays

      @SerializedName(value="requestDurationInDays", alternate="RequestDurationInDays") @Expose @Nullable public Integer requestDurationInDays
      The 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> reviewers
      The Reviewers. Required.
    • version

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