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 ReportPathToConversionCriteria extends \Google\Collection
21{
22  protected $collection_key = 'perInteractionDimensions';
23  protected $activityFiltersType = DimensionValue::class;
24  protected $activityFiltersDataType = 'array';
25  protected $conversionDimensionsType = SortedDimension::class;
26  protected $conversionDimensionsDataType = 'array';
27  protected $customFloodlightVariablesType = SortedDimension::class;
28  protected $customFloodlightVariablesDataType = 'array';
29  protected $customRichMediaEventsType = DimensionValue::class;
30  protected $customRichMediaEventsDataType = 'array';
31  protected $dateRangeType = DateRange::class;
32  protected $dateRangeDataType = '';
33  protected $floodlightConfigIdType = DimensionValue::class;
34  protected $floodlightConfigIdDataType = '';
35  /**
36   * @var string[]
37   */
38  public $metricNames;
39  protected $perInteractionDimensionsType = SortedDimension::class;
40  protected $perInteractionDimensionsDataType = 'array';
41  protected $reportPropertiesType = ReportPathToConversionCriteriaReportProperties::class;
42  protected $reportPropertiesDataType = '';
43
44  /**
45   * @param DimensionValue[]
46   */
47  public function setActivityFilters($activityFilters)
48  {
49    $this->activityFilters = $activityFilters;
50  }
51  /**
52   * @return DimensionValue[]
53   */
54  public function getActivityFilters()
55  {
56    return $this->activityFilters;
57  }
58  /**
59   * @param SortedDimension[]
60   */
61  public function setConversionDimensions($conversionDimensions)
62  {
63    $this->conversionDimensions = $conversionDimensions;
64  }
65  /**
66   * @return SortedDimension[]
67   */
68  public function getConversionDimensions()
69  {
70    return $this->conversionDimensions;
71  }
72  /**
73   * @param SortedDimension[]
74   */
75  public function setCustomFloodlightVariables($customFloodlightVariables)
76  {
77    $this->customFloodlightVariables = $customFloodlightVariables;
78  }
79  /**
80   * @return SortedDimension[]
81   */
82  public function getCustomFloodlightVariables()
83  {
84    return $this->customFloodlightVariables;
85  }
86  /**
87   * @param DimensionValue[]
88   */
89  public function setCustomRichMediaEvents($customRichMediaEvents)
90  {
91    $this->customRichMediaEvents = $customRichMediaEvents;
92  }
93  /**
94   * @return DimensionValue[]
95   */
96  public function getCustomRichMediaEvents()
97  {
98    return $this->customRichMediaEvents;
99  }
100  /**
101   * @param DateRange
102   */
103  public function setDateRange(DateRange $dateRange)
104  {
105    $this->dateRange = $dateRange;
106  }
107  /**
108   * @return DateRange
109   */
110  public function getDateRange()
111  {
112    return $this->dateRange;
113  }
114  /**
115   * @param DimensionValue
116   */
117  public function setFloodlightConfigId(DimensionValue $floodlightConfigId)
118  {
119    $this->floodlightConfigId = $floodlightConfigId;
120  }
121  /**
122   * @return DimensionValue
123   */
124  public function getFloodlightConfigId()
125  {
126    return $this->floodlightConfigId;
127  }
128  /**
129   * @param string[]
130   */
131  public function setMetricNames($metricNames)
132  {
133    $this->metricNames = $metricNames;
134  }
135  /**
136   * @return string[]
137   */
138  public function getMetricNames()
139  {
140    return $this->metricNames;
141  }
142  /**
143   * @param SortedDimension[]
144   */
145  public function setPerInteractionDimensions($perInteractionDimensions)
146  {
147    $this->perInteractionDimensions = $perInteractionDimensions;
148  }
149  /**
150   * @return SortedDimension[]
151   */
152  public function getPerInteractionDimensions()
153  {
154    return $this->perInteractionDimensions;
155  }
156  /**
157   * @param ReportPathToConversionCriteriaReportProperties
158   */
159  public function setReportProperties(ReportPathToConversionCriteriaReportProperties $reportProperties)
160  {
161    $this->reportProperties = $reportProperties;
162  }
163  /**
164   * @return ReportPathToConversionCriteriaReportProperties
165   */
166  public function getReportProperties()
167  {
168    return $this->reportProperties;
169  }
170}
171
172// Adding a class alias for backwards compatibility with the previous class name.
173class_alias(ReportPathToConversionCriteria::class, 'Google_Service_Dfareporting_ReportPathToConversionCriteria');
174