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

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Google/Ads/AdWords/v201809/FeedService/FeedServiceInterfacePort.pm ↑ Summary lib/Google/Ads/AdWords/v201809/LabelService/LabelServiceInterfacePort.pm »
1 package Google::Ads::AdWords::v201809::Label;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
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 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶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 %id_of :ATTR(:get<id>);
23 my %name_of :ATTR(:get<name>);
24 my %status_of :ATTR(:get<status>);
25 my %attribute_of :ATTR(:get<attribute>);
26 my %Label__Type_of :ATTR(:get<Label__Type>);
27  
28 __PACKAGE__->_factory(
29 [ qw( id
30 name
31 status
32 attribute
33 Label__Type
34  
35 ) ],
36 {
37 'id' => \%id_of,
38 'name' => \%name_of,
39 'status' => \%status_of,
40 'attribute' => \%attribute_of,
41 'Label__Type' => \%Label__Type_of,
42 },
43 {
44 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
45 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
46 'status' => 'Google::Ads::AdWords::v201809::Label::Status',
47 'attribute' => 'Google::Ads::AdWords::v201809::LabelAttribute',
48 'Label__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
49 },
50 {
51  
52 'id' => 'id',
53 'name' => 'name',
54 'status' => 'status',
55 'attribute' => 'attribute',
56 'Label__Type' => 'Label.Type',
57 }
58 );
59  
60 } # end BLOCK
61  
62  
63  
64  
65  
66  
67  
68 1;
69  
70  
71 =pod
72  
73 =head1 NAME
74  
75 Google::Ads::AdWords::v201809::Label
76  
77 =head1 DESCRIPTION
78  
79 Perl data type class for the XML Schema defined complexType
80 Label from the namespace https://adwords.google.com/api/adwords/cm/v201809.
81  
82 Represents a label that can be attached to entities such as campaign, ad group, ads, criterion etc.
83  
84  
85  
86  
87 =head2 PROPERTIES
88  
89 The following properties may be accessed using get_PROPERTY / set_PROPERTY
90 methods:
91  
92 =over
93  
94 =item * id
95  
96  
97 =item * name
98  
99  
100 =item * status
101  
102  
103 =item * attribute
104  
105  
106 =item * Label__Type
107  
108 Note: The name of this property has been altered, because it didn't match
109 perl's notion of variable/subroutine names. The altered name is used in
110 perl code only, XML output uses the original name:
111  
112 Label.Type
113  
114  
115  
116  
117 =back
118  
119  
120 =head1 METHODS
121  
122 =head2 new
123  
124 Constructor. The following data structure may be passed to new():
125  
126  
127  
128  
129  
130  
131 =head1 AUTHOR
132  
133 Generated by SOAP::WSDL
134  
135 =cut
136  
« lib/Google/Ads/AdWords/v201809/FeedService/FeedServiceInterfacePort.pm ↑ Summary lib/Google/Ads/AdWords/v201809/LabelService/LabelServiceInterfacePort.pm »