blib/lib/Google/Ads/AdWords/v201402/Budget.pm untested

filter: Statementstmt 0.0% 0 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 41 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Ads::AdWords::v201402::Budget;
2 use strict;
3 use warnings;
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' };
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 sub __get_attr_class {
14 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17 use Class::Std::Fast::Storable constructor => 'none';
18 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
19  
20 Class::Std::initialize();
21  
22 { # BLOCK to scope variables
23  
24 my %budgetId_of :ATTR(:get<budgetId>);
25 my %name_of :ATTR(:get<name>);
26 my %period_of :ATTR(:get<period>);
27 my %amount_of :ATTR(:get<amount>);
28 my %deliveryMethod_of :ATTR(:get<deliveryMethod>);
29 my %referenceCount_of :ATTR(:get<referenceCount>);
30 my %isExplicitlyShared_of :ATTR(:get<isExplicitlyShared>);
31 my %status_of :ATTR(:get<status>);
32  
33 __PACKAGE__->_factory(
34 [ qw( budgetId
35 name
36 period
37 amount
38 deliveryMethod
39 referenceCount
40 isExplicitlyShared
41 status
42  
43 ) ],
44 {
45 'budgetId' => \%budgetId_of,
46 'name' => \%name_of,
47 'period' => \%period_of,
48 'amount' => \%amount_of,
49 'deliveryMethod' => \%deliveryMethod_of,
50 'referenceCount' => \%referenceCount_of,
51 'isExplicitlyShared' => \%isExplicitlyShared_of,
52 'status' => \%status_of,
53 },
54 {
55 'budgetId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
56 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
57 'period' => 'Google::Ads::AdWords::v201402::Budget::BudgetPeriod',
58 'amount' => 'Google::Ads::AdWords::v201402::Money',
59 'deliveryMethod' => 'Google::Ads::AdWords::v201402::Budget::BudgetDeliveryMethod',
60 'referenceCount' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
61 'isExplicitlyShared' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
62 'status' => 'Google::Ads::AdWords::v201402::Budget::BudgetStatus',
63 },
64 {
65  
66 'budgetId' => 'budgetId',
67 'name' => 'name',
68 'period' => 'period',
69 'amount' => 'amount',
70 'deliveryMethod' => 'deliveryMethod',
71 'referenceCount' => 'referenceCount',
72 'isExplicitlyShared' => 'isExplicitlyShared',
73 'status' => 'status',
74 }
75 );
76  
77 } # end BLOCK
78  
79  
80  
81  
82  
83  
84  
85 1;
86  
87  
88 =pod
89  
90 =head1 NAME
91  
92 Google::Ads::AdWords::v201402::Budget
93  
94 =head1 DESCRIPTION
95  
96 Perl data type class for the XML Schema defined complexType
97 Budget from the namespace https://adwords.google.com/api/adwords/cm/v201402.
98  
99 Budgets are used for managing the amount of money spent on AdWords.
100  
101  
102  
103  
104 =head2 PROPERTIES
105  
106 The following properties may be accessed using get_PROPERTY / set_PROPERTY
107 methods:
108  
109 =over
110  
111 =item * budgetId
112  
113  
114 =item * name
115  
116  
117 =item * period
118  
119  
120 =item * amount
121  
122  
123 =item * deliveryMethod
124  
125  
126 =item * referenceCount
127  
128  
129 =item * isExplicitlyShared
130  
131  
132 =item * status
133  
134  
135  
136  
137 =back
138  
139  
140 =head1 METHODS
141  
142 =head2 new
143  
144 Constructor. The following data structure may be passed to new():
145  
146  
147  
148  
149  
150  
151 =head1 AUTHOR
152  
153 Generated by SOAP::WSDL
154  
155 =cut
156