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
  • Constructor Details

    • ConversationMember

      public ConversationMember()
      Instantiates a new ConversationMember 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

      @Nullable public String 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getRoles

      @Nullable public List<String> 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.
      Returns:
      a List<String>
    • getVisibleHistoryStartDateTime

      @Nullable public OffsetDateTime 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name of the user.
      Parameters:
      value - Value to set for the displayName property.
    • setRoles

      public void setRoles(@Nullable List<String> value)
      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

      public void setVisibleHistoryStartDateTime(@Nullable OffsetDateTime value)
      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.