BlockStorage
extends Model
in package
Holds block storage device information.
Table of Contents
Properties
- $attachedToInstance : string
- $blockType : string
- $cost : float
- $dateCreated : string
- $id : string
- $label : string
- $mountId : string
- $region : string
- $sizeGb : int
- $status : string
Methods
- getAttachedToInstance() : string
- getBlockType() : string
- getCost() : float
- getDateCreated() : string
- getId() : string
- getLabel() : string
- getMountId() : string
- getRegion() : string
- getResponseName() : string
- getSizeGb() : int
- getStatus() : string
- getUpdateParams() : array<string|int, mixed>
- setAttachedToInstance() : void
- setBlockType() : void
- setCost() : void
- setDateCreated() : void
- setId() : void
- setLabel() : void
- setMountId() : void
- setRegion() : void
- setSizeGb() : void
- setStatus() : void
Properties
$attachedToInstance
protected
string
$attachedToInstance
$blockType
protected
string
$blockType
$cost
protected
float
$cost
$dateCreated
protected
string
$dateCreated
$id
protected
string
$id
$label
protected
string
$label
$mountId
protected
string
$mountId
$region
protected
string
$region
$sizeGb
protected
int
$sizeGb
$status
protected
string
$status
Methods
getAttachedToInstance()
public
getAttachedToInstance() : string
Return values
stringgetBlockType()
public
getBlockType() : string
Return values
stringgetCost()
public
getCost() : float
Return values
floatgetDateCreated()
public
getDateCreated() : string
Return values
stringgetId()
public
getId() : string
Return values
stringgetLabel()
public
getLabel() : string
Return values
stringgetMountId()
public
getMountId() : string
Return values
stringgetRegion()
public
getRegion() : string
Return values
stringgetResponseName()
public
getResponseName() : string
Return values
stringgetSizeGb()
public
getSizeGb() : int
Return values
intgetStatus()
public
getStatus() : string
Return values
stringgetUpdateParams()
public
getUpdateParams() : array<string|int, mixed>
Return values
array<string|int, mixed>setAttachedToInstance()
public
setAttachedToInstance(string $attached_to_instance) : void
Parameters
- $attached_to_instance : string
setBlockType()
public
setBlockType(string $block_type) : void
Parameters
- $block_type : string
setCost()
public
setCost(float $cost) : void
Parameters
- $cost : float
setDateCreated()
public
setDateCreated(string $date_created) : void
Parameters
- $date_created : string
setId()
public
setId(string $id) : void
Parameters
- $id : string
setLabel()
public
setLabel(string $label) : void
Parameters
- $label : string
setMountId()
public
setMountId(string $mount_id) : void
Parameters
- $mount_id : string
setRegion()
public
setRegion(string $region) : void
Parameters
- $region : string
setSizeGb()
public
setSizeGb(int $size_gb) : void
Parameters
- $size_gb : int
setStatus()
public
setStatus(string $status) : void
Parameters
- $status : string