activity = $activity; } /** * @return int */ public function getActivity() { return $this->activity; } /** * @param Dataset[] */ public function setDataset($dataset) { $this->dataset = $dataset; } /** * @return Dataset[] */ public function getDataset() { return $this->dataset; } /** * @param string */ public function setEndTimeMillis($endTimeMillis) { $this->endTimeMillis = $endTimeMillis; } /** * @return string */ public function getEndTimeMillis() { return $this->endTimeMillis; } /** * @param Session */ public function setSession(Session $session) { $this->session = $session; } /** * @return Session */ public function getSession() { return $this->session; } /** * @param string */ public function setStartTimeMillis($startTimeMillis) { $this->startTimeMillis = $startTimeMillis; } /** * @return string */ public function getStartTimeMillis() { return $this->startTimeMillis; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AggregateBucket::class, 'Google_Service_Fitness_AggregateBucket');