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