PHP Class Scalr\Stats\CostAnalytics\Entity\NotificationEntity

Since: 5.0 (29.05.2014)
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Model\AbstractEntity, implements Scalr\DataType\AccessPermissionsInterface, implements Scalr\DataType\ScopeInterface
Show file Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$accountId integer The account which is associated with the notification.
$emails string Comma separated list of the emails is allowed
$notificationType integer The type of the notification
$recipientType integer The type of the recipient
$status integer Status
$subjectId string Identifier of the CC or Project
$subjectType integer The type of the subject 1 - CC , 2 - Project
$threshold float The Threshold
$uuid string identifier (UUID)

Public Methods

Method Description
__construct ( ) Constructor
getScope ( )
hasAccessPermissions ( $user, $environment = null, $modify = null )

Method Details

__construct() public method

Constructor
public __construct ( )

getScope() public method

See also: ScopeInterface::getScope()
public getScope ( )

hasAccessPermissions() public method

See also: AccessPermissionsInterface::hasAccessPermissions()
public hasAccessPermissions ( $user, $environment = null, $modify = null )

Property Details

$accountId public property

The account which is associated with the notification.
public int $accountId
return integer

$emails public property

Comma separated list of the emails is allowed
public string $emails
return string

$notificationType public property

The type of the notification
public int $notificationType
return integer

$recipientType public property

The type of the recipient
public int $recipientType
return integer

$status public property

Status
public int $status
return integer

$subjectId public property

Identifier of the CC or Project
public string $subjectId
return string

$subjectType public property

The type of the subject 1 - CC , 2 - Project
public int $subjectType
return integer

$threshold public property

The Threshold
public float $threshold
return float

$uuid public property

identifier (UUID)
public string $uuid
return string