설명 없음

GaDataQuery.php 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. class Google_Service_Analytics_GaDataQuery extends Google_Collection
  18. {
  19. protected $collection_key = 'sort';
  20. protected $internal_gapi_mappings = array(
  21. "endDate" => "end-date",
  22. "maxResults" => "max-results",
  23. "startDate" => "start-date",
  24. "startIndex" => "start-index",
  25. );
  26. public $dimensions;
  27. public $endDate;
  28. public $filters;
  29. public $ids;
  30. public $maxResults;
  31. public $metrics;
  32. public $samplingLevel;
  33. public $segment;
  34. public $sort;
  35. public $startDate;
  36. public $startIndex;
  37. public function setDimensions($dimensions)
  38. {
  39. $this->dimensions = $dimensions;
  40. }
  41. public function getDimensions()
  42. {
  43. return $this->dimensions;
  44. }
  45. public function setEndDate($endDate)
  46. {
  47. $this->endDate = $endDate;
  48. }
  49. public function getEndDate()
  50. {
  51. return $this->endDate;
  52. }
  53. public function setFilters($filters)
  54. {
  55. $this->filters = $filters;
  56. }
  57. public function getFilters()
  58. {
  59. return $this->filters;
  60. }
  61. public function setIds($ids)
  62. {
  63. $this->ids = $ids;
  64. }
  65. public function getIds()
  66. {
  67. return $this->ids;
  68. }
  69. public function setMaxResults($maxResults)
  70. {
  71. $this->maxResults = $maxResults;
  72. }
  73. public function getMaxResults()
  74. {
  75. return $this->maxResults;
  76. }
  77. public function setMetrics($metrics)
  78. {
  79. $this->metrics = $metrics;
  80. }
  81. public function getMetrics()
  82. {
  83. return $this->metrics;
  84. }
  85. public function setSamplingLevel($samplingLevel)
  86. {
  87. $this->samplingLevel = $samplingLevel;
  88. }
  89. public function getSamplingLevel()
  90. {
  91. return $this->samplingLevel;
  92. }
  93. public function setSegment($segment)
  94. {
  95. $this->segment = $segment;
  96. }
  97. public function getSegment()
  98. {
  99. return $this->segment;
  100. }
  101. public function setSort($sort)
  102. {
  103. $this->sort = $sort;
  104. }
  105. public function getSort()
  106. {
  107. return $this->sort;
  108. }
  109. public function setStartDate($startDate)
  110. {
  111. $this->startDate = $startDate;
  112. }
  113. public function getStartDate()
  114. {
  115. return $this->startDate;
  116. }
  117. public function setStartIndex($startIndex)
  118. {
  119. $this->startIndex = $startIndex;
  120. }
  121. public function getStartIndex()
  122. {
  123. return $this->startIndex;
  124. }
  125. }