PHP Class LibCloud\Compute\Model\NodeSize

Afficher le fichier Open project: linkorb/libcloud-php Class Usage Examples

Protected Properties

Свойство Type Description
$bandwidth integer Amount of bandiwdth included with this size
$disk integer Amount of disk storage (in GB) provided by this image
$extra array Optional provider specific attributes associated with
$id string Size ID
$name string Size name
$price float Price (in US dollars) of running this node for an hour
$provider string Driver this size belongs to
$ram integer Amount of memory (in MB) provided by this size

Méthodes publiques

Méthode Description
__construct ( $id, $name = null, $ram = null, $disk = null, $bandwidth = null, $price = null, $provider = null, $extra = [] )
getBandwidth ( ) : integer
getDisk ( ) : integer
getExtra ( ) : array
getId ( ) : string
getName ( ) : string
getPrice ( ) : float
getProvider ( ) : string
getRam ( ) : integer
setBandwidth ( integer $bandwidth )
setDisk ( integer $disk )
setExtra ( array $extra )
setId ( string $id )
setName ( string $name )
setPrice ( float $price )
setProvider ( string $provider )
setRam ( integer $ram )

Method Details

__construct() public méthode

public __construct ( $id, $name = null, $ram = null, $disk = null, $bandwidth = null, $price = null, $provider = null, $extra = [] )

getBandwidth() public méthode

public getBandwidth ( ) : integer
Résultat integer

getDisk() public méthode

public getDisk ( ) : integer
Résultat integer

getExtra() public méthode

public getExtra ( ) : array
Résultat array

getId() public méthode

public getId ( ) : string
Résultat string

getName() public méthode

public getName ( ) : string
Résultat string

getPrice() public méthode

public getPrice ( ) : float
Résultat float

getProvider() public méthode

public getProvider ( ) : string
Résultat string

getRam() public méthode

public getRam ( ) : integer
Résultat integer

setBandwidth() public méthode

public setBandwidth ( integer $bandwidth )
$bandwidth integer

setDisk() public méthode

public setDisk ( integer $disk )
$disk integer

setExtra() public méthode

public setExtra ( array $extra )
$extra array

setId() public méthode

public setId ( string $id )
$id string

setName() public méthode

public setName ( string $name )
$name string

setPrice() public méthode

public setPrice ( float $price )
$price float

setProvider() public méthode

public setProvider ( string $provider )
$provider string

setRam() public méthode

public setRam ( integer $ram )
$ram integer

Property Details

$bandwidth protected_oe property

Amount of bandiwdth included with this size
protected int $bandwidth
Résultat integer

$disk protected_oe property

Amount of disk storage (in GB) provided by this image
protected int $disk
Résultat integer

$extra protected_oe property

Optional provider specific attributes associated with
protected array $extra
Résultat array

$id protected_oe property

Size ID
protected string $id
Résultat string

$name protected_oe property

Size name
protected string $name
Résultat string

$price protected_oe property

Price (in US dollars) of running this node for an hour
protected float $price
Résultat float

$provider protected_oe property

Driver this size belongs to
protected string $provider
Résultat string

$ram protected_oe property

Amount of memory (in MB) provided by this size
protected int $ram
Résultat integer