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

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 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::SlotValueElicitationSetting;
3 use Moose;
4 has DefaultValueSpecification => (is => 'ro', isa => 'Paws::LexModelsV2::SlotDefaultValueSpecification', request_name => 'defaultValueSpecification', traits => ['NameInRequest']);
5 has PromptSpecification => (is => 'ro', isa => 'Paws::LexModelsV2::PromptSpecification', request_name => 'promptSpecification', traits => ['NameInRequest']);
6 has SampleUtterances => (is => 'ro', isa => 'ArrayRef[Paws::LexModelsV2::SampleUtterance]', request_name => 'sampleUtterances', traits => ['NameInRequest']);
7 has SlotConstraint => (is => 'ro', isa => 'Str', request_name => 'slotConstraint', traits => ['NameInRequest'], required => 1);
8 has WaitAndContinueSpecification => (is => 'ro', isa => 'Paws::LexModelsV2::WaitAndContinueSpecification', request_name => 'waitAndContinueSpecification', traits => ['NameInRequest']);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::LexModelsV2::SlotValueElicitationSetting
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::LexModelsV2::SlotValueElicitationSetting object:
28  
29 $service_obj->Method(Att1 => { DefaultValueSpecification => $value, ..., WaitAndContinueSpecification => $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::LexModelsV2::SlotValueElicitationSetting object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->DefaultValueSpecification
37  
38 =head1 DESCRIPTION
39  
40 Settings that you can use for eliciting a slot value.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 DefaultValueSpecification => L<Paws::LexModelsV2::SlotDefaultValueSpecification>
46  
47 A list of default values for a slot. Default values are used when
48 Amazon Lex hasn't determined a value for a slot. You can specify
49 default values from context variables, sesion attributes, and defined
50 values.
51  
52  
53 =head2 PromptSpecification => L<Paws::LexModelsV2::PromptSpecification>
54  
55 The prompt that Amazon Lex uses to elicit the slot value from the user.
56  
57  
58 =head2 SampleUtterances => ArrayRef[L<Paws::LexModelsV2::SampleUtterance>]
59  
60 If you know a specific pattern that users might respond to an Amazon
61 Lex request for a slot value, you can provide those utterances to
62 improve accuracy. This is optional. In most cases, Amazon Lex is
63 capable of understanding user utterances.
64  
65  
66 =head2 B<REQUIRED> SlotConstraint => Str
67  
68 Specifies whether the slot is required or optional.
69  
70  
71 =head2 WaitAndContinueSpecification => L<Paws::LexModelsV2::WaitAndContinueSpecification>
72  
73  
74  
75  
76  
77 =head1 SEE ALSO
78  
79 This class forms part of L<Paws>, describing an object used in L<Paws::LexModelsV2>
80  
81 =head1 BUGS and CONTRIBUTIONS
82  
83 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
84  
85 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
86  
87 =cut
88