JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "CheckCompatibilityRequest.php"

Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/AnalyticsData/CheckCompatibilityRequest.php
File size: 4.16 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\AnalyticsData;

class CheckCompatibilityRequest extends \Google\Collection
{
  /**
   * Unspecified compatibility.
   */
  public const COMPATIBILITY_FILTER_COMPATIBILITY_UNSPECIFIED = 'COMPATIBILITY_UNSPECIFIED';
  /**
   * The dimension or metric is compatible. This dimension or metric can be
   * successfully added to a report.
   */
  public const COMPATIBILITY_FILTER_COMPATIBLE = 'COMPATIBLE';
  /**
   * The dimension or metric is incompatible. This dimension or metric cannot be
   * successfully added to a report.
   */
  public const COMPATIBILITY_FILTER_INCOMPATIBLE = 'INCOMPATIBLE';
  protected $collection_key = 'metrics';
  /**
   * Filters the dimensions and metrics in the response to just this
   * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”` to
   * only return compatible dimensions & metrics.
   *
   * @var string
   */
  public $compatibilityFilter;
  protected $dimensionFilterType = FilterExpression::class;
  protected $dimensionFilterDataType = '';
  protected $dimensionsType = Dimension::class;
  protected $dimensionsDataType = 'array';
  protected $metricFilterType = FilterExpression::class;
  protected $metricFilterDataType = '';
  protected $metricsType = Metric::class;
  protected $metricsDataType = 'array';

  /**
   * Filters the dimensions and metrics in the response to just this
   * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”` to
   * only return compatible dimensions & metrics.
   *
   * Accepted values: COMPATIBILITY_UNSPECIFIED, COMPATIBLE, INCOMPATIBLE
   *
   * @param self::COMPATIBILITY_FILTER_* $compatibilityFilter
   */
  public function setCompatibilityFilter($compatibilityFilter)
  {
    $this->compatibilityFilter = $compatibilityFilter;
  }
  /**
   * @return self::COMPATIBILITY_FILTER_*
   */
  public function getCompatibilityFilter()
  {
    return $this->compatibilityFilter;
  }
  /**
   * The filter clause of dimensions. `dimensionFilter` should be the same value
   * as in your `runReport` request.
   *
   * @param FilterExpression $dimensionFilter
   */
  public function setDimensionFilter(FilterExpression $dimensionFilter)
  {
    $this->dimensionFilter = $dimensionFilter;
  }
  /**
   * @return FilterExpression
   */
  public function getDimensionFilter()
  {
    return $this->dimensionFilter;
  }
  /**
   * The dimensions in this report. `dimensions` should be the same value as in
   * your `runReport` request.
   *
   * @param Dimension[] $dimensions
   */
  public function setDimensions($dimensions)
  {
    $this->dimensions = $dimensions;
  }
  /**
   * @return Dimension[]
   */
  public function getDimensions()
  {
    return $this->dimensions;
  }
  /**
   * The filter clause of metrics. `metricFilter` should be the same value as in
   * your `runReport` request
   *
   * @param FilterExpression $metricFilter
   */
  public function setMetricFilter(FilterExpression $metricFilter)
  {
    $this->metricFilter = $metricFilter;
  }
  /**
   * @return FilterExpression
   */
  public function getMetricFilter()
  {
    return $this->metricFilter;
  }
  /**
   * The metrics in this report. `metrics` should be the same value as in your
   * `runReport` request.
   *
   * @param Metric[] $metrics
   */
  public function setMetrics($metrics)
  {
    $this->metrics = $metrics;
  }
  /**
   * @return Metric[]
   */
  public function getMetrics()
  {
    return $this->metrics;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckCompatibilityRequest::class, 'Google_Service_AnalyticsData_CheckCompatibilityRequest');