PHP Class Scalr\Stats\CostAnalytics\Entity\UsageTypeEntity

Since: 5.5 (19.05.2015)
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Model\AbstractEntity
Afficher le fichier Open project: scalr/scalr Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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 méthode

Gets display name of the Usage Type
public getDisplayName ( ) : string
Résultat string

getUsageItems() public méthode

Gets Usage Items which correspond to the Usage Type
public getUsageItems ( string $ignoreCache = false ) : EntityIterator
$ignoreCache string optional Whether it should ignore cache
Résultat 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
Résultat integer

$displayName public_oe property

It is used to override the name for displaying purposes
public string $displayName
Résultat string

$id public_oe property

Unique identifier of the Usage Type
public string $id
Résultat string

$name public_oe property

The name of the Usage Type
public string $name
Résultat string