Files
pterodactyl-panel/app/Models/Objects/DeploymentObject.php
T

49 lines
811 B
PHP
Raw Normal View History

2018-01-28 17:14:14 -06:00
<?php
namespace Pterodactyl\Models\Objects;
class DeploymentObject
{
2022-10-14 10:59:20 -06:00
private bool $dedicated = false;
2018-01-28 17:14:14 -06:00
2022-10-14 10:59:20 -06:00
private array $locations = [];
2018-01-28 17:14:14 -06:00
2022-10-14 10:59:20 -06:00
private array $ports = [];
2018-01-28 17:14:14 -06:00
public function isDedicated(): bool
{
return $this->dedicated;
}
2022-10-14 10:59:20 -06:00
public function setDedicated(bool $dedicated): self
2018-01-28 17:14:14 -06:00
{
$this->dedicated = $dedicated;
return $this;
}
public function getLocations(): array
{
return $this->locations;
}
2022-10-14 10:59:20 -06:00
public function setLocations(array $locations): self
2018-01-28 17:14:14 -06:00
{
$this->locations = $locations;
return $this;
}
public function getPorts(): array
{
return $this->ports;
}
2022-10-14 10:59:20 -06:00
public function setPorts(array $ports): self
2018-01-28 17:14:14 -06:00
{
$this->ports = $ports;
return $this;
}
}