AgentRegistrationClaim
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $claimCompletion : AgentRegistrationClaimClaimCompletion|null
- The completion record for the claim, or `null` if the claim has not been completed.
- $createdAt : DateTimeImmutable
- The timestamp when the claim was created.
- $expiresAt : DateTimeImmutable
- The timestamp when the claim expires.
- $id : string
- Unique identifier of the claim.
- $updatedAt : DateTimeImmutable
- The timestamp when the claim was last updated.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$claimCompletion
The completion record for the claim, or `null` if the claim has not been completed.
public
AgentRegistrationClaimClaimCompletion|null
$claimCompletion
$createdAt
The timestamp when the claim was created.
public
DateTimeImmutable
$createdAt
$expiresAt
The timestamp when the claim expires.
public
DateTimeImmutable
$expiresAt
$id
Unique identifier of the claim.
public
string
$id
$updatedAt
The timestamp when the claim was last updated.
public
DateTimeImmutable
$updatedAt
Methods
__construct()
public
__construct(string $id, AgentRegistrationClaimClaimCompletion|null $claimCompletion, DateTimeImmutable $createdAt, DateTimeImmutable $updatedAt, DateTimeImmutable $expiresAt) : mixed
Parameters
- $id : string
- $claimCompletion : AgentRegistrationClaimClaimCompletion|null
- $createdAt : DateTimeImmutable
- $updatedAt : DateTimeImmutable
- $expiresAt : DateTimeImmutable
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>