[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\Analytics;
|
---|
| 19 |
|
---|
| 20 | class McfData extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'rows';
|
---|
| 23 | protected $columnHeadersType = McfDataColumnHeaders::class;
|
---|
| 24 | protected $columnHeadersDataType = 'array';
|
---|
| 25 | /**
|
---|
| 26 | * @var bool
|
---|
| 27 | */
|
---|
| 28 | public $containsSampledData;
|
---|
| 29 | /**
|
---|
| 30 | * @var string
|
---|
| 31 | */
|
---|
| 32 | public $id;
|
---|
| 33 | /**
|
---|
| 34 | * @var int
|
---|
| 35 | */
|
---|
| 36 | public $itemsPerPage;
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $kind;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $nextLink;
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $previousLink;
|
---|
| 49 | protected $profileInfoType = McfDataProfileInfo::class;
|
---|
| 50 | protected $profileInfoDataType = '';
|
---|
| 51 | protected $queryType = McfDataQuery::class;
|
---|
| 52 | protected $queryDataType = '';
|
---|
| 53 | protected $rowsType = McfDataRows::class;
|
---|
| 54 | protected $rowsDataType = 'array';
|
---|
| 55 | /**
|
---|
| 56 | * @var string
|
---|
| 57 | */
|
---|
| 58 | public $sampleSize;
|
---|
| 59 | /**
|
---|
| 60 | * @var string
|
---|
| 61 | */
|
---|
| 62 | public $sampleSpace;
|
---|
| 63 | /**
|
---|
| 64 | * @var string
|
---|
| 65 | */
|
---|
| 66 | public $selfLink;
|
---|
| 67 | /**
|
---|
| 68 | * @var int
|
---|
| 69 | */
|
---|
| 70 | public $totalResults;
|
---|
| 71 | /**
|
---|
| 72 | * @var string[]
|
---|
| 73 | */
|
---|
| 74 | public $totalsForAllResults;
|
---|
| 75 |
|
---|
| 76 | /**
|
---|
| 77 | * @param McfDataColumnHeaders[]
|
---|
| 78 | */
|
---|
| 79 | public function setColumnHeaders($columnHeaders)
|
---|
| 80 | {
|
---|
| 81 | $this->columnHeaders = $columnHeaders;
|
---|
| 82 | }
|
---|
| 83 | /**
|
---|
| 84 | * @return McfDataColumnHeaders[]
|
---|
| 85 | */
|
---|
| 86 | public function getColumnHeaders()
|
---|
| 87 | {
|
---|
| 88 | return $this->columnHeaders;
|
---|
| 89 | }
|
---|
| 90 | /**
|
---|
| 91 | * @param bool
|
---|
| 92 | */
|
---|
| 93 | public function setContainsSampledData($containsSampledData)
|
---|
| 94 | {
|
---|
| 95 | $this->containsSampledData = $containsSampledData;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @return bool
|
---|
| 99 | */
|
---|
| 100 | public function getContainsSampledData()
|
---|
| 101 | {
|
---|
| 102 | return $this->containsSampledData;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @param string
|
---|
| 106 | */
|
---|
| 107 | public function setId($id)
|
---|
| 108 | {
|
---|
| 109 | $this->id = $id;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @return string
|
---|
| 113 | */
|
---|
| 114 | public function getId()
|
---|
| 115 | {
|
---|
| 116 | return $this->id;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @param int
|
---|
| 120 | */
|
---|
| 121 | public function setItemsPerPage($itemsPerPage)
|
---|
| 122 | {
|
---|
| 123 | $this->itemsPerPage = $itemsPerPage;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @return int
|
---|
| 127 | */
|
---|
| 128 | public function getItemsPerPage()
|
---|
| 129 | {
|
---|
| 130 | return $this->itemsPerPage;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @param string
|
---|
| 134 | */
|
---|
| 135 | public function setKind($kind)
|
---|
| 136 | {
|
---|
| 137 | $this->kind = $kind;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @return string
|
---|
| 141 | */
|
---|
| 142 | public function getKind()
|
---|
| 143 | {
|
---|
| 144 | return $this->kind;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @param string
|
---|
| 148 | */
|
---|
| 149 | public function setNextLink($nextLink)
|
---|
| 150 | {
|
---|
| 151 | $this->nextLink = $nextLink;
|
---|
| 152 | }
|
---|
| 153 | /**
|
---|
| 154 | * @return string
|
---|
| 155 | */
|
---|
| 156 | public function getNextLink()
|
---|
| 157 | {
|
---|
| 158 | return $this->nextLink;
|
---|
| 159 | }
|
---|
| 160 | /**
|
---|
| 161 | * @param string
|
---|
| 162 | */
|
---|
| 163 | public function setPreviousLink($previousLink)
|
---|
| 164 | {
|
---|
| 165 | $this->previousLink = $previousLink;
|
---|
| 166 | }
|
---|
| 167 | /**
|
---|
| 168 | * @return string
|
---|
| 169 | */
|
---|
| 170 | public function getPreviousLink()
|
---|
| 171 | {
|
---|
| 172 | return $this->previousLink;
|
---|
| 173 | }
|
---|
| 174 | /**
|
---|
| 175 | * @param McfDataProfileInfo
|
---|
| 176 | */
|
---|
| 177 | public function setProfileInfo(McfDataProfileInfo $profileInfo)
|
---|
| 178 | {
|
---|
| 179 | $this->profileInfo = $profileInfo;
|
---|
| 180 | }
|
---|
| 181 | /**
|
---|
| 182 | * @return McfDataProfileInfo
|
---|
| 183 | */
|
---|
| 184 | public function getProfileInfo()
|
---|
| 185 | {
|
---|
| 186 | return $this->profileInfo;
|
---|
| 187 | }
|
---|
| 188 | /**
|
---|
| 189 | * @param McfDataQuery
|
---|
| 190 | */
|
---|
| 191 | public function setQuery(McfDataQuery $query)
|
---|
| 192 | {
|
---|
| 193 | $this->query = $query;
|
---|
| 194 | }
|
---|
| 195 | /**
|
---|
| 196 | * @return McfDataQuery
|
---|
| 197 | */
|
---|
| 198 | public function getQuery()
|
---|
| 199 | {
|
---|
| 200 | return $this->query;
|
---|
| 201 | }
|
---|
| 202 | /**
|
---|
| 203 | * @param McfDataRows[]
|
---|
| 204 | */
|
---|
| 205 | public function setRows($rows)
|
---|
| 206 | {
|
---|
| 207 | $this->rows = $rows;
|
---|
| 208 | }
|
---|
| 209 | /**
|
---|
| 210 | * @return McfDataRows[]
|
---|
| 211 | */
|
---|
| 212 | public function getRows()
|
---|
| 213 | {
|
---|
| 214 | return $this->rows;
|
---|
| 215 | }
|
---|
| 216 | /**
|
---|
| 217 | * @param string
|
---|
| 218 | */
|
---|
| 219 | public function setSampleSize($sampleSize)
|
---|
| 220 | {
|
---|
| 221 | $this->sampleSize = $sampleSize;
|
---|
| 222 | }
|
---|
| 223 | /**
|
---|
| 224 | * @return string
|
---|
| 225 | */
|
---|
| 226 | public function getSampleSize()
|
---|
| 227 | {
|
---|
| 228 | return $this->sampleSize;
|
---|
| 229 | }
|
---|
| 230 | /**
|
---|
| 231 | * @param string
|
---|
| 232 | */
|
---|
| 233 | public function setSampleSpace($sampleSpace)
|
---|
| 234 | {
|
---|
| 235 | $this->sampleSpace = $sampleSpace;
|
---|
| 236 | }
|
---|
| 237 | /**
|
---|
| 238 | * @return string
|
---|
| 239 | */
|
---|
| 240 | public function getSampleSpace()
|
---|
| 241 | {
|
---|
| 242 | return $this->sampleSpace;
|
---|
| 243 | }
|
---|
| 244 | /**
|
---|
| 245 | * @param string
|
---|
| 246 | */
|
---|
| 247 | public function setSelfLink($selfLink)
|
---|
| 248 | {
|
---|
| 249 | $this->selfLink = $selfLink;
|
---|
| 250 | }
|
---|
| 251 | /**
|
---|
| 252 | * @return string
|
---|
| 253 | */
|
---|
| 254 | public function getSelfLink()
|
---|
| 255 | {
|
---|
| 256 | return $this->selfLink;
|
---|
| 257 | }
|
---|
| 258 | /**
|
---|
| 259 | * @param int
|
---|
| 260 | */
|
---|
| 261 | public function setTotalResults($totalResults)
|
---|
| 262 | {
|
---|
| 263 | $this->totalResults = $totalResults;
|
---|
| 264 | }
|
---|
| 265 | /**
|
---|
| 266 | * @return int
|
---|
| 267 | */
|
---|
| 268 | public function getTotalResults()
|
---|
| 269 | {
|
---|
| 270 | return $this->totalResults;
|
---|
| 271 | }
|
---|
| 272 | /**
|
---|
| 273 | * @param string[]
|
---|
| 274 | */
|
---|
| 275 | public function setTotalsForAllResults($totalsForAllResults)
|
---|
| 276 | {
|
---|
| 277 | $this->totalsForAllResults = $totalsForAllResults;
|
---|
| 278 | }
|
---|
| 279 | /**
|
---|
| 280 | * @return string[]
|
---|
| 281 | */
|
---|
| 282 | public function getTotalsForAllResults()
|
---|
| 283 | {
|
---|
| 284 | return $this->totalsForAllResults;
|
---|
| 285 | }
|
---|
| 286 | }
|
---|
| 287 |
|
---|
| 288 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 289 | class_alias(McfData::class, 'Google_Service_Analytics_McfData');
|
---|