blib/lib/Paws/LexModelsV2/Message.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::Message;
3 use Moose;
4 has CustomPayload => (is => 'ro', isa => 'Paws::LexModelsV2::CustomPayload', request_name => 'customPayload', traits => ['NameInRequest']);
5 has ImageResponseCard => (is => 'ro', isa => 'Paws::LexModelsV2::ImageResponseCard', request_name => 'imageResponseCard', traits => ['NameInRequest']);
6 has PlainTextMessage => (is => 'ro', isa => 'Paws::LexModelsV2::PlainTextMessage', request_name => 'plainTextMessage', traits => ['NameInRequest']);
7 has SsmlMessage => (is => 'ro', isa => 'Paws::LexModelsV2::SSMLMessage', request_name => 'ssmlMessage', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::LexModelsV2::Message
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::Message object:
27  
28 $service_obj->Method(Att1 => { CustomPayload => $value, ..., SsmlMessage => $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::Message object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->CustomPayload
36  
37 =head1 DESCRIPTION
38  
39 The object that provides message text and it's type.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 CustomPayload => L<Paws::LexModelsV2::CustomPayload>
45  
46 A message in a custom format defined by the client application.
47  
48  
49 =head2 ImageResponseCard => L<Paws::LexModelsV2::ImageResponseCard>
50  
51 A message that defines a response card that the client application can
52 show to the user.
53  
54  
55 =head2 PlainTextMessage => L<Paws::LexModelsV2::PlainTextMessage>
56  
57 A message in plain text format.
58  
59  
60 =head2 SsmlMessage => L<Paws::LexModelsV2::SSMLMessage>
61  
62 A message in Speech Synthesis Markup Language (SSML).
63  
64  
65  
66 =head1 SEE ALSO
67  
68 This class forms part of L<Paws>, describing an object used in L<Paws::LexModelsV2>
69  
70 =head1 BUGS and CONTRIBUTIONS
71  
72 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
73  
74 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
75  
76 =cut
77