Class LabelsRoot
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.LabelsRoot
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class LabelsRoot
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LabelsRoot
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the authorities property value.Gets the categories property value.Gets the citations property value.Gets the departments property value.The deserialization information for the current modelGets the filePlanReferences property value.Gets the retentionLabels property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAuthorities
(List<AuthorityTemplate> value) Sets the authorities property value.void
setCategories
(List<CategoryTemplate> value) Sets the categories property value.void
setCitations
(List<CitationTemplate> value) Sets the citations property value.void
setDepartments
(List<DepartmentTemplate> value) Sets the departments property value.void
Sets the filePlanReferences property value.void
setRetentionLabels
(List<RetentionLabel> value) Sets the retentionLabels property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
LabelsRoot
public LabelsRoot()Instantiates a newLabelsRoot
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static LabelsRoot createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
LabelsRoot
-
getAuthorities
Gets the authorities property value. Specifies the underlying authority that describes the type of content to be retained and its retention schedule.- Returns:
- a
List<AuthorityTemplate>
-
getCategories
Gets the categories property value. Specifies a group of similar types of content in a particular department.- Returns:
- a
List<CategoryTemplate>
-
getCitations
Gets the citations property value. The specific rule or regulation created by a jurisdiction used to determine whether certain labels and content should be retained or deleted.- Returns:
- a
List<CitationTemplate>
-
getDepartments
Gets the departments property value. Specifies the department or business unit of an organization to which a label belongs.- Returns:
- a
List<DepartmentTemplate>
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFilePlanReferences
Gets the filePlanReferences property value. Specifies a unique alpha-numeric identifier for an organizations retention schedule.- Returns:
- a
List<FilePlanReferenceTemplate>
-
getRetentionLabels
Gets the retentionLabels property value. Represents how customers can manage their data, whether and for how long to retain or delete it.- Returns:
- a
List<RetentionLabel>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAuthorities
Sets the authorities property value. Specifies the underlying authority that describes the type of content to be retained and its retention schedule.- Parameters:
value
- Value to set for the authorities property.
-
setCategories
Sets the categories property value. Specifies a group of similar types of content in a particular department.- Parameters:
value
- Value to set for the categories property.
-
setCitations
Sets the citations property value. The specific rule or regulation created by a jurisdiction used to determine whether certain labels and content should be retained or deleted.- Parameters:
value
- Value to set for the citations property.
-
setDepartments
Sets the departments property value. Specifies the department or business unit of an organization to which a label belongs.- Parameters:
value
- Value to set for the departments property.
-
setFilePlanReferences
Sets the filePlanReferences property value. Specifies a unique alpha-numeric identifier for an organizations retention schedule.- Parameters:
value
- Value to set for the filePlanReferences property.
-
setRetentionLabels
Sets the retentionLabels property value. Represents how customers can manage their data, whether and for how long to retain or delete it.- Parameters:
value
- Value to set for the retentionLabels property.
-