cbcf62086f
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
48 lines
811 B
PHP
48 lines
811 B
PHP
<?php
|
|
|
|
namespace Pterodactyl\Models\Objects;
|
|
|
|
class DeploymentObject
|
|
{
|
|
private bool $dedicated = false;
|
|
|
|
private array $locations = [];
|
|
|
|
private array $ports = [];
|
|
|
|
public function isDedicated(): bool
|
|
{
|
|
return $this->dedicated;
|
|
}
|
|
|
|
public function setDedicated(bool $dedicated): self
|
|
{
|
|
$this->dedicated = $dedicated;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getLocations(): array
|
|
{
|
|
return $this->locations;
|
|
}
|
|
|
|
public function setLocations(array $locations): self
|
|
{
|
|
$this->locations = $locations;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getPorts(): array
|
|
{
|
|
return $this->ports;
|
|
}
|
|
|
|
public function setPorts(array $ports): self
|
|
{
|
|
$this->ports = $ports;
|
|
|
|
return $this;
|
|
}
|
|
}
|