File Coverage

lib/Google/Ads/AdWords/v201702/MobileDevice.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 5 60.0
pod n/a
total 12 16 75.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201702::MobileDevice;
2 1     1   1705 use strict;
  1         3  
  1         24  
3 1     1   4 use warnings;
  1         2  
  1         87  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201702' };
9              
10             our $XML_ATTRIBUTE_CLASS;
11             undef $XML_ATTRIBUTE_CLASS;
12              
13             sub __get_attr_class {
14 0     0     return $XML_ATTRIBUTE_CLASS;
15             }
16              
17              
18 1     1   5 use base qw(Google::Ads::AdWords::v201702::Criterion);
  1         1  
  1         100  
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);
26             my %type_of :ATTR(:get);
27             my %Criterion__Type_of :ATTR(:get);
28             my %deviceName_of :ATTR(:get);
29             my %manufacturerName_of :ATTR(:get);
30             my %deviceType_of :ATTR(:get);
31             my %operatingSystemName_of :ATTR(:get);
32              
33             __PACKAGE__->_factory(
34             [ qw( id
35             type
36             Criterion__Type
37             deviceName
38             manufacturerName
39             deviceType
40             operatingSystemName
41              
42             ) ],
43             {
44             'id' => \%id_of,
45             'type' => \%type_of,
46             'Criterion__Type' => \%Criterion__Type_of,
47             'deviceName' => \%deviceName_of,
48             'manufacturerName' => \%manufacturerName_of,
49             'deviceType' => \%deviceType_of,
50             'operatingSystemName' => \%operatingSystemName_of,
51             },
52             {
53             'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
54             'type' => 'Google::Ads::AdWords::v201702::Criterion::Type',
55             'Criterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
56             'deviceName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
57             'manufacturerName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
58             'deviceType' => 'Google::Ads::AdWords::v201702::MobileDevice::DeviceType',
59             'operatingSystemName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
60             },
61             {
62              
63             'id' => 'id',
64             'type' => 'type',
65             'Criterion__Type' => 'Criterion.Type',
66             'deviceName' => 'deviceName',
67             'manufacturerName' => 'manufacturerName',
68             'deviceType' => 'deviceType',
69             'operatingSystemName' => 'operatingSystemName',
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::v201702::MobileDevice
89              
90             =head1 DESCRIPTION
91              
92             Perl data type class for the XML Schema defined complexType
93             MobileDevice from the namespace https://adwords.google.com/api/adwords/cm/v201702.
94              
95             Represents a Mobile Device Criterion.

A criterion of this type can only be created using an ID. This is enabled for AdX.

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 * deviceName
108              
109              
110             =item * manufacturerName
111              
112              
113             =item * deviceType
114              
115              
116             =item * operatingSystemName
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