Class ItemRetentionLabel

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

public class ItemRetentionLabel extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Item Retention Label.
  • Field Details

    • isLabelAppliedExplicitly

      @SerializedName(value="isLabelAppliedExplicitly", alternate="IsLabelAppliedExplicitly") @Expose @Nullable public Boolean isLabelAppliedExplicitly
      The Is Label Applied Explicitly. Specifies whether the label is applied explicitly on the item. True indicates that the label is applied explicitly; otherwise, the label is inherited from its parent. Read-only.
    • labelAppliedBy

      @SerializedName(value="labelAppliedBy", alternate="LabelAppliedBy") @Expose @Nullable public IdentitySet labelAppliedBy
      The Label Applied By. Identity of the user who applied the label. Read-only.
    • labelAppliedDateTime

      @SerializedName(value="labelAppliedDateTime", alternate="LabelAppliedDateTime") @Expose @Nullable public OffsetDateTime labelAppliedDateTime
      The Label Applied Date Time. The date and time when the label was applied on the item. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
    • name

      @SerializedName(value="name", alternate="Name") @Expose @Nullable public String name
      The Name. The retention label on the document. Read-write.
    • retentionSettings

      @SerializedName(value="retentionSettings", alternate="RetentionSettings") @Expose @Nullable public RetentionLabelSettings retentionSettings
      The Retention Settings. The retention settings enforced on the item. Read-write.
  • Constructor Details

    • ItemRetentionLabel

      public ItemRetentionLabel()
  • Method Details

    • 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
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to