lib/Google/Ads/AdWords/v201809/OperatingSystemVersion.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/OfflineDataUploadReturnValue.pm ↑ Summary lib/Google/Ads/AdWords/v201809/OperationAccessDenied.pm »
1 package Google::Ads::AdWords::v201809::OperatingSystemVersion;
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::Criterion);
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 %id_of :ATTR(:get<id>);
26 my %type_of :ATTR(:get<type>);
27 my %Criterion__Type_of :ATTR(:get<Criterion__Type>);
28 my %name_of :ATTR(:get<name>);
29 my %osMajorVersion_of :ATTR(:get<osMajorVersion>);
30 my %osMinorVersion_of :ATTR(:get<osMinorVersion>);
31 my %operatorType_of :ATTR(:get<operatorType>);
32  
33 __PACKAGE__->_factory(
34 [ qw( id
35 type
36 Criterion__Type
37 name
38 osMajorVersion
39 osMinorVersion
40 operatorType
41  
42 ) ],
43 {
44 'id' => \%id_of,
45 'type' => \%type_of,
46 'Criterion__Type' => \%Criterion__Type_of,
47 'name' => \%name_of,
48 'osMajorVersion' => \%osMajorVersion_of,
49 'osMinorVersion' => \%osMinorVersion_of,
50 'operatorType' => \%operatorType_of,
51 },
52 {
53 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
54 'type' => 'Google::Ads::AdWords::v201809::Criterion::Type',
55 'Criterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
56 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
57 'osMajorVersion' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
58 'osMinorVersion' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
59 'operatorType' => 'Google::Ads::AdWords::v201809::OperatingSystemVersion::OperatorType',
60 },
61 {
62  
63 'id' => 'id',
64 'type' => 'type',
65 'Criterion__Type' => 'Criterion.Type',
66 'name' => 'name',
67 'osMajorVersion' => 'osMajorVersion',
68 'osMinorVersion' => 'osMinorVersion',
69 'operatorType' => 'operatorType',
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::OperatingSystemVersion
89  
90 =head1 DESCRIPTION
91  
92 Perl data type class for the XML Schema defined complexType
93 OperatingSystemVersion from the namespace https://adwords.google.com/api/adwords/cm/v201809.
94  
95 Represents an Operating System Version Criterion. <a href="/adwords/api/docs/appendix/mobileplatforms">View the complete list of available mobile platforms</a>. You can also get the list from {@link ConstantDataService#getOperatingSystemVersionCriterion ConstantDataService}. <p>A criterion of this type can only be created using an ID. <span class="constraint AdxEnabled">This is enabled for AdX.</span>
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 * name
108  
109  
110 =item * osMajorVersion
111  
112  
113 =item * osMinorVersion
114  
115  
116 =item * operatorType
117  
118  
119  
120  
121 =back
122  
123  
124 =head1 METHODS
125  
126 =head2 new
127  
128 Constructor. The following data structure may be passed to new():
129  
130  
131  
132  
133  
134  
135 =head1 AUTHOR
136  
137 Generated by SOAP::WSDL
138  
139 =cut
140  
« lib/Google/Ads/AdWords/v201809/OfflineDataUploadReturnValue.pm ↑ Summary lib/Google/Ads/AdWords/v201809/OperationAccessDenied.pm »