BMPlan
extends Model
in package
Holds bare metal plan information.
Table of Contents
Properties
- $bandwidth : int
- $cpuCount : int
- $cpuModel : string
- $cpuThreads : int
- $disk : int
- $diskCount : int
- $id : string
- $locations : array<string|int, mixed>
- $monthlyCost : float
- $ram : int
- $type : string
Methods
- getBandwidth() : int
- getCpuCount() : int
- getCpuModel() : string
- getCpuThreads() : int
- getDisk() : int
- getDiskCount() : int
- getId() : string
- getLocations() : array<string|int, mixed>
- getMonthlyCost() : float
- getRam() : int
- getResponseListName() : string
- getType() : string
- setBandwidth() : void
- setCpuCount() : void
- setCpuModel() : void
- setCpuThreads() : void
- setDisk() : void
- setDiskCount() : void
- setId() : void
- setLocations() : void
- setMonthlyCost() : void
- setRam() : void
- setType() : void
Properties
$bandwidth
protected
int
$bandwidth
$cpuCount
protected
int
$cpuCount
$cpuModel
protected
string
$cpuModel
$cpuThreads
protected
int
$cpuThreads
$disk
protected
int
$disk
$diskCount
protected
int
$diskCount
$id
protected
string
$id
$locations
protected
array<string|int, mixed>
$locations
$monthlyCost
protected
float
$monthlyCost
$ram
protected
int
$ram
$type
protected
string
$type
Methods
getBandwidth()
public
getBandwidth() : int
Return values
intgetCpuCount()
public
getCpuCount() : int
Return values
intgetCpuModel()
public
getCpuModel() : string
Return values
stringgetCpuThreads()
public
getCpuThreads() : int
Return values
intgetDisk()
public
getDisk() : int
Return values
intgetDiskCount()
public
getDiskCount() : int
Return values
intgetId()
public
getId() : string
Return values
stringgetLocations()
public
getLocations() : array<string|int, mixed>
Return values
array<string|int, mixed>getMonthlyCost()
public
getMonthlyCost() : float
Return values
floatgetRam()
public
getRam() : int
Return values
intgetResponseListName()
public
getResponseListName() : string
Return values
stringgetType()
public
getType() : string
Return values
stringsetBandwidth()
public
setBandwidth(int $bandwidth) : void
Parameters
- $bandwidth : int
setCpuCount()
public
setCpuCount(int $cpu) : void
Parameters
- $cpu : int
setCpuModel()
public
setCpuModel(string $cpu_model) : void
Parameters
- $cpu_model : string
setCpuThreads()
public
setCpuThreads(int $cpu_threads) : void
Parameters
- $cpu_threads : int
setDisk()
public
setDisk(int $size) : void
Parameters
- $size : int
setDiskCount()
public
setDiskCount(int $disk_count) : void
Parameters
- $disk_count : int
setId()
public
setId(string $id) : void
Parameters
- $id : string
setLocations()
public
setLocations(array<string|int, mixed> $locations) : void
Parameters
- $locations : array<string|int, mixed>
setMonthlyCost()
public
setMonthlyCost(float $monthly_cost) : void
Parameters
- $monthly_cost : float
setRam()
public
setRam(int $ram) : void
Parameters
- $ram : int
setType()
public
setType(string $type) : void
Parameters
- $type : string