lib/Google/Ads/AdWords/v201809/ConstantOperand.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/CompetitionSearchParameter.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ContentLabel.pm »
1 package Google::Ads::AdWords::v201809::ConstantOperand;
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::FunctionArgumentOperand);
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 %FunctionArgumentOperand__Type_of :ATTR(:get<FunctionArgumentOperand__Type>);
26 my %type_of :ATTR(:get<type>);
27 my %unit_of :ATTR(:get<unit>);
28 my %longValue_of :ATTR(:get<longValue>);
29 my %booleanValue_of :ATTR(:get<booleanValue>);
30 my %doubleValue_of :ATTR(:get<doubleValue>);
31 my %stringValue_of :ATTR(:get<stringValue>);
32  
33 __PACKAGE__->_factory(
34 [ qw( FunctionArgumentOperand__Type
35 type
36 unit
37 longValue
38 booleanValue
39 doubleValue
40 stringValue
41  
42 ) ],
43 {
44 'FunctionArgumentOperand__Type' => \%FunctionArgumentOperand__Type_of,
45 'type' => \%type_of,
46 'unit' => \%unit_of,
47 'longValue' => \%longValue_of,
48 'booleanValue' => \%booleanValue_of,
49 'doubleValue' => \%doubleValue_of,
50 'stringValue' => \%stringValue_of,
51 },
52 {
53 'FunctionArgumentOperand__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
54 'type' => 'Google::Ads::AdWords::v201809::ConstantOperand::ConstantType',
55 'unit' => 'Google::Ads::AdWords::v201809::ConstantOperand::Unit',
56 'longValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
57 'booleanValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
58 'doubleValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
59 'stringValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
60 },
61 {
62  
63 'FunctionArgumentOperand__Type' => 'FunctionArgumentOperand.Type',
64 'type' => 'type',
65 'unit' => 'unit',
66 'longValue' => 'longValue',
67 'booleanValue' => 'booleanValue',
68 'doubleValue' => 'doubleValue',
69 'stringValue' => 'stringValue',
70 }
71 );
72  
73 } # end BLOCK
74  
75  
76  
77  
78  
79  
80  
81 1;
82  
83  
84 =pod
85  
86 =head1 NAME
87  
88 Google::Ads::AdWords::v201809::ConstantOperand
89  
90 =head1 DESCRIPTION
91  
92 Perl data type class for the XML Schema defined complexType
93 ConstantOperand from the namespace https://adwords.google.com/api/adwords/cm/v201809.
94  
95 A constant operand in a matching function.
96  
97  
98  
99  
100 =head2 PROPERTIES
101  
102 The following properties may be accessed using get_PROPERTY / set_PROPERTY
103 methods:
104  
105 =over
106  
107 =item * type
108  
109  
110 =item * unit
111  
112  
113 =item * longValue
114  
115  
116 =item * booleanValue
117  
118  
119 =item * doubleValue
120  
121  
122 =item * stringValue
123  
124  
125  
126  
127 =back
128  
129  
130 =head1 METHODS
131  
132 =head2 new
133  
134 Constructor. The following data structure may be passed to new():
135  
136  
137  
138  
139  
140  
141 =head1 AUTHOR
142  
143 Generated by SOAP::WSDL
144  
145 =cut
146  
« lib/Google/Ads/AdWords/v201809/CompetitionSearchParameter.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ContentLabel.pm »