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 RunRealtimeReportResponse extends \Google\Collection 21{ 22 protected $collection_key = 'totals'; 23 protected $dimensionHeadersType = DimensionHeader::class; 24 protected $dimensionHeadersDataType = 'array'; 25 /** 26 * @var string 27 */ 28 public $kind; 29 protected $maximumsType = Row::class; 30 protected $maximumsDataType = 'array'; 31 protected $metricHeadersType = MetricHeader::class; 32 protected $metricHeadersDataType = 'array'; 33 protected $minimumsType = Row::class; 34 protected $minimumsDataType = 'array'; 35 protected $propertyQuotaType = PropertyQuota::class; 36 protected $propertyQuotaDataType = ''; 37 /** 38 * @var int 39 */ 40 public $rowCount; 41 protected $rowsType = Row::class; 42 protected $rowsDataType = 'array'; 43 protected $totalsType = Row::class; 44 protected $totalsDataType = 'array'; 45 46 /** 47 * @param DimensionHeader[] 48 */ 49 public function setDimensionHeaders($dimensionHeaders) 50 { 51 $this->dimensionHeaders = $dimensionHeaders; 52 } 53 /** 54 * @return DimensionHeader[] 55 */ 56 public function getDimensionHeaders() 57 { 58 return $this->dimensionHeaders; 59 } 60 /** 61 * @param string 62 */ 63 public function setKind($kind) 64 { 65 $this->kind = $kind; 66 } 67 /** 68 * @return string 69 */ 70 public function getKind() 71 { 72 return $this->kind; 73 } 74 /** 75 * @param Row[] 76 */ 77 public function setMaximums($maximums) 78 { 79 $this->maximums = $maximums; 80 } 81 /** 82 * @return Row[] 83 */ 84 public function getMaximums() 85 { 86 return $this->maximums; 87 } 88 /** 89 * @param MetricHeader[] 90 */ 91 public function setMetricHeaders($metricHeaders) 92 { 93 $this->metricHeaders = $metricHeaders; 94 } 95 /** 96 * @return MetricHeader[] 97 */ 98 public function getMetricHeaders() 99 { 100 return $this->metricHeaders; 101 } 102 /** 103 * @param Row[] 104 */ 105 public function setMinimums($minimums) 106 { 107 $this->minimums = $minimums; 108 } 109 /** 110 * @return Row[] 111 */ 112 public function getMinimums() 113 { 114 return $this->minimums; 115 } 116 /** 117 * @param PropertyQuota 118 */ 119 public function setPropertyQuota(PropertyQuota $propertyQuota) 120 { 121 $this->propertyQuota = $propertyQuota; 122 } 123 /** 124 * @return PropertyQuota 125 */ 126 public function getPropertyQuota() 127 { 128 return $this->propertyQuota; 129 } 130 /** 131 * @param int 132 */ 133 public function setRowCount($rowCount) 134 { 135 $this->rowCount = $rowCount; 136 } 137 /** 138 * @return int 139 */ 140 public function getRowCount() 141 { 142 return $this->rowCount; 143 } 144 /** 145 * @param Row[] 146 */ 147 public function setRows($rows) 148 { 149 $this->rows = $rows; 150 } 151 /** 152 * @return Row[] 153 */ 154 public function getRows() 155 { 156 return $this->rows; 157 } 158 /** 159 * @param Row[] 160 */ 161 public function setTotals($totals) 162 { 163 $this->totals = $totals; 164 } 165 /** 166 * @return Row[] 167 */ 168 public function getTotals() 169 { 170 return $this->totals; 171 } 172} 173 174// Adding a class alias for backwards compatibility with the previous class name. 175class_alias(RunRealtimeReportResponse::class, 'Google_Service_AnalyticsData_RunRealtimeReportResponse'); 176