blib/lib/Paws/IoTAnalytics/Variable.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::IoTAnalytics::Variable;
3 use Moose;
4 has DatasetContentVersionValue => (is => 'ro', isa => 'Paws::IoTAnalytics::DatasetContentVersionValue', request_name => 'datasetContentVersionValue', traits => ['NameInRequest']);
5 has DoubleValue => (is => 'ro', isa => 'Num', request_name => 'doubleValue', traits => ['NameInRequest']);
6 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
7 has OutputFileUriValue => (is => 'ro', isa => 'Paws::IoTAnalytics::OutputFileUriValue', request_name => 'outputFileUriValue', traits => ['NameInRequest']);
8 has StringValue => (is => 'ro', isa => 'Str', request_name => 'stringValue', traits => ['NameInRequest']);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::IoTAnalytics::Variable
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::IoTAnalytics::Variable object:
28  
29 $service_obj->Method(Att1 => { DatasetContentVersionValue => $value, ..., StringValue => $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::IoTAnalytics::Variable object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->DatasetContentVersionValue
37  
38 =head1 DESCRIPTION
39  
40 An instance of a variable to be passed to the C<containerAction>
41 execution. Each variable must have a name and a value given by one of
42 C<stringValue>, C<datasetContentVersionValue>, or
43 C<outputFileUriValue>.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 DatasetContentVersionValue => L<Paws::IoTAnalytics::DatasetContentVersionValue>
49  
50 The value of the variable as a structure that specifies a dataset
51 content version.
52  
53  
54 =head2 DoubleValue => Num
55  
56 The value of the variable as a double (numeric).
57  
58  
59 =head2 B<REQUIRED> Name => Str
60  
61 The name of the variable.
62  
63  
64 =head2 OutputFileUriValue => L<Paws::IoTAnalytics::OutputFileUriValue>
65  
66 The value of the variable as a structure that specifies an output file
67 URI.
68  
69  
70 =head2 StringValue => Str
71  
72 The value of the variable as a string.
73  
74  
75  
76 =head1 SEE ALSO
77  
78 This class forms part of L<Paws>, describing an object used in L<Paws::IoTAnalytics>
79  
80 =head1 BUGS and CONTRIBUTIONS
81  
82 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
83  
84 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
85  
86 =cut
87