Class: Aws::Lex::Conversation::Type::Message

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/aws/lex/conversation/type/message.rb,
lib/aws/lex/conversation/type/message/content_type.rb

Defined Under Namespace

Classes: ContentType

Instance Method Summary collapse

Methods included from Base

included

Constructor Details

#initialize(opts = {}) ⇒ Message

Returns a new instance of Message.



19
20
21
22
# File 'lib/aws/lex/conversation/type/message.rb', line 19

def initialize(opts = {})
  assign_attributes!(opts)
  self.content_type ||= ContentType.new('PlainText')
end