Package com.microsoft.graph.models
Class TeamworkTag
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.TeamworkTag
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class TeamworkTag
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 TeamworkTagcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the memberCount property value.Gets the members property value.Gets the tagType property value.Gets the teamId property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetDescription(String value) Sets the description property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetMemberCount(Integer value) Sets the memberCount property value.voidsetMembers(List<TeamworkTagMember> value) Sets the members property value.voidsetTagType(TeamworkTagType value) Sets the tagType property value.voidSets the teamId property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
TeamworkTag
public TeamworkTag()Instantiates a newTeamworkTagand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static TeamworkTag 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
TeamworkTag
-
getDescription
Gets the description property value. The description of the tag as it appears to the user in Microsoft Teams. A teamworkTag can't have more than 200 teamworkTagMembers.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The name of the tag as it appears to the user in Microsoft Teams.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getMemberCount
Gets the memberCount property value. The number of users assigned to the tag.- Returns:
- a
Integer
-
getMembers
Gets the members property value. Users assigned to the tag.- Returns:
- a
List<TeamworkTagMember>
-
getTagType
Gets the tagType property value. The type of the tag. Default is standard.- Returns:
- a
TeamworkTagType
-
getTeamId
Gets the teamId property value. ID of the team in which the tag is defined.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDescription
Sets the description property value. The description of the tag as it appears to the user in Microsoft Teams. A teamworkTag can't have more than 200 teamworkTagMembers.- Parameters:
value- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The name of the tag as it appears to the user in Microsoft Teams.- Parameters:
value- Value to set for the displayName property.
-
setMemberCount
Sets the memberCount property value. The number of users assigned to the tag.- Parameters:
value- Value to set for the memberCount property.
-
setMembers
Sets the members property value. Users assigned to the tag.- Parameters:
value- Value to set for the members property.
-
setTagType
Sets the tagType property value. The type of the tag. Default is standard.- Parameters:
value- Value to set for the tagType property.
-
setTeamId
Sets the teamId property value. ID of the team in which the tag is defined.- Parameters:
value- Value to set for the teamId property.
-