Class AiInteraction

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AiInteraction
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class AiInteraction extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • AiInteraction

      public AiInteraction()
      Instantiates a new AiInteraction and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static AiInteraction 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 AiInteraction
    • getAppClass

      @Nullable public String getAppClass()
      Gets the appClass property value. The appClass property
      Returns:
      a String
    • getAttachments

      @Nullable public List<AiInteractionAttachment> getAttachments()
      Gets the attachments property value. The attachments property
      Returns:
      a List<AiInteractionAttachment>
    • getBody

      @Nullable public ItemBody getBody()
      Gets the body property value. The body property
      Returns:
      a ItemBody
    • getContexts

      @Nullable public List<AiInteractionContext> getContexts()
      Gets the contexts property value. The contexts property
      Returns:
      a List<AiInteractionContext>
    • getConversationType

      @Nullable public String getConversationType()
      Gets the conversationType property value. The conversationType property
      Returns:
      a String
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The createdDateTime property
      Returns:
      a OffsetDateTime
    • getEtag

      @Nullable public String getEtag()
      Gets the etag property value. The etag property
      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>>
    • getFrom

      @Nullable public IdentitySet getFrom()
      Gets the from property value. The from property
      Returns:
      a IdentitySet
    • getInteractionType

      @Nullable public AiInteractionType getInteractionType()
      Gets the interactionType property value. The interactionType property
      Returns:
      a AiInteractionType
    • getLinks

      @Nullable public List<AiInteractionLink> getLinks()
      Gets the links property value. The links property
      Returns:
      a List<AiInteractionLink>
    • getLocale

      @Nullable public String getLocale()
      Gets the locale property value. The locale property
      Returns:
      a String
    • getMentions

      @Nullable public List<AiInteractionMention> getMentions()
      Gets the mentions property value. The mentions property
      Returns:
      a List<AiInteractionMention>
    • getRequestId

      @Nullable public String getRequestId()
      Gets the requestId property value. The requestId property
      Returns:
      a String
    • getSessionId

      @Nullable public String getSessionId()
      Gets the sessionId property value. The sessionId property
      Returns:
      a String
    • 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
    • setAppClass

      public void setAppClass(@Nullable String value)
      Sets the appClass property value. The appClass property
      Parameters:
      value - Value to set for the appClass property.
    • setAttachments

      public void setAttachments(@Nullable List<AiInteractionAttachment> value)
      Sets the attachments property value. The attachments property
      Parameters:
      value - Value to set for the attachments property.
    • setBody

      public void setBody(@Nullable ItemBody value)
      Sets the body property value. The body property
      Parameters:
      value - Value to set for the body property.
    • setContexts

      public void setContexts(@Nullable List<AiInteractionContext> value)
      Sets the contexts property value. The contexts property
      Parameters:
      value - Value to set for the contexts property.
    • setConversationType

      public void setConversationType(@Nullable String value)
      Sets the conversationType property value. The conversationType property
      Parameters:
      value - Value to set for the conversationType property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The createdDateTime property
      Parameters:
      value - Value to set for the createdDateTime property.
    • setEtag

      public void setEtag(@Nullable String value)
      Sets the etag property value. The etag property
      Parameters:
      value - Value to set for the etag property.
    • setFrom

      public void setFrom(@Nullable IdentitySet value)
      Sets the from property value. The from property
      Parameters:
      value - Value to set for the from property.
    • setInteractionType

      public void setInteractionType(@Nullable AiInteractionType value)
      Sets the interactionType property value. The interactionType property
      Parameters:
      value - Value to set for the interactionType property.
    • setLinks

      public void setLinks(@Nullable List<AiInteractionLink> value)
      Sets the links property value. The links property
      Parameters:
      value - Value to set for the links property.
    • setLocale

      public void setLocale(@Nullable String value)
      Sets the locale property value. The locale property
      Parameters:
      value - Value to set for the locale property.
    • setMentions

      public void setMentions(@Nullable List<AiInteractionMention> value)
      Sets the mentions property value. The mentions property
      Parameters:
      value - Value to set for the mentions property.
    • setRequestId

      public void setRequestId(@Nullable String value)
      Sets the requestId property value. The requestId property
      Parameters:
      value - Value to set for the requestId property.
    • setSessionId

      public void setSessionId(@Nullable String value)
      Sets the sessionId property value. The sessionId property
      Parameters:
      value - Value to set for the sessionId property.