blib/lib/Paws/FraudDetector/LabelSchema.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::FraudDetector::LabelSchema;
3 use Moose;
4 has LabelMapper => (is => 'ro', isa => 'Paws::FraudDetector::LabelMapper', request_name => 'labelMapper', traits => ['NameInRequest'], required => 1);
5  
6 1;
7  
8 ### main pod documentation begin ###
9  
10 =head1 NAME
11  
12 Paws::FraudDetector::LabelSchema
13  
14 =head1 USAGE
15  
16 This class represents one of two things:
17  
18 =head3 Arguments in a call to a service
19  
20 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21 Each attribute should be used as a named argument in the calls that expect this type of object.
22  
23 As an example, if Att1 is expected to be a Paws::FraudDetector::LabelSchema object:
24  
25 $service_obj->Method(Att1 => { LabelMapper => $value, ..., LabelMapper => $value });
26  
27 =head3 Results returned from an API call
28  
29 Use accessors for each attribute. If Att1 is expected to be an Paws::FraudDetector::LabelSchema object:
30  
31 $result = $service_obj->Method(...);
32 $result->Att1->LabelMapper
33  
34 =head1 DESCRIPTION
35  
36 The label schema.
37  
38 =head1 ATTRIBUTES
39  
40  
41 =head2 B<REQUIRED> LabelMapper => L<Paws::FraudDetector::LabelMapper>
42  
43 The label mapper maps the Amazon Fraud Detector supported model
44 classification labels (C<FRAUD>, C<LEGIT>) to the appropriate event
45 type labels. For example, if "C<FRAUD>" and "C<LEGIT>" are Amazon Fraud
46 Detector supported labels, this mapper could be: C<{"FRAUD" =E<gt>
47 ["0"]>, C<"LEGIT" =E<gt> ["1"]}> or C<{"FRAUD" =E<gt> ["false"]>,
48 C<"LEGIT" =E<gt> ["true"]}> or C<{"FRAUD" =E<gt> ["fraud", "abuse"]>,
49 C<"LEGIT" =E<gt> ["legit", "safe"]}>. The value part of the mapper is a
50 list, because you may have multiple label variants from your event type
51 for a single Amazon Fraud Detector label.
52  
53  
54  
55 =head1 SEE ALSO
56  
57 This class forms part of L<Paws>, describing an object used in L<Paws::FraudDetector>
58  
59 =head1 BUGS and CONTRIBUTIONS
60  
61 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
62  
63 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
64  
65 =cut
66