2020-10-15 03:38:59 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Requests\Api\Client\Servers\Schedules;
|
|
|
|
|
|
|
|
use Pterodactyl\Models\Permission;
|
2020-10-15 04:06:27 +00:00
|
|
|
use Pterodactyl\Http\Requests\Api\Client\ClientApiRequest;
|
2020-10-15 03:38:59 +00:00
|
|
|
|
2020-10-15 04:06:27 +00:00
|
|
|
class TriggerScheduleRequest extends ClientApiRequest
|
2020-10-15 03:38:59 +00:00
|
|
|
{
|
|
|
|
public function permission(): string
|
|
|
|
{
|
|
|
|
return Permission::ACTION_SCHEDULE_UPDATE;
|
|
|
|
}
|
|
|
|
|
2020-10-15 04:06:27 +00:00
|
|
|
public function rules(): array
|
2020-10-15 03:38:59 +00:00
|
|
|
{
|
|
|
|
return [];
|
|
|
|
}
|
|
|
|
}
|