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