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