Package com.microsoft.graph.models
Class ConversationMember
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ConversationMember
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
AadUserConversationMember
,AnonymousGuestConversationMember
,AzureCommunicationServicesUserConversationMember
,MicrosoftAccountUserConversationMember
,SkypeForBusinessUserConversationMember
,SkypeUserConversationMember
@Generated("com.microsoft.kiota")
public class ConversationMember
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 ConversationMember
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the displayName property value.The deserialization information for the current modelgetRoles()
Gets the roles property value.Gets the visibleHistoryStartDateTime property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setDisplayName
(String value) Sets the displayName property value.void
Sets the roles property value.void
Sets the visibleHistoryStartDateTime property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ConversationMember
public ConversationMember()Instantiates a newConversationMember
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ConversationMember 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
ConversationMember
-
getDisplayName
Gets the displayName property value. The display name of the user.- 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>>
-
getRoles
Gets the roles property value. The roles for that user. This property contains more qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member shouldn't have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. -
getVisibleHistoryStartDateTime
Gets the visibleHistoryStartDateTime property value. The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is settable only for members of a chat.- Returns:
- a
OffsetDateTime
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDisplayName
Sets the displayName property value. The display name of the user.- Parameters:
value
- Value to set for the displayName property.
-
setRoles
Sets the roles property value. The roles for that user. This property contains more qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member shouldn't have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role.- Parameters:
value
- Value to set for the roles property.
-
setVisibleHistoryStartDateTime
Sets the visibleHistoryStartDateTime property value. The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is settable only for members of a chat.- Parameters:
value
- Value to set for the visibleHistoryStartDateTime property.
-