[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\Dfareporting;
|
---|
| 19 |
|
---|
| 20 | class ReachReportCompatibleFields extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'reachByFrequencyMetrics';
|
---|
| 23 | protected $dimensionFiltersType = Dimension::class;
|
---|
| 24 | protected $dimensionFiltersDataType = 'array';
|
---|
| 25 | protected $dimensionsType = Dimension::class;
|
---|
| 26 | protected $dimensionsDataType = 'array';
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $kind;
|
---|
| 31 | protected $metricsType = Metric::class;
|
---|
| 32 | protected $metricsDataType = 'array';
|
---|
| 33 | protected $pivotedActivityMetricsType = Metric::class;
|
---|
| 34 | protected $pivotedActivityMetricsDataType = 'array';
|
---|
| 35 | protected $reachByFrequencyMetricsType = Metric::class;
|
---|
| 36 | protected $reachByFrequencyMetricsDataType = 'array';
|
---|
| 37 |
|
---|
| 38 | /**
|
---|
| 39 | * @param Dimension[]
|
---|
| 40 | */
|
---|
| 41 | public function setDimensionFilters($dimensionFilters)
|
---|
| 42 | {
|
---|
| 43 | $this->dimensionFilters = $dimensionFilters;
|
---|
| 44 | }
|
---|
| 45 | /**
|
---|
| 46 | * @return Dimension[]
|
---|
| 47 | */
|
---|
| 48 | public function getDimensionFilters()
|
---|
| 49 | {
|
---|
| 50 | return $this->dimensionFilters;
|
---|
| 51 | }
|
---|
| 52 | /**
|
---|
| 53 | * @param Dimension[]
|
---|
| 54 | */
|
---|
| 55 | public function setDimensions($dimensions)
|
---|
| 56 | {
|
---|
| 57 | $this->dimensions = $dimensions;
|
---|
| 58 | }
|
---|
| 59 | /**
|
---|
| 60 | * @return Dimension[]
|
---|
| 61 | */
|
---|
| 62 | public function getDimensions()
|
---|
| 63 | {
|
---|
| 64 | return $this->dimensions;
|
---|
| 65 | }
|
---|
| 66 | /**
|
---|
| 67 | * @param string
|
---|
| 68 | */
|
---|
| 69 | public function setKind($kind)
|
---|
| 70 | {
|
---|
| 71 | $this->kind = $kind;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @return string
|
---|
| 75 | */
|
---|
| 76 | public function getKind()
|
---|
| 77 | {
|
---|
| 78 | return $this->kind;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @param Metric[]
|
---|
| 82 | */
|
---|
| 83 | public function setMetrics($metrics)
|
---|
| 84 | {
|
---|
| 85 | $this->metrics = $metrics;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @return Metric[]
|
---|
| 89 | */
|
---|
| 90 | public function getMetrics()
|
---|
| 91 | {
|
---|
| 92 | return $this->metrics;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @param Metric[]
|
---|
| 96 | */
|
---|
| 97 | public function setPivotedActivityMetrics($pivotedActivityMetrics)
|
---|
| 98 | {
|
---|
| 99 | $this->pivotedActivityMetrics = $pivotedActivityMetrics;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @return Metric[]
|
---|
| 103 | */
|
---|
| 104 | public function getPivotedActivityMetrics()
|
---|
| 105 | {
|
---|
| 106 | return $this->pivotedActivityMetrics;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @param Metric[]
|
---|
| 110 | */
|
---|
| 111 | public function setReachByFrequencyMetrics($reachByFrequencyMetrics)
|
---|
| 112 | {
|
---|
| 113 | $this->reachByFrequencyMetrics = $reachByFrequencyMetrics;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @return Metric[]
|
---|
| 117 | */
|
---|
| 118 | public function getReachByFrequencyMetrics()
|
---|
| 119 | {
|
---|
| 120 | return $this->reachByFrequencyMetrics;
|
---|
| 121 | }
|
---|
| 122 | }
|
---|
| 123 |
|
---|
| 124 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 125 | class_alias(ReachReportCompatibleFields::class, 'Google_Service_Dfareporting_ReachReportCompatibleFields');
|
---|