blib/lib/Paws/LexRuntimeV2/IntentResultEvent.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::LexRuntimeV2::IntentResultEvent;
3 use Moose;
4 has EventId => (is => 'ro', isa => 'Str', request_name => 'eventId', traits => ['NameInRequest']);
5 has InputMode => (is => 'ro', isa => 'Str', request_name => 'inputMode', traits => ['NameInRequest']);
6 has Interpretations => (is => 'ro', isa => 'ArrayRef[Paws::LexRuntimeV2::Interpretation]', request_name => 'interpretations', traits => ['NameInRequest']);
7 has RequestAttributes => (is => 'ro', isa => 'Paws::LexRuntimeV2::StringMap', request_name => 'requestAttributes', traits => ['NameInRequest']);
8 has SessionId => (is => 'ro', isa => 'Str', request_name => 'sessionId', traits => ['NameInRequest']);
9 has SessionState => (is => 'ro', isa => 'Paws::LexRuntimeV2::SessionState', request_name => 'sessionState', traits => ['NameInRequest']);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::LexRuntimeV2::IntentResultEvent
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::LexRuntimeV2::IntentResultEvent object:
29  
30 $service_obj->Method(Att1 => { EventId => $value, ..., SessionState => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::LexRuntimeV2::IntentResultEvent object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->EventId
38  
39 =head1 DESCRIPTION
40  
41 Contains the current state of the conversation between the client
42 application and Amazon Lex V2.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 EventId => Str
48  
49 A unique identifier of the event sent by Amazon Lex V2. The identifier
50 is in the form C<RESPONSE-N>, where N is a number starting with one and
51 incremented for each event sent by Amazon Lex V2 in the current
52 session.
53  
54  
55 =head2 InputMode => Str
56  
57 Indicates whether the input to the operation was text or speech.
58  
59  
60 =head2 Interpretations => ArrayRef[L<Paws::LexRuntimeV2::Interpretation>]
61  
62 A list of intents that Amazon Lex V2 determined might satisfy the
63 user's utterance.
64  
65 Each interpretation includes the intent, a score that indicates how
66 confident Amazon Lex V2 is that the interpretation is the correct one,
67 and an optional sentiment response that indicates the sentiment
68 expressed in the utterance.
69  
70  
71 =head2 RequestAttributes => L<Paws::LexRuntimeV2::StringMap>
72  
73 The attributes sent in the request.
74  
75  
76 =head2 SessionId => Str
77  
78 The identifier of the session in use.
79  
80  
81 =head2 SessionState => L<Paws::LexRuntimeV2::SessionState>
82  
83  
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, describing an object used in L<Paws::LexRuntimeV2>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98