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

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 75.0% 12 / 16 CC 1 SCAR 3.4
CC
1
Cov
82%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.4
« lib/Google/Ads/AdWords/v201809/CampaignLabelReturnValue.pm ↑ Summary lib/Google/Ads/AdWords/v201809/CampaignPage.pm »
1 package Google::Ads::AdWords::v201809::CampaignOperation;
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/cm/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  
18 1 ▶use base qw(Google::Ads::AdWords::v201809::Operation);
Subroutine BEGIN: called CC=1 SCAR=0.0
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 { # BLOCK to scope variables
24  
25 my %operator_of :ATTR(:get<operator>);
26 my %Operation__Type_of :ATTR(:get<Operation__Type>);
27 my %operand_of :ATTR(:get<operand>);
28  
29 __PACKAGE__->_factory(
30 [ qw( operator
31 Operation__Type
32 operand
33  
34 ) ],
35 {
36 'operator' => \%operator_of,
37 'Operation__Type' => \%Operation__Type_of,
38 'operand' => \%operand_of,
39 },
40 {
41 'operator' => 'Google::Ads::AdWords::v201809::Operator',
42 'Operation__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
43 'operand' => 'Google::Ads::AdWords::v201809::Campaign',
44 },
45 {
46  
47 'operator' => 'operator',
48 'Operation__Type' => 'Operation.Type',
49 'operand' => 'operand',
50 }
51 );
52  
53 } # end BLOCK
54  
55  
56  
57  
58  
59  
60  
61 1;
62  
63  
64 =pod
65  
66 =head1 NAME
67  
68 Google::Ads::AdWords::v201809::CampaignOperation
69  
70 =head1 DESCRIPTION
71  
72 Perl data type class for the XML Schema defined complexType
73 CampaignOperation from the namespace https://adwords.google.com/api/adwords/cm/v201809.
74  
75 An operation on an AdWords campaign. <p class="note"><b>Note:</b> The <code>REMOVE</code> operator is not supported. To remove a campaign, set its {@link Campaign#status status} to {@code REMOVED}.</p>
76  
77  
78  
79  
80 =head2 PROPERTIES
81  
82 The following properties may be accessed using get_PROPERTY / set_PROPERTY
83 methods:
84  
85 =over
86  
87 =item * operand
88  
89  
90  
91  
92 =back
93  
94  
95 =head1 METHODS
96  
97 =head2 new
98  
99 Constructor. The following data structure may be passed to new():
100  
101  
102  
103  
104  
105  
106 =head1 AUTHOR
107  
108 Generated by SOAP::WSDL
109  
110 =cut
111  
« lib/Google/Ads/AdWords/v201809/CampaignLabelReturnValue.pm ↑ Summary lib/Google/Ads/AdWords/v201809/CampaignPage.pm »