Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AiInteractioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the appClass property value.Gets the attachments property value.getBody()Gets the body property value.Gets the contexts property value.Gets the conversationType property value.Gets the createdDateTime property value.getEtag()Gets the etag property value.The deserialization information for the current modelgetFrom()Gets the from property value.Gets the interactionType property value.getLinks()Gets the links property value.Gets the locale property value.Gets the mentions property value.Gets the requestId property value.Gets the sessionId property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAppClass(String value) Sets the appClass property value.voidSets the attachments property value.voidSets the body property value.voidsetContexts(List<AiInteractionContext> value) Sets the contexts property value.voidsetConversationType(String value) Sets the conversationType property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidSets the etag property value.voidsetFrom(IdentitySet value) Sets the from property value.voidSets the interactionType property value.voidsetLinks(List<AiInteractionLink> value) Sets the links property value.voidSets the locale property value.voidsetMentions(List<AiInteractionMention> value) Sets the mentions property value.voidsetRequestId(String value) Sets the requestId property value.voidsetSessionId(String value) Sets the sessionId property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AiInteraction
public AiInteraction()Instantiates a newAiInteractionand 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
Gets the appClass property value. The appClass property- Returns:
- a
String
-
getAttachments
Gets the attachments property value. The attachments property- Returns:
- a
List<AiInteractionAttachment>
-
getBody
Gets the body property value. The body property- Returns:
- a
ItemBody
-
getContexts
Gets the contexts property value. The contexts property- Returns:
- a
List<AiInteractionContext>
-
getConversationType
Gets the conversationType property value. The conversationType property- Returns:
- a
String
-
getCreatedDateTime
Gets the createdDateTime property value. The createdDateTime property- Returns:
- a
OffsetDateTime
-
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFrom
Gets the from property value. The from property- Returns:
- a
IdentitySet
-
getInteractionType
Gets the interactionType property value. The interactionType property- Returns:
- a
AiInteractionType
-
getLinks
Gets the links property value. The links property- Returns:
- a
List<AiInteractionLink>
-
getLocale
Gets the locale property value. The locale property- Returns:
- a
String
-
getMentions
Gets the mentions property value. The mentions property- Returns:
- a
List<AiInteractionMention>
-
getRequestId
Gets the requestId property value. The requestId property- Returns:
- a
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 -
setAppClass
Sets the appClass property value. The appClass property- Parameters:
value- Value to set for the appClass property.
-
setAttachments
Sets the attachments property value. The attachments property- Parameters:
value- Value to set for the attachments property.
-
setBody
Sets the body property value. The body property- Parameters:
value- Value to set for the body property.
-
setContexts
Sets the contexts property value. The contexts property- Parameters:
value- Value to set for the contexts property.
-
setConversationType
Sets the conversationType property value. The conversationType property- Parameters:
value- Value to set for the conversationType property.
-
setCreatedDateTime
Sets the createdDateTime property value. The createdDateTime property- Parameters:
value- Value to set for the createdDateTime property.
-
setEtag
Sets the etag property value. The etag property- Parameters:
value- Value to set for the etag property.
-
setFrom
Sets the from property value. The from property- Parameters:
value- Value to set for the from property.
-
setInteractionType
Sets the interactionType property value. The interactionType property- Parameters:
value- Value to set for the interactionType property.
-
setLinks
Sets the links property value. The links property- Parameters:
value- Value to set for the links property.
-
setLocale
Sets the locale property value. The locale property- Parameters:
value- Value to set for the locale property.
-
setMentions
Sets the mentions property value. The mentions property- Parameters:
value- Value to set for the mentions property.
-
setRequestId
Sets the requestId property value. The requestId property- Parameters:
value- Value to set for the requestId property.
-
setSessionId
Sets the sessionId property value. The sessionId property- Parameters:
value- Value to set for the sessionId property.
-