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\Doubleclicksearch; 19 20class ReportRequest extends \Google\Collection 21{ 22 protected $collection_key = 'orderBy'; 23 protected $columnsType = ReportApiColumnSpec::class; 24 protected $columnsDataType = 'array'; 25 /** 26 * @var string 27 */ 28 public $downloadFormat; 29 protected $filtersType = ReportRequestFilters::class; 30 protected $filtersDataType = 'array'; 31 /** 32 * @var bool 33 */ 34 public $includeDeletedEntities; 35 /** 36 * @var bool 37 */ 38 public $includeRemovedEntities; 39 /** 40 * @var int 41 */ 42 public $maxRowsPerFile; 43 protected $orderByType = ReportRequestOrderBy::class; 44 protected $orderByDataType = 'array'; 45 protected $reportScopeType = ReportRequestReportScope::class; 46 protected $reportScopeDataType = ''; 47 /** 48 * @var string 49 */ 50 public $reportType; 51 /** 52 * @var int 53 */ 54 public $rowCount; 55 /** 56 * @var int 57 */ 58 public $startRow; 59 /** 60 * @var string 61 */ 62 public $statisticsCurrency; 63 protected $timeRangeType = ReportRequestTimeRange::class; 64 protected $timeRangeDataType = ''; 65 /** 66 * @var bool 67 */ 68 public $verifySingleTimeZone; 69 70 /** 71 * @param ReportApiColumnSpec[] 72 */ 73 public function setColumns($columns) 74 { 75 $this->columns = $columns; 76 } 77 /** 78 * @return ReportApiColumnSpec[] 79 */ 80 public function getColumns() 81 { 82 return $this->columns; 83 } 84 /** 85 * @param string 86 */ 87 public function setDownloadFormat($downloadFormat) 88 { 89 $this->downloadFormat = $downloadFormat; 90 } 91 /** 92 * @return string 93 */ 94 public function getDownloadFormat() 95 { 96 return $this->downloadFormat; 97 } 98 /** 99 * @param ReportRequestFilters[] 100 */ 101 public function setFilters($filters) 102 { 103 $this->filters = $filters; 104 } 105 /** 106 * @return ReportRequestFilters[] 107 */ 108 public function getFilters() 109 { 110 return $this->filters; 111 } 112 /** 113 * @param bool 114 */ 115 public function setIncludeDeletedEntities($includeDeletedEntities) 116 { 117 $this->includeDeletedEntities = $includeDeletedEntities; 118 } 119 /** 120 * @return bool 121 */ 122 public function getIncludeDeletedEntities() 123 { 124 return $this->includeDeletedEntities; 125 } 126 /** 127 * @param bool 128 */ 129 public function setIncludeRemovedEntities($includeRemovedEntities) 130 { 131 $this->includeRemovedEntities = $includeRemovedEntities; 132 } 133 /** 134 * @return bool 135 */ 136 public function getIncludeRemovedEntities() 137 { 138 return $this->includeRemovedEntities; 139 } 140 /** 141 * @param int 142 */ 143 public function setMaxRowsPerFile($maxRowsPerFile) 144 { 145 $this->maxRowsPerFile = $maxRowsPerFile; 146 } 147 /** 148 * @return int 149 */ 150 public function getMaxRowsPerFile() 151 { 152 return $this->maxRowsPerFile; 153 } 154 /** 155 * @param ReportRequestOrderBy[] 156 */ 157 public function setOrderBy($orderBy) 158 { 159 $this->orderBy = $orderBy; 160 } 161 /** 162 * @return ReportRequestOrderBy[] 163 */ 164 public function getOrderBy() 165 { 166 return $this->orderBy; 167 } 168 /** 169 * @param ReportRequestReportScope 170 */ 171 public function setReportScope(ReportRequestReportScope $reportScope) 172 { 173 $this->reportScope = $reportScope; 174 } 175 /** 176 * @return ReportRequestReportScope 177 */ 178 public function getReportScope() 179 { 180 return $this->reportScope; 181 } 182 /** 183 * @param string 184 */ 185 public function setReportType($reportType) 186 { 187 $this->reportType = $reportType; 188 } 189 /** 190 * @return string 191 */ 192 public function getReportType() 193 { 194 return $this->reportType; 195 } 196 /** 197 * @param int 198 */ 199 public function setRowCount($rowCount) 200 { 201 $this->rowCount = $rowCount; 202 } 203 /** 204 * @return int 205 */ 206 public function getRowCount() 207 { 208 return $this->rowCount; 209 } 210 /** 211 * @param int 212 */ 213 public function setStartRow($startRow) 214 { 215 $this->startRow = $startRow; 216 } 217 /** 218 * @return int 219 */ 220 public function getStartRow() 221 { 222 return $this->startRow; 223 } 224 /** 225 * @param string 226 */ 227 public function setStatisticsCurrency($statisticsCurrency) 228 { 229 $this->statisticsCurrency = $statisticsCurrency; 230 } 231 /** 232 * @return string 233 */ 234 public function getStatisticsCurrency() 235 { 236 return $this->statisticsCurrency; 237 } 238 /** 239 * @param ReportRequestTimeRange 240 */ 241 public function setTimeRange(ReportRequestTimeRange $timeRange) 242 { 243 $this->timeRange = $timeRange; 244 } 245 /** 246 * @return ReportRequestTimeRange 247 */ 248 public function getTimeRange() 249 { 250 return $this->timeRange; 251 } 252 /** 253 * @param bool 254 */ 255 public function setVerifySingleTimeZone($verifySingleTimeZone) 256 { 257 $this->verifySingleTimeZone = $verifySingleTimeZone; 258 } 259 /** 260 * @return bool 261 */ 262 public function getVerifySingleTimeZone() 263 { 264 return $this->verifySingleTimeZone; 265 } 266} 267 268// Adding a class alias for backwards compatibility with the previous class name. 269class_alias(ReportRequest::class, 'Google_Service_Doubleclicksearch_ReportRequest'); 270