1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Dfareporting;
19
20class TechnologyTargeting extends \Google\Collection
21{
22  protected $collection_key = 'platformTypes';
23  protected $browsersType = Browser::class;
24  protected $browsersDataType = 'array';
25  protected $connectionTypesType = ConnectionType::class;
26  protected $connectionTypesDataType = 'array';
27  protected $mobileCarriersType = MobileCarrier::class;
28  protected $mobileCarriersDataType = 'array';
29  protected $operatingSystemVersionsType = OperatingSystemVersion::class;
30  protected $operatingSystemVersionsDataType = 'array';
31  protected $operatingSystemsType = OperatingSystem::class;
32  protected $operatingSystemsDataType = 'array';
33  protected $platformTypesType = PlatformType::class;
34  protected $platformTypesDataType = 'array';
35
36  /**
37   * @param Browser[]
38   */
39  public function setBrowsers($browsers)
40  {
41    $this->browsers = $browsers;
42  }
43  /**
44   * @return Browser[]
45   */
46  public function getBrowsers()
47  {
48    return $this->browsers;
49  }
50  /**
51   * @param ConnectionType[]
52   */
53  public function setConnectionTypes($connectionTypes)
54  {
55    $this->connectionTypes = $connectionTypes;
56  }
57  /**
58   * @return ConnectionType[]
59   */
60  public function getConnectionTypes()
61  {
62    return $this->connectionTypes;
63  }
64  /**
65   * @param MobileCarrier[]
66   */
67  public function setMobileCarriers($mobileCarriers)
68  {
69    $this->mobileCarriers = $mobileCarriers;
70  }
71  /**
72   * @return MobileCarrier[]
73   */
74  public function getMobileCarriers()
75  {
76    return $this->mobileCarriers;
77  }
78  /**
79   * @param OperatingSystemVersion[]
80   */
81  public function setOperatingSystemVersions($operatingSystemVersions)
82  {
83    $this->operatingSystemVersions = $operatingSystemVersions;
84  }
85  /**
86   * @return OperatingSystemVersion[]
87   */
88  public function getOperatingSystemVersions()
89  {
90    return $this->operatingSystemVersions;
91  }
92  /**
93   * @param OperatingSystem[]
94   */
95  public function setOperatingSystems($operatingSystems)
96  {
97    $this->operatingSystems = $operatingSystems;
98  }
99  /**
100   * @return OperatingSystem[]
101   */
102  public function getOperatingSystems()
103  {
104    return $this->operatingSystems;
105  }
106  /**
107   * @param PlatformType[]
108   */
109  public function setPlatformTypes($platformTypes)
110  {
111    $this->platformTypes = $platformTypes;
112  }
113  /**
114   * @return PlatformType[]
115   */
116  public function getPlatformTypes()
117  {
118    return $this->platformTypes;
119  }
120}
121
122// Adding a class alias for backwards compatibility with the previous class name.
123class_alias(TechnologyTargeting::class, 'Google_Service_Dfareporting_TechnologyTargeting');
124