Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Alert Threshold.the OData type of the object as returned by the serviceThe Synchronization Prevention Type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
alertThreshold
@SerializedName(value="alertThreshold", alternate="AlertThreshold") @Expose @Nullable public Integer alertThresholdThe 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 synchronizationPreventionTypeThe 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:
additionalDataManagerin interfacecom.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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-