days = $days; } /** * @return string[] */ public function getDays() { return $this->days; } /** * Optional. Duration of the schedule. * * @param string $duration */ public function setDuration($duration) { $this->duration = $duration; } /** * @return string */ public function getDuration() { return $this->duration; } /** * Optional. Daily end time of the schedule. If `end_time` is before * `start_time`, the schedule will be considered as ending on the next day. * * @param TimeOfDay $endTime */ public function setEndTime(TimeOfDay $endTime) { $this->endTime = $endTime; } /** * @return TimeOfDay */ public function getEndTime() { return $this->endTime; } /** * Required. Daily start time of the schedule. * * @param TimeOfDay $startTime */ public function setStartTime(TimeOfDay $startTime) { $this->startTime = $startTime; } /** * @return TimeOfDay */ public function getStartTime() { return $this->startTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(WeeklySchedule::class, 'Google_Service_CCAIPlatform_WeeklySchedule');