ReportRequest.php 5.3 KB

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