lib/Google/Ads/AdWords/v201809/RuleItem.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod n/a totaltotal 80.0% 16 / 20 CC 1 SCAR 2.9
CC
1
Cov
86%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.3
« lib/Google/Ads/AdWords/v201809/Rule.pm ↑ Summary lib/Google/Ads/AdWords/v201809/RuleItemGroup.pm »
1 package Google::Ads::AdWords::v201809::RuleItem;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 0 ▶sub get_xmlns { 'https://adwords.google.com/api/adwords/rm/v201809' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 0 ▶sub __get_attr_class {
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
14 0 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17 1 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use base qw(Google::Ads::SOAP::Typelib::ComplexType);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 { # BLOCK to scope variables
21  
22 my %DateRuleItem_of :ATTR(:get<DateRuleItem>);
23 my %NumberRuleItem_of :ATTR(:get<NumberRuleItem>);
24 my %StringRuleItem_of :ATTR(:get<StringRuleItem>);
25  
26 __PACKAGE__->_factory(
27 [ qw( DateRuleItem
28 NumberRuleItem
29 StringRuleItem
30  
31 ) ],
32 {
33 'DateRuleItem' => \%DateRuleItem_of,
34 'NumberRuleItem' => \%NumberRuleItem_of,
35 'StringRuleItem' => \%StringRuleItem_of,
36 },
37 {
38 'DateRuleItem' => 'Google::Ads::AdWords::v201809::DateRuleItem',
39 'NumberRuleItem' => 'Google::Ads::AdWords::v201809::NumberRuleItem',
40 'StringRuleItem' => 'Google::Ads::AdWords::v201809::StringRuleItem',
41 },
42 {
43  
44 'DateRuleItem' => 'DateRuleItem',
45 'NumberRuleItem' => 'NumberRuleItem',
46 'StringRuleItem' => 'StringRuleItem',
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::v201809::RuleItem
66  
67 =head1 DESCRIPTION
68  
69 Perl data type class for the XML Schema defined complexType
70 RuleItem from the namespace https://adwords.google.com/api/adwords/rm/v201809.
71  
72 An atomic rule fragment.
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 * DateRuleItem
85  
86  
87 =item * NumberRuleItem
88  
89  
90 =item * StringRuleItem
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  
« lib/Google/Ads/AdWords/v201809/Rule.pm ↑ Summary lib/Google/Ads/AdWords/v201809/RuleItemGroup.pm »