Class: Aws::OpenSearchMemory::Types::ConversationalPayload

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb

Overview

Note:

ConversationalPayload is a union - when making an API calls you must set exactly one of the members.

Note:

ConversationalPayload is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ConversationalPayload corresponding to the set member.

Conversational content. Exactly one member is set.

Defined Under Namespace

Classes: Unified, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#unified ⇒ Types::UnifiedConversational

Conversation turns in the service's own format.



189
190
191
192
193
194
195
196
197
198
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 189

class ConversationalPayload < Struct.new(
  :unified,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Unified < ConversationalPayload; end
  class Unknown < ConversationalPayload; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



189
190
191
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 189

def unknown
  @unknown
end