Class Set
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.termstore.Set
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Set
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 Set
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 description property value.The deserialization information for the current modelGets the localizedNames property value.Gets the parentGroup property value.Gets the properties property value.Gets the relations property value.getTerms()
Gets the terms 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
setDescription
(String value) Sets the description property value.void
setLocalizedNames
(List<LocalizedName> value) Sets the localizedNames property value.void
setParentGroup
(Group value) Sets the parentGroup 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 terms property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Set
public Set()Instantiates a newSet
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Set 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
Set
-
getChildren
Gets the children property value. Children terms of set in term [store]. -
getCreatedDateTime
Gets the createdDateTime property value. Date and time of set creation. Read-only.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. Description that gives details on the term usage.- Returns:
- a
String
-
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>>
-
getLocalizedNames
Gets the localizedNames property value. Name of the set for each languageTag.- Returns:
- a
List<LocalizedName>
-
getParentGroup
Gets the parentGroup property value. The parentGroup property- Returns:
- a
Group
-
getProperties
Gets the properties property value. Custom properties for the set. -
getRelations
Gets the relations property value. Indicates which terms have been pinned or reused directly under the set. -
getTerms
Gets the terms property value. All the terms under the set. -
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setChildren
Sets the children property value. Children terms of set in term [store].- Parameters:
value
- Value to set for the children property.
-
setCreatedDateTime
Sets the createdDateTime property value. Date and time of set creation. Read-only.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescription
Sets the description property value. Description that gives details on the term usage.- Parameters:
value
- Value to set for the description property.
-
setLocalizedNames
Sets the localizedNames property value. Name of the set for each languageTag.- Parameters:
value
- Value to set for the localizedNames property.
-
setParentGroup
Sets the parentGroup property value. The parentGroup property- Parameters:
value
- Value to set for the parentGroup property.
-
setProperties
Sets the properties property value. Custom properties for the set.- Parameters:
value
- Value to set for the properties property.
-
setRelations
Sets the relations property value. Indicates which terms have been pinned or reused directly under the set.- Parameters:
value
- Value to set for the relations property.
-
setTerms
Sets the terms property value. All the terms under the set.- Parameters:
value
- Value to set for the terms property.
-