Instance
extends Model
in package
Holds vps instance information.
Table of Contents
Properties
- $allowedBandwidth : int
- $appId : int
- $dateCreated : string
- $defaultPassword : string|null
- $disk : int
- $features : array<string|int, mixed>
- $firewallGroupId : string
- $gatewayV4 : string
- $hostname : string
- $id : string
- $imageId : string
- $internalIp : string
- $kvm : string
- $label : string
- $mainIp : string
- $netmaskV4 : string
- $os : string
- $osId : int
- $plan : string
- $powerStatus : string
- $ram : int
- $region : string
- $serverStatus : string
- $status : string
- $tags : array<string|int, mixed>
- $v6MainIp : string
- $v6Network : string
- $v6NetworkSize : int
- $vcpuCount : int
Methods
- getAllowedBandwidth() : int
- getAppId() : int
- getDateCreated() : string
- getDefaultPassword() : string|null
- getDisk() : int
- getFeatures() : array<string|int, mixed>
- getFirewallGroupId() : string
- getGatewayV4() : string
- getHostname() : string
- getId() : string
- getImageId() : string
- getInternalIp() : string
- getKvm() : string
- getLabel() : string
- getMainIp() : string
- getNetmaskV4() : string
- getOs() : string
- getOsId() : int
- getPlan() : string
- getPowerStatus() : string
- getRam() : int
- getRegion() : string
- getServerStatus() : string
- getStatus() : string
- getTags() : array<string|int, mixed>
- getV6MainIp() : string
- getV6Network() : string
- getV6NetworkSize() : int
- getVcpuCount() : int
- setAllowedBandwidth() : void
- setAppId() : void
- setDateCreated() : void
- setDefaultPassword() : void
- setDisk() : void
- setFeatures() : void
- setFirewallGroupId() : void
- setGatewayV4() : void
- setHostname() : void
- setId() : void
- setImageId() : void
- setInternalIp() : void
- setKvm() : void
- setLabel() : void
- setMainIp() : void
- setNetmaskV4() : void
- setOs() : void
- setOsId() : void
- setPlan() : void
- setPowerStatus() : void
- setRam() : void
- setRegion() : void
- setServerStatus() : void
- setStatus() : void
- setTags() : void
- setV6MainIp() : void
- setV6Network() : void
- setV6NetworkSize() : void
- setVcpuCount() : void
Properties
$allowedBandwidth
protected
int
$allowedBandwidth
$appId
protected
int
$appId
$dateCreated
protected
string
$dateCreated
$defaultPassword
protected
string|null
$defaultPassword
= null
$disk
protected
int
$disk
$features
protected
array<string|int, mixed>
$features
$firewallGroupId
protected
string
$firewallGroupId
$gatewayV4
protected
string
$gatewayV4
$hostname
protected
string
$hostname
$id
protected
string
$id
$imageId
protected
string
$imageId
$internalIp
protected
string
$internalIp
$kvm
protected
string
$kvm
$label
protected
string
$label
$mainIp
protected
string
$mainIp
$netmaskV4
protected
string
$netmaskV4
$os
protected
string
$os
$osId
protected
int
$osId
$plan
protected
string
$plan
$powerStatus
protected
string
$powerStatus
$ram
protected
int
$ram
$region
protected
string
$region
$serverStatus
protected
string
$serverStatus
$status
protected
string
$status
$tags
protected
array<string|int, mixed>
$tags
$v6MainIp
protected
string
$v6MainIp
$v6Network
protected
string
$v6Network
$v6NetworkSize
protected
int
$v6NetworkSize
$vcpuCount
protected
int
$vcpuCount
Methods
getAllowedBandwidth()
public
getAllowedBandwidth() : int
Return values
intgetAppId()
public
getAppId() : int
Return values
intgetDateCreated()
public
getDateCreated() : string
Return values
stringgetDefaultPassword()
public
getDefaultPassword() : string|null
Return values
string|nullgetDisk()
public
getDisk() : int
Return values
intgetFeatures()
public
getFeatures() : array<string|int, mixed>
Return values
array<string|int, mixed>getFirewallGroupId()
public
getFirewallGroupId() : string
Return values
stringgetGatewayV4()
public
getGatewayV4() : string
Return values
stringgetHostname()
public
getHostname() : string
Return values
stringgetId()
public
getId() : string
Return values
stringgetImageId()
public
getImageId() : string
Return values
stringgetInternalIp()
public
getInternalIp() : string
Return values
stringgetKvm()
public
getKvm() : string
Return values
stringgetLabel()
public
getLabel() : string
Return values
stringgetMainIp()
public
getMainIp() : string
Return values
stringgetNetmaskV4()
public
getNetmaskV4() : string
Return values
stringgetOs()
public
getOs() : string
Return values
stringgetOsId()
public
getOsId() : int
Return values
intgetPlan()
public
getPlan() : string
Return values
stringgetPowerStatus()
public
getPowerStatus() : string
Return values
stringgetRam()
public
getRam() : int
Return values
intgetRegion()
public
getRegion() : string
Return values
stringgetServerStatus()
public
getServerStatus() : string
Return values
stringgetStatus()
public
getStatus() : string
Return values
stringgetTags()
public
getTags() : array<string|int, mixed>
Return values
array<string|int, mixed>getV6MainIp()
public
getV6MainIp() : string
Return values
stringgetV6Network()
public
getV6Network() : string
Return values
stringgetV6NetworkSize()
public
getV6NetworkSize() : int
Return values
intgetVcpuCount()
public
getVcpuCount() : int
Return values
intsetAllowedBandwidth()
public
setAllowedBandwidth(int $allowed_bandwidth) : void
Parameters
- $allowed_bandwidth : int
setAppId()
public
setAppId(int $app_id) : void
Parameters
- $app_id : int
setDateCreated()
public
setDateCreated(string $date_created) : void
Parameters
- $date_created : string
setDefaultPassword()
public
setDefaultPassword(string $default_password) : void
Parameters
- $default_password : string
setDisk()
public
setDisk(int $disk) : void
Parameters
- $disk : int
setFeatures()
public
setFeatures(array<string|int, mixed> $features) : void
Parameters
- $features : array<string|int, mixed>
setFirewallGroupId()
public
setFirewallGroupId(string $firewall_group_id) : void
Parameters
- $firewall_group_id : string
setGatewayV4()
public
setGatewayV4(string $gateway_v4) : void
Parameters
- $gateway_v4 : string
setHostname()
public
setHostname(string $hostname) : void
Parameters
- $hostname : string
setId()
public
setId(string $id) : void
Parameters
- $id : string
setImageId()
public
setImageId(string $image_id) : void
Parameters
- $image_id : string
setInternalIp()
public
setInternalIp(string $internal_ip) : void
Parameters
- $internal_ip : string
setKvm()
public
setKvm(string $kvm) : void
Parameters
- $kvm : string
setLabel()
public
setLabel(string $label) : void
Parameters
- $label : string
setMainIp()
public
setMainIp(string $main_ip) : void
Parameters
- $main_ip : string
setNetmaskV4()
public
setNetmaskV4(string $netmask_v4) : void
Parameters
- $netmask_v4 : string
setOs()
public
setOs(string $os) : void
Parameters
- $os : string
setOsId()
public
setOsId(int $os_id) : void
Parameters
- $os_id : int
setPlan()
public
setPlan(string $plan) : void
Parameters
- $plan : string
setPowerStatus()
public
setPowerStatus(string $power_status) : void
Parameters
- $power_status : string
setRam()
public
setRam(int $ram) : void
Parameters
- $ram : int
setRegion()
public
setRegion(string $region) : void
Parameters
- $region : string
setServerStatus()
public
setServerStatus(string $server_status) : void
Parameters
- $server_status : string
setStatus()
public
setStatus(string $status) : void
Parameters
- $status : string
setTags()
public
setTags(array<string|int, mixed> $tags) : void
Parameters
- $tags : array<string|int, mixed>
setV6MainIp()
public
setV6MainIp(string $v6_main_ip) : void
Parameters
- $v6_main_ip : string
setV6Network()
public
setV6Network(string $v6_network) : void
Parameters
- $v6_network : string
setV6NetworkSize()
public
setV6NetworkSize(int $v6_network_size) : void
Parameters
- $v6_network_size : int
setVcpuCount()
public
setVcpuCount(int $vcpu_count) : void
Parameters
- $vcpu_count : int