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
  • Constructor Details

    • LabelsRoot

      public LabelsRoot()
      Instantiates a new LabelsRoot 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

      @Nullable public List<AuthorityTemplate> 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

      @Nullable public List<CategoryTemplate> getCategories()
      Gets the categories property value. Specifies a group of similar types of content in a particular department.
      Returns:
      a List<CategoryTemplate>
    • getCitations

      @Nullable public List<CitationTemplate> 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

      @Nullable public List<DepartmentTemplate> 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFilePlanReferences

      @Nullable public List<FilePlanReferenceTemplate> getFilePlanReferences()
      Gets the filePlanReferences property value. Specifies a unique alpha-numeric identifier for an organizations retention schedule.
      Returns:
      a List<FilePlanReferenceTemplate>
    • getRetentionLabels

      @Nullable public List<RetentionLabel> 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAuthorities

      public void setAuthorities(@Nullable List<AuthorityTemplate> value)
      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

      public void setCategories(@Nullable List<CategoryTemplate> value)
      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

      public void setCitations(@Nullable List<CitationTemplate> value)
      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

      public void setDepartments(@Nullable List<DepartmentTemplate> value)
      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

      public void setFilePlanReferences(@Nullable List<FilePlanReferenceTemplate> value)
      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

      public void setRetentionLabels(@Nullable List<RetentionLabel> value)
      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.