Class AccessPackageAutomaticRequestSettings

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

public class AccessPackageAutomaticRequestSettings extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Access Package Automatic Request Settings.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • gracePeriodBeforeAccessRemoval

      @SerializedName(value="gracePeriodBeforeAccessRemoval", alternate="GracePeriodBeforeAccessRemoval") @Expose @Nullable public Duration gracePeriodBeforeAccessRemoval
      The Grace Period Before Access Removal. The duration for which access must be retained before the target's access is revoked once they leave the allowed target scope.
    • removeAccessWhenTargetLeavesAllowedTargets

      @SerializedName(value="removeAccessWhenTargetLeavesAllowedTargets", alternate="RemoveAccessWhenTargetLeavesAllowedTargets") @Expose @Nullable public Boolean removeAccessWhenTargetLeavesAllowedTargets
      The Remove Access When Target Leaves Allowed Targets. Indicates whether automatic assignment must be removed for targets who move out of the allowed target scope.
    • requestAccessForAllowedTargets

      @SerializedName(value="requestAccessForAllowedTargets", alternate="RequestAccessForAllowedTargets") @Expose @Nullable public Boolean requestAccessForAllowedTargets
      The Request Access For Allowed Targets. If set to true, automatic assignments will be created for targets in the allowed target scope.
  • Constructor Details

    • AccessPackageAutomaticRequestSettings

      public AccessPackageAutomaticRequestSettings()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • 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
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to