Package com.microsoft.graph.models
Class RetentionLabelSettings
java.lang.Object
com.microsoft.graph.models.RetentionLabelSettings
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class RetentionLabelSettings
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Retention Label Settings.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Behavior During Retention Period.The Is Content Update Allowed.The Is Delete Allowed.The Is Label Update Allowed.The Is Metadata Update Allowed.The Is Record Locked.the OData type of the object as returned by the service -
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 -
behaviorDuringRetentionPeriod
@SerializedName(value="behaviorDuringRetentionPeriod", alternate="BehaviorDuringRetentionPeriod") @Expose @Nullable public BehaviorDuringRetentionPeriod behaviorDuringRetentionPeriodThe Behavior During Retention Period. Describes the item behavior during retention period. Possible values are: doNotRetain, retain, retainAsRecord, retainAsRegulatoryRecord, unknownFutureValue. Read-only. -
isContentUpdateAllowed
@SerializedName(value="isContentUpdateAllowed", alternate="IsContentUpdateAllowed") @Expose @Nullable public Boolean isContentUpdateAllowedThe Is Content Update Allowed. Specifies whether updates to document content are allowed. Read-only. -
isDeleteAllowed
@SerializedName(value="isDeleteAllowed", alternate="IsDeleteAllowed") @Expose @Nullable public Boolean isDeleteAllowedThe Is Delete Allowed. Specifies whether the document deletion is allowed. Read-only. -
isLabelUpdateAllowed
@SerializedName(value="isLabelUpdateAllowed", alternate="IsLabelUpdateAllowed") @Expose @Nullable public Boolean isLabelUpdateAllowedThe Is Label Update Allowed. Specifies whether you're allowed to change the retention label on the document. Read-only. -
isMetadataUpdateAllowed
@SerializedName(value="isMetadataUpdateAllowed", alternate="IsMetadataUpdateAllowed") @Expose @Nullable public Boolean isMetadataUpdateAllowedThe Is Metadata Update Allowed. Specifies whether updates to the item metadata (for example, the Title field) are blocked. Read-only. -
isRecordLocked
@SerializedName(value="isRecordLocked", alternate="IsRecordLocked") @Expose @Nullable public Boolean isRecordLockedThe Is Record Locked. Specifies whether the item is locked. Read-write.
-
-
Constructor Details
-
RetentionLabelSettings
public RetentionLabelSettings()
-
-
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
-