PHP 클래스 Scalr\Stats\CostAnalytics\Entity\ReportPayloadEntity

부터: 5.0
저자: Vlad Dobrovolskiy ([email protected])
상속: extends Scalr\Model\AbstractEntity
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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

공개 메소드들

메소드 설명
init ( array $data, array $payload, string | DateTim\DateTime | null $start = null ) : ReportPayloadEntity Initializes ReportPayloadEntity object

메소드 상세

init() 공개 정적인 메소드

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)
리턴 ReportPayloadEntity Returns ReportPayloadEntity object

프로퍼티 상세

$created 공개적으로 프로퍼티

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

$payload 공개적으로 프로퍼티

The payload
public string $payload
리턴 string

$secret 공개적으로 프로퍼티

Secret hash (SHA1)
public string $secret
리턴 string

$uuid 공개적으로 프로퍼티

Report identifier
public string $uuid
리턴 string