PHP Class LibCloud\Compute\Model\NodeLocation

Show file Open project: linkorb/libcloud-php

Protected Properties

Property Type Description
$country string Location coutnry
$id string Location ID
$name string Location name
$provider string Provider this location belongs to

Public Methods

Method Description
__construct ( $id, $name = null, $country = null, $provider = null )
getCountry ( ) : string
getId ( ) : string
getName ( ) : string
getProvider ( ) : string
setCountry ( string $country )
setId ( string $id )
setName ( string $name )
setProvider ( string $provider )

Method Details

__construct() public method

public __construct ( $id, $name = null, $country = null, $provider = null )

getCountry() public method

public getCountry ( ) : string
return string

getId() public method

public getId ( ) : string
return string

getName() public method

public getName ( ) : string
return string

getProvider() public method

public getProvider ( ) : string
return string

setCountry() public method

public setCountry ( string $country )
$country string

setId() public method

public setId ( string $id )
$id string

setName() public method

public setName ( string $name )
$name string

setProvider() public method

public setProvider ( string $provider )
$provider string

Property Details

$country protected property

Location coutnry
protected string $country
return string

$id protected property

Location ID
protected string $id
return string

$name protected property

Location name
protected string $name
return string

$provider protected property

Provider this location belongs to
protected string $provider
return string