Class Term
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Term
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the children property value.Gets the createdDateTime property value.Gets the descriptions property value.The deserialization information for the current modelGets the labels property value.Gets the lastModifiedDateTime property value.Gets the properties property value.Gets the relations property value.getSet()
Gets the set property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setChildren
(List<Term> value) Sets the children property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescriptions
(List<LocalizedDescription> value) Sets the descriptions property value.void
setLabels
(List<LocalizedLabel> value) Sets the labels property value.void
Sets the lastModifiedDateTime property value.void
setProperties
(List<KeyValue> value) Sets the properties property value.void
setRelations
(List<Relation> value) Sets the relations property value.void
Sets the set property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Term
public Term()Instantiates a newTerm
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
Gets the children property value. Children of current term. -
getCreatedDateTime
Gets the createdDateTime property value. Date and time of term creation. Read-only.- Returns:
- a
OffsetDateTime
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLabels
Gets the labels property value. Label metadata for a term.- Returns:
- a
List<LocalizedLabel>
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. Last date and time of term modification. Read-only.- Returns:
- a
OffsetDateTime
-
getProperties
Gets the properties property value. Collection of properties on the term. -
getRelations
Gets the relations property value. To indicate which terms are related to the current term as either pinned or reused. -
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 -
setChildren
Sets the children property value. Children of current term.- Parameters:
value
- Value to set for the children property.
-
setCreatedDateTime
Sets the createdDateTime property value. Date and time of term creation. Read-only.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescriptions
Sets the descriptions property value. Description about term that is dependent on the languageTag.- Parameters:
value
- Value to set for the descriptions property.
-
setLabels
Sets the labels property value. Label metadata for a term.- Parameters:
value
- Value to set for the labels property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. Last date and time of term modification. Read-only.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setProperties
Sets the properties property value. Collection of properties on the term.- Parameters:
value
- Value to set for the properties property.
-
setRelations
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
Sets the set property value. The [set] in which the term is created.- Parameters:
value
- Value to set for the set property.
-