Class: Aws::QConnect::Types::MessageData

Inherits:
Struct
  • Object
show all
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

Text, Unknown

Defined Under Namespace

Classes: Text, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#textTypes::TextMessage

The message data in text type.

Returns:



6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 6456

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

  class Text < MessageData; end
  class Unknown < MessageData; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



6456
6457
6458
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 6456

def unknown
  @unknown
end