You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Lex::Types::GenericAttachment

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

Overview

Represents an option rendered to the user when a prompt is shown. It could be an image, a button, a link, or text.

Instance Attribute Summary collapse

Instance Attribute Details

The URL of an attachment to the response card.

Returns:

  • (String)


57
58
59
60
61
62
63
64
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 57

class GenericAttachment < Struct.new(
  :title,
  :sub_title,
  :attachment_link_url,
  :image_url,
  :buttons)
  include Aws::Structure
end

#buttonsArray<Types::Button>

The list of options to show to the user.

Returns:



57
58
59
60
61
62
63
64
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 57

class GenericAttachment < Struct.new(
  :title,
  :sub_title,
  :attachment_link_url,
  :image_url,
  :buttons)
  include Aws::Structure
end

#image_urlString

The URL of an image that is displayed to the user.

Returns:

  • (String)


57
58
59
60
61
62
63
64
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 57

class GenericAttachment < Struct.new(
  :title,
  :sub_title,
  :attachment_link_url,
  :image_url,
  :buttons)
  include Aws::Structure
end

#sub_titleString

The subtitle shown below the title.

Returns:

  • (String)


57
58
59
60
61
62
63
64
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 57

class GenericAttachment < Struct.new(
  :title,
  :sub_title,
  :attachment_link_url,
  :image_url,
  :buttons)
  include Aws::Structure
end

#titleString

The title of the option.

Returns:

  • (String)


57
58
59
60
61
62
63
64
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 57

class GenericAttachment < Struct.new(
  :title,
  :sub_title,
  :attachment_link_url,
  :image_url,
  :buttons)
  include Aws::Structure
end