Class: Aws::QConnect::Types::MessageData
- Inherits:
-
Struct
- Object
- Struct
- Aws::QConnect::Types::MessageData
- Defined in:
- gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb
Overview
Note:
MessageData is a union - when making an API calls you must set exactly one of the members.
Note:
MessageData is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of MessageData corresponding to the set member.
The message data.
Direct Known Subclasses
Defined Under Namespace
Classes: Text, ToolUseResult, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#text ⇒ Types::TextMessage
The message data in text type.
-
#tool_use_result ⇒ Types::ToolUseResultData
The result of tool usage in the message.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#text ⇒ Types::TextMessage
The message data in text type.
7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 7224 class MessageData < Struct.new( :text, :tool_use_result, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < MessageData; end class ToolUseResult < MessageData; end class Unknown < MessageData; end end |
#tool_use_result ⇒ Types::ToolUseResultData
The result of tool usage in the message.
7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 7224 class MessageData < Struct.new( :text, :tool_use_result, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < MessageData; end class ToolUseResult < MessageData; end class Unknown < MessageData; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
7224 7225 7226 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 7224 def unknown @unknown end |