Sin descripción

AggregateRequest.php 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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_Fitness_AggregateRequest extends Google_Collection
  18. {
  19. protected $collection_key = 'filteredDataQualityStandard';
  20. protected $aggregateByType = 'Google_Service_Fitness_AggregateBy';
  21. protected $aggregateByDataType = 'array';
  22. protected $bucketByActivitySegmentType = 'Google_Service_Fitness_BucketByActivity';
  23. protected $bucketByActivitySegmentDataType = '';
  24. protected $bucketByActivityTypeType = 'Google_Service_Fitness_BucketByActivity';
  25. protected $bucketByActivityTypeDataType = '';
  26. protected $bucketBySessionType = 'Google_Service_Fitness_BucketBySession';
  27. protected $bucketBySessionDataType = '';
  28. protected $bucketByTimeType = 'Google_Service_Fitness_BucketByTime';
  29. protected $bucketByTimeDataType = '';
  30. public $endTimeMillis;
  31. public $filteredDataQualityStandard;
  32. public $startTimeMillis;
  33. /**
  34. * @param Google_Service_Fitness_AggregateBy
  35. */
  36. public function setAggregateBy($aggregateBy)
  37. {
  38. $this->aggregateBy = $aggregateBy;
  39. }
  40. /**
  41. * @return Google_Service_Fitness_AggregateBy
  42. */
  43. public function getAggregateBy()
  44. {
  45. return $this->aggregateBy;
  46. }
  47. /**
  48. * @param Google_Service_Fitness_BucketByActivity
  49. */
  50. public function setBucketByActivitySegment(Google_Service_Fitness_BucketByActivity $bucketByActivitySegment)
  51. {
  52. $this->bucketByActivitySegment = $bucketByActivitySegment;
  53. }
  54. /**
  55. * @return Google_Service_Fitness_BucketByActivity
  56. */
  57. public function getBucketByActivitySegment()
  58. {
  59. return $this->bucketByActivitySegment;
  60. }
  61. /**
  62. * @param Google_Service_Fitness_BucketByActivity
  63. */
  64. public function setBucketByActivityType(Google_Service_Fitness_BucketByActivity $bucketByActivityType)
  65. {
  66. $this->bucketByActivityType = $bucketByActivityType;
  67. }
  68. /**
  69. * @return Google_Service_Fitness_BucketByActivity
  70. */
  71. public function getBucketByActivityType()
  72. {
  73. return $this->bucketByActivityType;
  74. }
  75. /**
  76. * @param Google_Service_Fitness_BucketBySession
  77. */
  78. public function setBucketBySession(Google_Service_Fitness_BucketBySession $bucketBySession)
  79. {
  80. $this->bucketBySession = $bucketBySession;
  81. }
  82. /**
  83. * @return Google_Service_Fitness_BucketBySession
  84. */
  85. public function getBucketBySession()
  86. {
  87. return $this->bucketBySession;
  88. }
  89. /**
  90. * @param Google_Service_Fitness_BucketByTime
  91. */
  92. public function setBucketByTime(Google_Service_Fitness_BucketByTime $bucketByTime)
  93. {
  94. $this->bucketByTime = $bucketByTime;
  95. }
  96. /**
  97. * @return Google_Service_Fitness_BucketByTime
  98. */
  99. public function getBucketByTime()
  100. {
  101. return $this->bucketByTime;
  102. }
  103. public function setEndTimeMillis($endTimeMillis)
  104. {
  105. $this->endTimeMillis = $endTimeMillis;
  106. }
  107. public function getEndTimeMillis()
  108. {
  109. return $this->endTimeMillis;
  110. }
  111. public function setFilteredDataQualityStandard($filteredDataQualityStandard)
  112. {
  113. $this->filteredDataQualityStandard = $filteredDataQualityStandard;
  114. }
  115. public function getFilteredDataQualityStandard()
  116. {
  117. return $this->filteredDataQualityStandard;
  118. }
  119. public function setStartTimeMillis($startTimeMillis)
  120. {
  121. $this->startTimeMillis = $startTimeMillis;
  122. }
  123. public function getStartTimeMillis()
  124. {
  125. return $this->startTimeMillis;
  126. }
  127. }