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