2023-03-21 10:02:16 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Data;
|
|
|
|
|
|
|
|
use App\Enums\ActivityTypes;
|
|
|
|
use App\Enums\ProcessStatus;
|
|
|
|
use Spatie\LaravelData\Data;
|
|
|
|
|
|
|
|
class RemoteProcessArgs extends Data
|
|
|
|
{
|
|
|
|
public function __construct(
|
2023-03-21 10:32:38 +00:00
|
|
|
public string $destination,
|
2023-03-24 21:15:36 +00:00
|
|
|
public string $private_key_location,
|
2023-03-21 10:32:38 +00:00
|
|
|
public string $command,
|
|
|
|
public int $port,
|
|
|
|
public string $user,
|
|
|
|
public string $type = ActivityTypes::COOLIFY_PROCESS->value,
|
|
|
|
public string $status = ProcessStatus::HOLDING->value,
|
2023-03-21 10:02:16 +00:00
|
|
|
){}
|
|
|
|
}
|