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 ReportPathCriteria extends \Google\Collection
21{
22  protected $collection_key = 'pathFilters';
23  protected $activityFiltersType = DimensionValue::class;
24  protected $activityFiltersDataType = 'array';
25  protected $customChannelGroupingType = ChannelGrouping::class;
26  protected $customChannelGroupingDataType = '';
27  protected $dateRangeType = DateRange::class;
28  protected $dateRangeDataType = '';
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 $pathFiltersType = PathFilter::class;
38  protected $pathFiltersDataType = 'array';
39
40  /**
41   * @param DimensionValue[]
42   */
43  public function setActivityFilters($activityFilters)
44  {
45    $this->activityFilters = $activityFilters;
46  }
47  /**
48   * @return DimensionValue[]
49   */
50  public function getActivityFilters()
51  {
52    return $this->activityFilters;
53  }
54  /**
55   * @param ChannelGrouping
56   */
57  public function setCustomChannelGrouping(ChannelGrouping $customChannelGrouping)
58  {
59    $this->customChannelGrouping = $customChannelGrouping;
60  }
61  /**
62   * @return ChannelGrouping
63   */
64  public function getCustomChannelGrouping()
65  {
66    return $this->customChannelGrouping;
67  }
68  /**
69   * @param DateRange
70   */
71  public function setDateRange(DateRange $dateRange)
72  {
73    $this->dateRange = $dateRange;
74  }
75  /**
76   * @return DateRange
77   */
78  public function getDateRange()
79  {
80    return $this->dateRange;
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 PathFilter[]
126   */
127  public function setPathFilters($pathFilters)
128  {
129    $this->pathFilters = $pathFilters;
130  }
131  /**
132   * @return PathFilter[]
133   */
134  public function getPathFilters()
135  {
136    return $this->pathFilters;
137  }
138}
139
140// Adding a class alias for backwards compatibility with the previous class name.
141class_alias(ReportPathCriteria::class, 'Google_Service_Dfareporting_ReportPathCriteria');
142