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 ReportFloodlightCriteria extends \Google\Collection
21{
22  protected $collection_key = 'metricNames';
23  protected $customRichMediaEventsType = DimensionValue::class;
24  protected $customRichMediaEventsDataType = 'array';
25  protected $dateRangeType = DateRange::class;
26  protected $dateRangeDataType = '';
27  protected $dimensionFiltersType = DimensionValue::class;
28  protected $dimensionFiltersDataType = 'array';
29  protected $dimensionsType = SortedDimension::class;
30  protected $dimensionsDataType = 'array';
31  protected $floodlightConfigIdType = DimensionValue::class;
32  protected $floodlightConfigIdDataType = '';
33  /**
34   * @var string[]
35   */
36  public $metricNames;
37  protected $reportPropertiesType = ReportFloodlightCriteriaReportProperties::class;
38  protected $reportPropertiesDataType = '';
39
40  /**
41   * @param DimensionValue[]
42   */
43  public function setCustomRichMediaEvents($customRichMediaEvents)
44  {
45    $this->customRichMediaEvents = $customRichMediaEvents;
46  }
47  /**
48   * @return DimensionValue[]
49   */
50  public function getCustomRichMediaEvents()
51  {
52    return $this->customRichMediaEvents;
53  }
54  /**
55   * @param DateRange
56   */
57  public function setDateRange(DateRange $dateRange)
58  {
59    $this->dateRange = $dateRange;
60  }
61  /**
62   * @return DateRange
63   */
64  public function getDateRange()
65  {
66    return $this->dateRange;
67  }
68  /**
69   * @param DimensionValue[]
70   */
71  public function setDimensionFilters($dimensionFilters)
72  {
73    $this->dimensionFilters = $dimensionFilters;
74  }
75  /**
76   * @return DimensionValue[]
77   */
78  public function getDimensionFilters()
79  {
80    return $this->dimensionFilters;
81  }
82  /**
83   * @param SortedDimension[]
84   */
85  public function setDimensions($dimensions)
86  {
87    $this->dimensions = $dimensions;
88  }
89  /**
90   * @return SortedDimension[]
91   */
92  public function getDimensions()
93  {
94    return $this->dimensions;
95  }
96  /**
97   * @param DimensionValue
98   */
99  public function setFloodlightConfigId(DimensionValue $floodlightConfigId)
100  {
101    $this->floodlightConfigId = $floodlightConfigId;
102  }
103  /**
104   * @return DimensionValue
105   */
106  public function getFloodlightConfigId()
107  {
108    return $this->floodlightConfigId;
109  }
110  /**
111   * @param string[]
112   */
113  public function setMetricNames($metricNames)
114  {
115    $this->metricNames = $metricNames;
116  }
117  /**
118   * @return string[]
119   */
120  public function getMetricNames()
121  {
122    return $this->metricNames;
123  }
124  /**
125   * @param ReportFloodlightCriteriaReportProperties
126   */
127  public function setReportProperties(ReportFloodlightCriteriaReportProperties $reportProperties)
128  {
129    $this->reportProperties = $reportProperties;
130  }
131  /**
132   * @return ReportFloodlightCriteriaReportProperties
133   */
134  public function getReportProperties()
135  {
136    return $this->reportProperties;
137  }
138}
139
140// Adding a class alias for backwards compatibility with the previous class name.
141class_alias(ReportFloodlightCriteria::class, 'Google_Service_Dfareporting_ReportFloodlightCriteria');
142