PHP Class Scalr\Stats\CostAnalytics\Entity\ReportPayloadEntity

Since: 5.0
Author: Vlad Dobrovolskiy ([email protected])
Inheritance: extends Scalr\Model\AbstractEntity
Datei anzeigen Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$created DateTime The date and time Y-m-d H:00:00
$payload string The payload
$secret string Secret hash (SHA1)
$uuid string Report identifier

Public Methods

Method Description
init ( array $data, array $payload, string | DateTim\DateTime | null $start = null ) : ReportPayloadEntity Initializes ReportPayloadEntity object

Method Details

init() public static method

Initializes ReportPayloadEntity object
public static init ( array $data, array $payload, string | DateTim\DateTime | null $start = null ) : ReportPayloadEntity
$data array Data array of params for uuid (Notification type, subject type, subject id)
$payload array Payload
$start string | DateTim\DateTime | null optional Start date of the report (Y-m-d)
return ReportPayloadEntity Returns ReportPayloadEntity object

Property Details

$created public_oe property

The date and time Y-m-d H:00:00
public DateTime $created
return DateTime

$payload public_oe property

The payload
public string $payload
return string

$secret public_oe property

Secret hash (SHA1)
public string $secret
return string

$uuid public_oe property

Report identifier
public string $uuid
return string