File Coverage

blib/lib/Google/Ads/AdWords/v201702/PolicyData.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201702::PolicyData;
2 2     2   1943 use strict;
  2         4  
  2         57  
3 2     2   11 use warnings;
  2         3  
  2         240  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8             sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201702' };
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 2     2   14 use Class::Std::Fast::Storable constructor => 'none';
  2         6  
  2         24  
18 2     2   299 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
  2         5  
  2         301  
19              
20             { # BLOCK to scope variables
21              
22             my %disapprovalReasons_of :ATTR(:get);
23             my %PolicyData__Type_of :ATTR(:get);
24              
25             __PACKAGE__->_factory(
26             [ qw( disapprovalReasons
27             PolicyData__Type
28              
29             ) ],
30             {
31             'disapprovalReasons' => \%disapprovalReasons_of,
32             'PolicyData__Type' => \%PolicyData__Type_of,
33             },
34             {
35             'disapprovalReasons' => 'Google::Ads::AdWords::v201702::DisapprovalReason',
36             'PolicyData__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
37             },
38             {
39              
40             'disapprovalReasons' => 'disapprovalReasons',
41             'PolicyData__Type' => 'PolicyData.Type',
42             }
43             );
44              
45             } # end BLOCK
46              
47              
48              
49              
50              
51              
52              
53             1;
54              
55              
56             =pod
57              
58             =head1 NAME
59              
60             Google::Ads::AdWords::v201702::PolicyData
61              
62             =head1 DESCRIPTION
63              
64             Perl data type class for the XML Schema defined complexType
65             PolicyData from the namespace https://adwords.google.com/api/adwords/cm/v201702.
66              
67             Approval and policy information attached to an entity.
68              
69              
70              
71              
72             =head2 PROPERTIES
73              
74             The following properties may be accessed using get_PROPERTY / set_PROPERTY
75             methods:
76              
77             =over
78              
79             =item * disapprovalReasons
80              
81              
82             =item * PolicyData__Type
83              
84             Note: The name of this property has been altered, because it didn't match
85             perl's notion of variable/subroutine names. The altered name is used in
86             perl code only, XML output uses the original name:
87              
88             PolicyData.Type
89              
90              
91              
92              
93             =back
94              
95              
96             =head1 METHODS
97              
98             =head2 new
99              
100             Constructor. The following data structure may be passed to new():
101              
102              
103              
104              
105              
106              
107             =head1 AUTHOR
108              
109             Generated by SOAP::WSDL
110              
111             =cut
112