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

filter: Statementstmt 0.0% 0 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 36 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::Date;
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 %year_of :ATTR(:get<year>);
25 my %month_of :ATTR(:get<month>);
26 my %day_of :ATTR(:get<day>);
27  
28 __PACKAGE__->_factory(
29 [ qw( year
30 month
31 day
32  
33 ) ],
34 {
35 'year' => \%year_of,
36 'month' => \%month_of,
37 'day' => \%day_of,
38 },
39 {
40 'year' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
41 'month' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
42 'day' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
43 },
44 {
45  
46 'year' => 'year',
47 'month' => 'month',
48 'day' => 'day',
49 }
50 );
51  
52 } # end BLOCK
53  
54  
55  
56  
57  
58  
59  
60 1;
61  
62  
63 =pod
64  
65 =head1 NAME
66  
67 Google::Ads::AdWords::v201402::Date
68  
69 =head1 DESCRIPTION
70  
71 Perl data type class for the XML Schema defined complexType
72 Date from the namespace https://adwords.google.com/api/adwords/cm/v201402.
73  
74 Represents a date.
75  
76  
77  
78  
79 =head2 PROPERTIES
80  
81 The following properties may be accessed using get_PROPERTY / set_PROPERTY
82 methods:
83  
84 =over
85  
86 =item * year
87  
88  
89 =item * month
90  
91  
92 =item * day
93  
94  
95  
96  
97 =back
98  
99  
100 =head1 METHODS
101  
102 =head2 new
103  
104 Constructor. The following data structure may be passed to new():
105  
106  
107  
108  
109  
110  
111 =head1 AUTHOR
112  
113 Generated by SOAP::WSDL
114  
115 =cut
116