lib/Google/Ads/AdWords/v201809/UrlData.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/UploadMetadata.pm ↑ Summary lib/Google/Ads/AdWords/v201809/UrlList.pm »
1 package Google::Ads::AdWords::v201809::UrlData;
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 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 %urlId_of :ATTR(:get<urlId>);
23 my %finalUrls_of :ATTR(:get<finalUrls>);
24 my %finalMobileUrls_of :ATTR(:get<finalMobileUrls>);
25 my %trackingUrlTemplate_of :ATTR(:get<trackingUrlTemplate>);
26  
27 __PACKAGE__->_factory(
28 [ qw( urlId
29 finalUrls
30 finalMobileUrls
31 trackingUrlTemplate
32  
33 ) ],
34 {
35 'urlId' => \%urlId_of,
36 'finalUrls' => \%finalUrls_of,
37 'finalMobileUrls' => \%finalMobileUrls_of,
38 'trackingUrlTemplate' => \%trackingUrlTemplate_of,
39 },
40 {
41 'urlId' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
42 'finalUrls' => 'Google::Ads::AdWords::v201809::UrlList',
43 'finalMobileUrls' => 'Google::Ads::AdWords::v201809::UrlList',
44 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
45 },
46 {
47  
48 'urlId' => 'urlId',
49 'finalUrls' => 'finalUrls',
50 'finalMobileUrls' => 'finalMobileUrls',
51 'trackingUrlTemplate' => 'trackingUrlTemplate',
52 }
53 );
54  
55 } # end BLOCK
56  
57  
58  
59  
60  
61  
62  
63 1;
64  
65  
66 =pod
67  
68 =head1 NAME
69  
70 Google::Ads::AdWords::v201809::UrlData
71  
72 =head1 DESCRIPTION
73  
74 Perl data type class for the XML Schema defined complexType
75 UrlData from the namespace https://adwords.google.com/api/adwords/cm/v201809.
76  
77 Holds a set of final urls that are scoped within a namespace.
78  
79  
80  
81  
82 =head2 PROPERTIES
83  
84 The following properties may be accessed using get_PROPERTY / set_PROPERTY
85 methods:
86  
87 =over
88  
89 =item * urlId
90  
91  
92 =item * finalUrls
93  
94  
95 =item * finalMobileUrls
96  
97  
98 =item * trackingUrlTemplate
99  
100  
101  
102  
103 =back
104  
105  
106 =head1 METHODS
107  
108 =head2 new
109  
110 Constructor. The following data structure may be passed to new():
111  
112  
113  
114  
115  
116  
117 =head1 AUTHOR
118  
119 Generated by SOAP::WSDL
120  
121 =cut
122  
« lib/Google/Ads/AdWords/v201809/UploadMetadata.pm ↑ Summary lib/Google/Ads/AdWords/v201809/UrlList.pm »