File Coverage

lib/Google/Ads/AdWords/v201710/Date.pm
Criterion Covered Total %
statement 12 14 85.7
branch n/a
condition n/a
subroutine 4 6 66.6
pod n/a
total 16 20 80.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201710::Date;
2 1     1   2044 use strict;
  1         2  
  1         32  
3 1     1   5 use warnings;
  1         2  
  1         94  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201710' };
9              
10             our $XML_ATTRIBUTE_CLASS;
11             undef $XML_ATTRIBUTE_CLASS;
12              
13             sub __get_attr_class {
14 0     0     return $XML_ATTRIBUTE_CLASS;
15             }
16              
17 1     1   6 use Class::Std::Fast::Storable constructor => 'none';
  1         3  
  1         11  
18 1     1   150 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
  1         1  
  1         124  
19              
20             { # BLOCK to scope variables
21              
22             my %year_of :ATTR(:get);
23             my %month_of :ATTR(:get);
24             my %day_of :ATTR(:get);
25              
26             __PACKAGE__->_factory(
27             [ qw( year
28             month
29             day
30              
31             ) ],
32             {
33             'year' => \%year_of,
34             'month' => \%month_of,
35             'day' => \%day_of,
36             },
37             {
38             'year' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
39             'month' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
40             'day' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
41             },
42             {
43              
44             'year' => 'year',
45             'month' => 'month',
46             'day' => 'day',
47             }
48             );
49              
50             } # end BLOCK
51              
52              
53              
54              
55              
56              
57              
58             1;
59              
60              
61             =pod
62              
63             =head1 NAME
64              
65             Google::Ads::AdWords::v201710::Date
66              
67             =head1 DESCRIPTION
68              
69             Perl data type class for the XML Schema defined complexType
70             Date from the namespace https://adwords.google.com/api/adwords/cm/v201710.
71              
72             Represents a date.
73              
74              
75              
76              
77             =head2 PROPERTIES
78              
79             The following properties may be accessed using get_PROPERTY / set_PROPERTY
80             methods:
81              
82             =over
83              
84             =item * year
85              
86              
87             =item * month
88              
89              
90             =item * day
91              
92              
93              
94              
95             =back
96              
97              
98             =head1 METHODS
99              
100             =head2 new
101              
102             Constructor. The following data structure may be passed to new():
103              
104              
105              
106              
107              
108              
109             =head1 AUTHOR
110              
111             Generated by SOAP::WSDL
112              
113             =cut
114