blib/lib/Google/Ads/AdWords/v201809/CustomAffinityToken.pm untested

filter: Statementstmt 0.0% 0 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 36 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Ads::AdWords::v201809::CustomAffinityToken;
2 use strict;
3 use warnings;
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/rm/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 use Class::Std::Fast::Storable constructor => 'none';
18 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
19  
20 { # BLOCK to scope variables
21  
22 my %customAffinityId_of :ATTR(:get<customAffinityId>);
23 my %customAffinityTokenId_of :ATTR(:get<customAffinityTokenId>);
24 my %tokenType_of :ATTR(:get<tokenType>);
25 my %parameter_of :ATTR(:get<parameter>);
26  
27 __PACKAGE__->_factory(
28 [ qw( customAffinityId
29 customAffinityTokenId
30 tokenType
31 parameter
32  
33 ) ],
34 {
35 'customAffinityId' => \%customAffinityId_of,
36 'customAffinityTokenId' => \%customAffinityTokenId_of,
37 'tokenType' => \%tokenType_of,
38 'parameter' => \%parameter_of,
39 },
40 {
41 'customAffinityId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
42 'customAffinityTokenId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
43 'tokenType' => 'Google::Ads::AdWords::v201809::CustomAffinityToken::TokenType',
44 'parameter' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
45 },
46 {
47  
48 'customAffinityId' => 'customAffinityId',
49 'customAffinityTokenId' => 'customAffinityTokenId',
50 'tokenType' => 'tokenType',
51 'parameter' => 'parameter',
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::CustomAffinityToken
71  
72 =head1 DESCRIPTION
73  
74 Perl data type class for the XML Schema defined complexType
75 CustomAffinityToken from the namespace https://adwords.google.com/api/adwords/rm/v201809.
76  
77 A token of custom affinity audience. A token can be a keyword or placement. It is immutable, that is, it can only be created or removed but not changed.
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 * customAffinityId
90  
91  
92 =item * customAffinityTokenId
93  
94  
95 =item * tokenType
96  
97  
98 =item * parameter
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