blib/lib/Google/Ads/AdWords/v201309/Alert.pm untested

filter: Statementstmt 0.0% 0 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 37 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::v201309::Alert;
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/mcm/v201309' };
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 %alertSeverity_of :ATTR(:get<alertSeverity>);
25 my %alertType_of :ATTR(:get<alertType>);
26 my %clientCustomerId_of :ATTR(:get<clientCustomerId>);
27 my %details_of :ATTR(:get<details>);
28  
29 __PACKAGE__->_factory(
30 [ qw( alertSeverity
31 alertType
32 clientCustomerId
33 details
34  
35 ) ],
36 {
37 'alertSeverity' => \%alertSeverity_of,
38 'alertType' => \%alertType_of,
39 'clientCustomerId' => \%clientCustomerId_of,
40 'details' => \%details_of,
41 },
42 {
43 'alertSeverity' => 'Google::Ads::AdWords::v201309::AlertSeverity',
44 'alertType' => 'Google::Ads::AdWords::v201309::AlertType',
45 'clientCustomerId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
46 'details' => 'Google::Ads::AdWords::v201309::Detail',
47 },
48 {
49  
50 'alertSeverity' => 'alertSeverity',
51 'alertType' => 'alertType',
52 'clientCustomerId' => 'clientCustomerId',
53 'details' => 'details',
54 }
55 );
56  
57 } # end BLOCK
58  
59  
60  
61  
62  
63  
64  
65 1;
66  
67  
68 =pod
69  
70 =head1 NAME
71  
72 Google::Ads::AdWords::v201309::Alert
73  
74 =head1 DESCRIPTION
75  
76 Perl data type class for the XML Schema defined complexType
77 Alert from the namespace https://adwords.google.com/api/adwords/mcm/v201309.
78  
79 Alert for a single client. Triggering events are grouped by {@link AlertType} into the same alert with multiple {@link Details}.
80  
81  
82  
83  
84 =head2 PROPERTIES
85  
86 The following properties may be accessed using get_PROPERTY / set_PROPERTY
87 methods:
88  
89 =over
90  
91 =item * alertSeverity
92  
93  
94 =item * alertType
95  
96  
97 =item * clientCustomerId
98  
99  
100 =item * details
101  
102  
103  
104  
105 =back
106  
107  
108 =head1 METHODS
109  
110 =head2 new
111  
112 Constructor. The following data structure may be passed to new():
113  
114  
115  
116  
117  
118  
119 =head1 AUTHOR
120  
121 Generated by SOAP::WSDL
122  
123 =cut
124