blib/lib/Paws/ECS/Resource.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ECS::Resource;
3 use Moose;
4 has DoubleValue => (is => 'ro', isa => 'Num', request_name => 'doubleValue', traits => ['NameInRequest']);
5 has IntegerValue => (is => 'ro', isa => 'Int', request_name => 'integerValue', traits => ['NameInRequest']);
6 has LongValue => (is => 'ro', isa => 'Int', request_name => 'longValue', traits => ['NameInRequest']);
7 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
8 has StringSetValue => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'stringSetValue', traits => ['NameInRequest']);
9 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::ECS::Resource
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::ECS::Resource object:
29  
30 $service_obj->Method(Att1 => { DoubleValue => $value, ..., Type => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::Resource object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->DoubleValue
38  
39 =head1 DESCRIPTION
40  
41 Describes the resources available for a container instance.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 DoubleValue => Num
47  
48 When the C<doubleValue> type is set, the value of the resource must be
49 a double precision floating-point type.
50  
51  
52 =head2 IntegerValue => Int
53  
54 When the C<integerValue> type is set, the value of the resource must be
55 an integer.
56  
57  
58 =head2 LongValue => Int
59  
60 When the C<longValue> type is set, the value of the resource must be an
61 extended precision floating-point type.
62  
63  
64 =head2 Name => Str
65  
66 The name of the resource, such as C<CPU>, C<MEMORY>, C<PORTS>,
67 C<PORTS_UDP>, or a user-defined resource.
68  
69  
70 =head2 StringSetValue => ArrayRef[Str|Undef]
71  
72 When the C<stringSetValue> type is set, the value of the resource must
73 be a string type.
74  
75  
76 =head2 Type => Str
77  
78 The type of the resource, such as C<INTEGER>, C<DOUBLE>, C<LONG>, or
79 C<STRINGSET>.
80  
81  
82  
83 =head1 SEE ALSO
84  
85 This class forms part of L<Paws>, describing an object used in L<Paws::ECS>
86  
87 =head1 BUGS and CONTRIBUTIONS
88  
89 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
90  
91 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
92  
93 =cut
94