Açıklama Yok

AggregateBucket.php 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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_AggregateBucket extends Google_Collection
  18. {
  19. protected $collection_key = 'dataset';
  20. public $activity;
  21. protected $datasetType = 'Google_Service_Fitness_Dataset';
  22. protected $datasetDataType = 'array';
  23. public $endTimeMillis;
  24. protected $sessionType = 'Google_Service_Fitness_Session';
  25. protected $sessionDataType = '';
  26. public $startTimeMillis;
  27. public $type;
  28. public function setActivity($activity)
  29. {
  30. $this->activity = $activity;
  31. }
  32. public function getActivity()
  33. {
  34. return $this->activity;
  35. }
  36. /**
  37. * @param Google_Service_Fitness_Dataset
  38. */
  39. public function setDataset($dataset)
  40. {
  41. $this->dataset = $dataset;
  42. }
  43. /**
  44. * @return Google_Service_Fitness_Dataset
  45. */
  46. public function getDataset()
  47. {
  48. return $this->dataset;
  49. }
  50. public function setEndTimeMillis($endTimeMillis)
  51. {
  52. $this->endTimeMillis = $endTimeMillis;
  53. }
  54. public function getEndTimeMillis()
  55. {
  56. return $this->endTimeMillis;
  57. }
  58. /**
  59. * @param Google_Service_Fitness_Session
  60. */
  61. public function setSession(Google_Service_Fitness_Session $session)
  62. {
  63. $this->session = $session;
  64. }
  65. /**
  66. * @return Google_Service_Fitness_Session
  67. */
  68. public function getSession()
  69. {
  70. return $this->session;
  71. }
  72. public function setStartTimeMillis($startTimeMillis)
  73. {
  74. $this->startTimeMillis = $startTimeMillis;
  75. }
  76. public function getStartTimeMillis()
  77. {
  78. return $this->startTimeMillis;
  79. }
  80. public function setType($type)
  81. {
  82. $this->type = $type;
  83. }
  84. public function getType()
  85. {
  86. return $this->type;
  87. }
  88. }