hours = $hours; } /** * @return int */ public function getHours() { return $this->hours; } /** * Minutes of an hour. Must be greater than or equal to 0 and less than or * equal to 59. * * @param int $minutes */ public function setMinutes($minutes) { $this->minutes = $minutes; } /** * @return int */ public function getMinutes() { return $this->minutes; } /** * Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 * and less than or equal to 999,999,999. * * @param int $nanos */ public function setNanos($nanos) { $this->nanos = $nanos; } /** * @return int */ public function getNanos() { return $this->nanos; } /** * Seconds of a minute. Must be greater than or equal to 0 and typically must * be less than or equal to 59. An API may allow the value 60 if it allows * leap-seconds. * * @param int $seconds */ public function setSeconds($seconds) { $this->seconds = $seconds; } /** * @return int */ public function getSeconds() { return $this->seconds; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TimeOfDay::class, 'Google_Service_BusinessProfilePerformance_TimeOfDay');