durationMinutes = $durationMinutes; } /** * @return int */ public function getDurationMinutes() { return $this->durationMinutes; } /** * Required. Unique ID of this template. * * @param string $id */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * Optional. Maximum number of minutes after the beginning of a shift that * this event can start. * * @param int $maximumMinutesAfterShiftStart */ public function setMaximumMinutesAfterShiftStart($maximumMinutesAfterShiftStart) { $this->maximumMinutesAfterShiftStart = $maximumMinutesAfterShiftStart; } /** * @return int */ public function getMaximumMinutesAfterShiftStart() { return $this->maximumMinutesAfterShiftStart; } /** * Optional. Minimum number of minutes after the beginning of a shift that * this event can start. * * @param int $minimumMinutesAfterShiftStart */ public function setMinimumMinutesAfterShiftStart($minimumMinutesAfterShiftStart) { $this->minimumMinutesAfterShiftStart = $minimumMinutesAfterShiftStart; } /** * @return int */ public function getMinimumMinutesAfterShiftStart() { return $this->minimumMinutesAfterShiftStart; } /** * Required. The time increment (in minutes) used to generate the set of * possible event start times between `minimum_minutes_after_shift_start` and * `maximum_minutes_after_shift_start`. For example, if the minimum minutes * after shift start are 30, maximum minutes after shift start are 45, and the * start time increment is 5 minutes, the event can take place 30, 35, 40, or * 45 minutes after the start of the shift. * * @param int $startTimeIncrementMinutes */ public function setStartTimeIncrementMinutes($startTimeIncrementMinutes) { $this->startTimeIncrementMinutes = $startTimeIncrementMinutes; } /** * @return int */ public function getStartTimeIncrementMinutes() { return $this->startTimeIncrementMinutes; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(EventTemplate::class, 'Google_Service_CCAIPlatform_EventTemplate');