File Coverage

blib/lib/Paws/LexModels/EnumerationValue.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::LexModels::EnumerationValue;
2 1     1   563 use Moose;
  1         3  
  1         7  
3             has Value => (is => 'ro', isa => 'Str', request_name => 'value', traits => ['NameInRequest'], required => 1);
4             1;
5              
6             ### main pod documentation begin ###
7              
8             =head1 NAME
9              
10             Paws::LexModels::EnumerationValue
11              
12             =head1 USAGE
13              
14             This class represents one of two things:
15              
16             =head3 Arguments in a call to a service
17              
18             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
19             Each attribute should be used as a named argument in the calls that expect this type of object.
20              
21             As an example, if Att1 is expected to be a Paws::LexModels::EnumerationValue object:
22              
23             $service_obj->Method(Att1 => { Value => $value, ..., Value => $value });
24              
25             =head3 Results returned from an API call
26              
27             Use accessors for each attribute. If Att1 is expected to be an Paws::LexModels::EnumerationValue object:
28              
29             $result = $service_obj->Method(...);
30             $result->Att1->Value
31              
32             =head1 DESCRIPTION
33              
34             Each slot type can have a set of values. Each enumeration value
35             represents a value the slot type can take.
36              
37             For example, a pizza ordering bot could have a slot type that specifies
38             the type of crust that the pizza should have. The slot type could
39             include the values
40              
41             =over
42              
43             =item *
44              
45             thick
46              
47             =item *
48              
49             thin
50              
51             =item *
52              
53             stuffed
54              
55             =back
56              
57              
58             =head1 ATTRIBUTES
59              
60              
61             =head2 B<REQUIRED> Value => Str
62              
63             The value of the slot type.
64              
65              
66              
67             =head1 SEE ALSO
68              
69             This class forms part of L<Paws>, describing an object used in L<Paws::LexModels>
70              
71             =head1 BUGS and CONTRIBUTIONS
72              
73             The source code is located here: https://github.com/pplu/aws-sdk-perl
74              
75             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
76              
77             =cut
78