PHP Class Scalr\Stats\CostAnalytics\Entity\UsageTypeEntity

Since: 5.5 (19.05.2015)
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Model\AbstractEntity
ファイルを表示 Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$costDistrType integer Cost distribution type
$displayName string It is used to override the name for displaying purposes
$id string Unique identifier of the Usage Type
$name string The name of the Usage Type

Public Methods

Method Description
getDisplayName ( ) : string Gets display name of the Usage Type
getUsageItems ( string $ignoreCache = false ) : EntityIterator Gets Usage Items which correspond to the Usage Type

Method Details

getDisplayName() public method

Gets display name of the Usage Type
public getDisplayName ( ) : string
return string

getUsageItems() public method

Gets Usage Items which correspond to the Usage Type
public getUsageItems ( string $ignoreCache = false ) : EntityIterator
$ignoreCache string optional Whether it should ignore cache
return Scalr\Model\Collections\EntityIterator Returns entity iterator of the Usage Items which corresponds to the Usate Type

Property Details

$costDistrType public_oe property

Cost distribution type
public int $costDistrType
return integer

$displayName public_oe property

It is used to override the name for displaying purposes
public string $displayName
return string

$id public_oe property

Unique identifier of the Usage Type
public string $id
return string

$name public_oe property

The name of the Usage Type
public string $name
return string