blib/lib/Paws/Comprehend/PiiEntity.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::Comprehend::PiiEntity;
3 use Moose;
4 has BeginOffset => (is => 'ro', isa => 'Int');
5 has EndOffset => (is => 'ro', isa => 'Int');
6 has Score => (is => 'ro', isa => 'Num');
7 has Type => (is => 'ro', isa => 'Str');
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::Comprehend::PiiEntity
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::Comprehend::PiiEntity object:
27  
28 $service_obj->Method(Att1 => { BeginOffset => $value, ..., Type => $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::Comprehend::PiiEntity object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->BeginOffset
36  
37 =head1 DESCRIPTION
38  
39 Provides information about a PII entity.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 BeginOffset => Int
45  
46 A character offset in the input text that shows where the PII entity
47 begins (the first character is at position 0). The offset returns the
48 position of each UTF-8 code point in the string. A I<code point> is the
49 abstract character from a particular graphical representation. For
50 example, a multi-byte UTF-8 character maps to a single code point.
51  
52  
53 =head2 EndOffset => Int
54  
55 A character offset in the input text that shows where the PII entity
56 ends. The offset returns the position of each UTF-8 code point in the
57 string. A I<code point> is the abstract character from a particular
58 graphical representation. For example, a multi-byte UTF-8 character
59 maps to a single code point.
60  
61  
62 =head2 Score => Num
63  
64 The level of confidence that Amazon Comprehend has in the accuracy of
65 the detection.
66  
67  
68 =head2 Type => Str
69  
70 The entity's type.
71  
72  
73  
74 =head1 SEE ALSO
75  
76 This class forms part of L<Paws>, describing an object used in L<Paws::Comprehend>
77  
78 =head1 BUGS and CONTRIBUTIONS
79  
80 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
81  
82 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
83  
84 =cut
85