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\Webmasters;
19
20class ApiDataRow extends \Google\Collection
21{
22  protected $collection_key = 'keys';
23  public $clicks;
24  public $ctr;
25  public $impressions;
26  public $keys;
27  public $position;
28
29  public function setClicks($clicks)
30  {
31    $this->clicks = $clicks;
32  }
33  public function getClicks()
34  {
35    return $this->clicks;
36  }
37  public function setCtr($ctr)
38  {
39    $this->ctr = $ctr;
40  }
41  public function getCtr()
42  {
43    return $this->ctr;
44  }
45  public function setImpressions($impressions)
46  {
47    $this->impressions = $impressions;
48  }
49  public function getImpressions()
50  {
51    return $this->impressions;
52  }
53  public function setKeys($keys)
54  {
55    $this->keys = $keys;
56  }
57  public function getKeys()
58  {
59    return $this->keys;
60  }
61  public function setPosition($position)
62  {
63    $this->position = $position;
64  }
65  public function getPosition()
66  {
67    return $this->position;
68  }
69}
70
71// Adding a class alias for backwards compatibility with the previous class name.
72class_alias(ApiDataRow::class, 'Google_Service_Webmasters_ApiDataRow');
73