blib/lib/Paws/LexModelsV2/ImageResponseCard.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::LexModelsV2::ImageResponseCard;
3 use Moose;
4 has Buttons => (is => 'ro', isa => 'ArrayRef[Paws::LexModelsV2::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'], required => 1);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::LexModelsV2::ImageResponseCard
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::LexModelsV2::ImageResponseCard object:
27  
28 $service_obj->Method(Att1 => { Buttons => $value, ..., Title => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::LexModelsV2::ImageResponseCard object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Buttons
36  
37 =head1 DESCRIPTION
38  
39 A card that is shown to the user by a messaging platform. You define
40 the contents of the card, the card is displayed by the platform.
41  
42 When you use a response card, the response from the user is constrained
43 to the text associated with a button on the card.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 Buttons => ArrayRef[L<Paws::LexModelsV2::Button>]
49  
50 A list of buttons that should be displayed on the response card. The
51 arrangement of the buttons is determined by the platform that displays
52 the button.
53  
54  
55 =head2 ImageUrl => Str
56  
57 The URL of an image to display on the response card. The image URL must
58 be publicly available so that the platform displaying the response card
59 has access to the image.
60  
61  
62 =head2 Subtitle => Str
63  
64 The subtitle to display on the response card. The format of the
65 subtitle is determined by the platform displaying the response card.
66  
67  
68 =head2 B<REQUIRED> Title => Str
69  
70 The title to display on the response card. The format of the title is
71 determined by the platform displaying the response card.
72  
73  
74  
75 =head1 SEE ALSO
76  
77 This class forms part of L<Paws>, describing an object used in L<Paws::LexModelsV2>
78  
79 =head1 BUGS and CONTRIBUTIONS
80  
81 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
82  
83 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
84  
85 =cut
86