Record Class UserMessageEvent.UserMessageEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.UserMessageEvent.UserMessageEventData
- Enclosing class:
UserMessageEvent
public static record UserMessageEvent.UserMessageEventData(String content, ResponsesReasoning responsesReasoning, String messageId, String transformedContent, List<Object> attachments, List<String> supportedNativeDocumentMimeTypes, List<String> nativeDocumentPathFallbackPaths, String source, UserMessageDelivery delivery, UserMessageAgentMode agentMode, Boolean isAutopilotContinuation, String interactionId, String turnId, String parentAgentTaskId)
extends Record
Data payload for
UserMessageEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionUserMessageEventData(String content, ResponsesReasoning responsesReasoning, String messageId, String transformedContent, List<Object> attachments, List<String> supportedNativeDocumentMimeTypes, List<String> nativeDocumentPathFallbackPaths, String source, UserMessageDelivery delivery, UserMessageAgentMode agentMode, Boolean isAutopilotContinuation, String interactionId, String turnId, String parentAgentTaskId) Creates an instance of aUserMessageEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theagentModerecord component.Returns the value of theattachmentsrecord component.content()Returns the value of thecontentrecord component.delivery()Returns the value of thedeliveryrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinteractionIdrecord component.Returns the value of theisAutopilotContinuationrecord component.Returns the value of themessageIdrecord component.Returns the value of thenativeDocumentPathFallbackPathsrecord component.Returns the value of theparentAgentTaskIdrecord component.Returns the value of theresponsesReasoningrecord component.source()Returns the value of thesourcerecord component.Returns the value of thesupportedNativeDocumentMimeTypesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransformedContentrecord component.turnId()Returns the value of theturnIdrecord component.
-
Constructor Details
-
UserMessageEventData
public UserMessageEventData(String content, ResponsesReasoning responsesReasoning, String messageId, String transformedContent, List<Object> attachments, List<String> supportedNativeDocumentMimeTypes, List<String> nativeDocumentPathFallbackPaths, String source, UserMessageDelivery delivery, UserMessageAgentMode agentMode, Boolean isAutopilotContinuation, String interactionId, String turnId, String parentAgentTaskId) Creates an instance of aUserMessageEventDatarecord class.- Parameters:
content- the value for thecontentrecord componentresponsesReasoning- the value for theresponsesReasoningrecord componentmessageId- the value for themessageIdrecord componenttransformedContent- the value for thetransformedContentrecord componentattachments- the value for theattachmentsrecord componentsupportedNativeDocumentMimeTypes- the value for thesupportedNativeDocumentMimeTypesrecord componentnativeDocumentPathFallbackPaths- the value for thenativeDocumentPathFallbackPathsrecord componentsource- the value for thesourcerecord componentdelivery- the value for thedeliveryrecord componentagentMode- the value for theagentModerecord componentisAutopilotContinuation- the value for theisAutopilotContinuationrecord componentinteractionId- the value for theinteractionIdrecord componentturnId- the value for theturnIdrecord componentparentAgentTaskId- the value for theparentAgentTaskIdrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
content
Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-
responsesReasoning
Returns the value of theresponsesReasoningrecord component.- Returns:
- the value of the
responsesReasoningrecord component
-
messageId
Returns the value of themessageIdrecord component.- Returns:
- the value of the
messageIdrecord component
-
transformedContent
Returns the value of thetransformedContentrecord component.- Returns:
- the value of the
transformedContentrecord component
-
attachments
-
supportedNativeDocumentMimeTypes
-
nativeDocumentPathFallbackPaths
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
delivery
Returns the value of thedeliveryrecord component.- Returns:
- the value of the
deliveryrecord component
-
agentMode
Returns the value of theagentModerecord component.- Returns:
- the value of the
agentModerecord component
-
isAutopilotContinuation
Returns the value of theisAutopilotContinuationrecord component.- Returns:
- the value of the
isAutopilotContinuationrecord component
-
interactionId
Returns the value of theinteractionIdrecord component.- Returns:
- the value of the
interactionIdrecord component
-
turnId
Returns the value of theturnIdrecord component.- Returns:
- the value of the
turnIdrecord component
-
parentAgentTaskId
Returns the value of theparentAgentTaskIdrecord component.- Returns:
- the value of the
parentAgentTaskIdrecord component
-