| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::LexRuntime::GenericAttachment; | ||
| 3 | use Moose; | ||
| 4 | has AttachmentLinkUrl => (is => 'ro', isa => 'Str', request_name => 'attachmentLinkUrl', traits => ['NameInRequest']); | ||
| 5 | has Buttons => (is => 'ro', isa => 'ArrayRef[Paws::LexRuntime::Button]', request_name => 'buttons', traits => ['NameInRequest']); | ||
| 6 | has ImageUrl => (is => 'ro', isa => 'Str', request_name => 'imageUrl', traits => ['NameInRequest']); | ||
| 7 | has SubTitle => (is => 'ro', isa => 'Str', request_name => 'subTitle', traits => ['NameInRequest']); | ||
| 8 | has Title => (is => 'ro', isa => 'Str', request_name => 'title', traits => ['NameInRequest']); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::LexRuntime::GenericAttachment | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::LexRuntime::GenericAttachment object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { AttachmentLinkUrl => $value, ..., Title => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::LexRuntime::GenericAttachment object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->AttachmentLinkUrl | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Represents an option rendered to the user when a prompt is shown. It | ||
| 41 | could be an image, a button, a link, or text. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 AttachmentLinkUrl => Str | ||
| 47 | |||
| 48 | The URL of an attachment to the response card. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 Buttons => ArrayRef[L<Paws::LexRuntime::Button>] | ||
| 52 | |||
| 53 | The list of options to show to the user. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 ImageUrl => Str | ||
| 57 | |||
| 58 | The URL of an image that is displayed to the user. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 SubTitle => Str | ||
| 62 | |||
| 63 | The subtitle shown below the title. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 Title => Str | ||
| 67 | |||
| 68 | The title of the option. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head1 SEE ALSO | ||
| 73 | |||
| 74 | This class forms part of L<Paws>, describing an object used in L<Paws::LexRuntime> | ||
| 75 | |||
| 76 | =head1 BUGS and CONTRIBUTIONS | ||
| 77 | |||
| 78 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 79 | |||
| 80 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 81 | |||
| 82 | =cut | ||
| 83 |