ApiKeyUpdatedDataPreviousAttribute
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Previous API key attributes before the update.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $expiresAt : DateTimeImmutable|null
- The previous timestamp when the API Key expired. Null means the key did not expire.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$expiresAt
The previous timestamp when the API Key expired. Null means the key did not expire.
public
DateTimeImmutable|null
$expiresAt
Methods
__construct()
public
__construct(DateTimeImmutable|null $expiresAt) : mixed
Parameters
- $expiresAt : DateTimeImmutable|null
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>