Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Is Label Applied Explicitly.The Label Applied By.The Label Applied Date Time.The Name.The Retention Settings. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
isLabelAppliedExplicitly
@SerializedName(value="isLabelAppliedExplicitly", alternate="IsLabelAppliedExplicitly") @Expose @Nullable public Boolean isLabelAppliedExplicitlyThe 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 labelAppliedByThe Label Applied By. Identity of the user who applied the label. Read-only. -
labelAppliedDateTime
@SerializedName(value="labelAppliedDateTime", alternate="LabelAppliedDateTime") @Expose @Nullable public OffsetDateTime labelAppliedDateTimeThe 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
The Name. The retention label on the document. Read-write. -
retentionSettings
@SerializedName(value="retentionSettings", alternate="RetentionSettings") @Expose @Nullable public RetentionLabelSettings retentionSettingsThe 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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-