Class Group
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.termstore.Group
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Group
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 Group
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the createdDateTime property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the parentSiteId property value.getScope()
Gets the scope property value.getSets()
Gets the sets property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setParentSiteId
(String value) Sets the parentSiteId property value.void
setScope
(TermGroupScope value) Sets the scope property value.void
Sets the sets property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Group
public Group()Instantiates a newGroup
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Group 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
Group
-
getCreatedDateTime
Gets the createdDateTime property value. Date and time of the group creation. Read-only.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. Description that gives details on the term usage.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. Name of the group.- 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>>
-
getParentSiteId
Gets the parentSiteId property value. ID of the parent site of this group.- Returns:
- a
String
-
getScope
Gets the scope property value. Returns the type of the group. Possible values are: global, system, and siteCollection.- Returns:
- a
TermGroupScope
-
getSets
Gets the sets property value. All sets under the group in a term [store]. -
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCreatedDateTime
Sets the createdDateTime property value. Date and time of the group 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.
-
setDisplayName
Sets the displayName property value. Name of the group.- Parameters:
value
- Value to set for the displayName property.
-
setParentSiteId
Sets the parentSiteId property value. ID of the parent site of this group.- Parameters:
value
- Value to set for the parentSiteId property.
-
setScope
Sets the scope property value. Returns the type of the group. Possible values are: global, system, and siteCollection.- Parameters:
value
- Value to set for the scope property.
-
setSets
Sets the sets property value. All sets under the group in a term [store].- Parameters:
value
- Value to set for the sets property.
-