blib/lib/Paws/Appflow/Task.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::Appflow::Task;
3 use Moose;
4 has ConnectorOperator => (is => 'ro', isa => 'Paws::Appflow::ConnectorOperator', request_name => 'connectorOperator', traits => ['NameInRequest']);
5 has DestinationField => (is => 'ro', isa => 'Str', request_name => 'destinationField', traits => ['NameInRequest']);
6 has SourceFields => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'sourceFields', traits => ['NameInRequest'], required => 1);
7 has TaskProperties => (is => 'ro', isa => 'Paws::Appflow::TaskPropertiesMap', request_name => 'taskProperties', traits => ['NameInRequest']);
8 has TaskType => (is => 'ro', isa => 'Str', request_name => 'taskType', traits => ['NameInRequest'], required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::Appflow::Task
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::Appflow::Task object:
28  
29 $service_obj->Method(Att1 => { ConnectorOperator => $value, ..., TaskType => $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::Appflow::Task object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->ConnectorOperator
37  
38 =head1 DESCRIPTION
39  
40 A class for modeling different type of tasks. Task implementation
41 varies based on the C<TaskType>.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 ConnectorOperator => L<Paws::Appflow::ConnectorOperator>
47  
48 The operation to be performed on the provided source fields.
49  
50  
51 =head2 DestinationField => Str
52  
53 A field in a destination connector, or a field value against which
54 Amazon AppFlow validates a source field.
55  
56  
57 =head2 B<REQUIRED> SourceFields => ArrayRef[Str|Undef]
58  
59 The source fields to which a particular task is applied.
60  
61  
62 =head2 TaskProperties => L<Paws::Appflow::TaskPropertiesMap>
63  
64 A map used to store task-related information. The execution service
65 looks for particular information based on the C<TaskType>.
66  
67  
68 =head2 B<REQUIRED> TaskType => Str
69  
70 Specifies the particular task implementation that Amazon AppFlow
71 performs.
72  
73  
74  
75 =head1 SEE ALSO
76  
77 This class forms part of L<Paws>, describing an object used in L<Paws::Appflow>
78  
79 =head1 BUGS and CONTRIBUTIONS
80  
81 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
82  
83 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
84  
85 =cut
86