Class OnPremisesAccidentalDeletionPrevention

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

public class OnPremisesAccidentalDeletionPrevention extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the On Premises Accidental Deletion Prevention.
  • Field Details

    • oDataType

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

      @SerializedName(value="alertThreshold", alternate="AlertThreshold") @Expose @Nullable public Integer alertThreshold
      The Alert Threshold. Threshold value which triggers accidental deletion prevention. The threshold is either an absolute number of objects or a percentage number of objects.
    • synchronizationPreventionType

      @SerializedName(value="synchronizationPreventionType", alternate="SynchronizationPreventionType") @Expose @Nullable public OnPremisesDirectorySynchronizationDeletionPreventionType synchronizationPreventionType
      The Synchronization Prevention Type. The status of the accidental deletion prevention feature. The possible values are: disabled, enabledForCount, enabledForPercentage, unknownFutureValue.
  • Constructor Details

    • OnPremisesAccidentalDeletionPrevention

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