blib/lib/Paws/Rekognition/Label.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Rekognition::Label;
3 use Moose;
4 has Confidence => (is => 'ro', isa => 'Num');
5 has Instances => (is => 'ro', isa => 'ArrayRef[Paws::Rekognition::Instance]');
6 has Name => (is => 'ro', isa => 'Str');
7 has Parents => (is => 'ro', isa => 'ArrayRef[Paws::Rekognition::Parent]');
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::Rekognition::Label
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::Rekognition::Label object:
27  
28 $service_obj->Method(Att1 => { Confidence => $value, ..., Parents => $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::Rekognition::Label object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Confidence
36  
37 =head1 DESCRIPTION
38  
39 Structure containing details about the detected label, including the
40 name, detected instances, parent labels, and level of confidence.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 Confidence => Num
46  
47 Level of confidence.
48  
49  
50 =head2 Instances => ArrayRef[L<Paws::Rekognition::Instance>]
51  
52 If C<Label> represents an object, C<Instances> contains the bounding
53 boxes for each instance of the detected object. Bounding boxes are
54 returned for common object labels such as people, cars, furniture,
55 apparel or pets.
56  
57  
58 =head2 Name => Str
59  
60 The name (label) of the object or scene.
61  
62  
63 =head2 Parents => ArrayRef[L<Paws::Rekognition::Parent>]
64  
65 The parent labels for a label. The response includes all ancestor
66 labels.
67  
68  
69  
70 =head1 SEE ALSO
71  
72 This class forms part of L<Paws>, describing an object used in L<Paws::Rekognition>
73  
74 =head1 BUGS and CONTRIBUTIONS
75  
76 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
77  
78 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
79  
80 =cut
81