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\AnalyticsData;
19
20class CheckCompatibilityRequest extends \Google\Collection
21{
22  protected $collection_key = 'metrics';
23  /**
24   * @var string
25   */
26  public $compatibilityFilter;
27  protected $dimensionFilterType = FilterExpression::class;
28  protected $dimensionFilterDataType = '';
29  protected $dimensionsType = Dimension::class;
30  protected $dimensionsDataType = 'array';
31  protected $metricFilterType = FilterExpression::class;
32  protected $metricFilterDataType = '';
33  protected $metricsType = Metric::class;
34  protected $metricsDataType = 'array';
35
36  /**
37   * @param string
38   */
39  public function setCompatibilityFilter($compatibilityFilter)
40  {
41    $this->compatibilityFilter = $compatibilityFilter;
42  }
43  /**
44   * @return string
45   */
46  public function getCompatibilityFilter()
47  {
48    return $this->compatibilityFilter;
49  }
50  /**
51   * @param FilterExpression
52   */
53  public function setDimensionFilter(FilterExpression $dimensionFilter)
54  {
55    $this->dimensionFilter = $dimensionFilter;
56  }
57  /**
58   * @return FilterExpression
59   */
60  public function getDimensionFilter()
61  {
62    return $this->dimensionFilter;
63  }
64  /**
65   * @param Dimension[]
66   */
67  public function setDimensions($dimensions)
68  {
69    $this->dimensions = $dimensions;
70  }
71  /**
72   * @return Dimension[]
73   */
74  public function getDimensions()
75  {
76    return $this->dimensions;
77  }
78  /**
79   * @param FilterExpression
80   */
81  public function setMetricFilter(FilterExpression $metricFilter)
82  {
83    $this->metricFilter = $metricFilter;
84  }
85  /**
86   * @return FilterExpression
87   */
88  public function getMetricFilter()
89  {
90    return $this->metricFilter;
91  }
92  /**
93   * @param Metric[]
94   */
95  public function setMetrics($metrics)
96  {
97    $this->metrics = $metrics;
98  }
99  /**
100   * @return Metric[]
101   */
102  public function getMetrics()
103  {
104    return $this->metrics;
105  }
106}
107
108// Adding a class alias for backwards compatibility with the previous class name.
109class_alias(CheckCompatibilityRequest::class, 'Google_Service_AnalyticsData_CheckCompatibilityRequest');
110