durationMillis = $durationMillis; } /** * @return string */ public function getDurationMillis() { return $this->durationMillis; } /** * @param BucketByTimePeriod */ public function setPeriod(BucketByTimePeriod $period) { $this->period = $period; } /** * @return BucketByTimePeriod */ public function getPeriod() { return $this->period; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(BucketByTime::class, 'Google_Service_Fitness_BucketByTime');