JobWebhook
in package
JobWebhook information.
Table of Contents
Properties
- $createdAt : DateTime|null
- $error : ErrorResponse|null
- $id : string
- $status : string
Methods
- __construct() : mixed
- parseDate() : DateTime|null
- Parse a date string into a DateTime object.
Properties
$createdAt
public
DateTime|null
$createdAt
Created at date.
$error
public
ErrorResponse|null
$error
Error response, if any.
$id
public
string
$id
JobWebhook ID.
$status
public
string
$status
Status of the webhook.
Methods
__construct()
public
__construct(array<string|int, mixed> $serverResponse) : mixed
Parameters
- $serverResponse : array<string|int, mixed>
-
Raw server response array.
parseDate()
Parse a date string into a DateTime object.
private
parseDate(string|null $dateString) : DateTime|null
Parameters
- $dateString : string|null
-
Date string to parse.