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 Details

    • oDataType

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

      @SerializedName(value="behaviorDuringRetentionPeriod", alternate="BehaviorDuringRetentionPeriod") @Expose @Nullable public BehaviorDuringRetentionPeriod behaviorDuringRetentionPeriod
      The 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 isContentUpdateAllowed
      The Is Content Update Allowed. Specifies whether updates to document content are allowed. Read-only.
    • isDeleteAllowed

      @SerializedName(value="isDeleteAllowed", alternate="IsDeleteAllowed") @Expose @Nullable public Boolean isDeleteAllowed
      The Is Delete Allowed. Specifies whether the document deletion is allowed. Read-only.
    • isLabelUpdateAllowed

      @SerializedName(value="isLabelUpdateAllowed", alternate="IsLabelUpdateAllowed") @Expose @Nullable public Boolean isLabelUpdateAllowed
      The 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 isMetadataUpdateAllowed
      The 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 isRecordLocked
      The 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:
      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