java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.termstore.Term
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class Term extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • Term

      public Term()
      Instantiates a new Term and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static Term 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 Term
    • getChildren

      @Nullable public List<Term> getChildren()
      Gets the children property value. Children of current term.
      Returns:
      a List<Term>
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. Date and time of term creation. Read-only.
      Returns:
      a OffsetDateTime
    • getDescriptions

      @Nullable public List<LocalizedDescription> getDescriptions()
      Gets the descriptions property value. Description about term that is dependent on the languageTag.
      Returns:
      a List<LocalizedDescription>
    • 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>>
    • getLabels

      @Nullable public List<LocalizedLabel> getLabels()
      Gets the labels property value. Label metadata for a term.
      Returns:
      a List<LocalizedLabel>
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. Last date and time of term modification. Read-only.
      Returns:
      a OffsetDateTime
    • getProperties

      @Nullable public List<KeyValue> getProperties()
      Gets the properties property value. Collection of properties on the term.
      Returns:
      a List<KeyValue>
    • getRelations

      @Nullable public List<Relation> getRelations()
      Gets the relations property value. To indicate which terms are related to the current term as either pinned or reused.
      Returns:
      a List<Relation>
    • getSet

      @Nullable public Set getSet()
      Gets the set property value. The [set] in which the term is created.
      Returns:
      a Set
    • 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
    • setChildren

      public void setChildren(@Nullable List<Term> value)
      Sets the children property value. Children of current term.
      Parameters:
      value - Value to set for the children property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. Date and time of term creation. Read-only.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDescriptions

      public void setDescriptions(@Nullable List<LocalizedDescription> value)
      Sets the descriptions property value. Description about term that is dependent on the languageTag.
      Parameters:
      value - Value to set for the descriptions property.
    • setLabels

      public void setLabels(@Nullable List<LocalizedLabel> value)
      Sets the labels property value. Label metadata for a term.
      Parameters:
      value - Value to set for the labels property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. Last date and time of term modification. Read-only.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setProperties

      public void setProperties(@Nullable List<KeyValue> value)
      Sets the properties property value. Collection of properties on the term.
      Parameters:
      value - Value to set for the properties property.
    • setRelations

      public void setRelations(@Nullable List<Relation> value)
      Sets the relations property value. To indicate which terms are related to the current term as either pinned or reused.
      Parameters:
      value - Value to set for the relations property.
    • setSet

      public void setSet(@Nullable Set value)
      Sets the set property value. The [set] in which the term is created.
      Parameters:
      value - Value to set for the set property.