AgentRegistrationAgentIdentity
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
The agent identity associated with this registration.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $createdAt : DateTimeImmutable
- The timestamp when the agent identity was created.
- $id : string
- Unique identifier of the agent identity.
- $updatedAt : DateTimeImmutable
- The timestamp when the agent identity was last updated.
- $userlandUserId : string|null
- Identifier of the AuthKit user the agent identity is bound to, or `null` when the agent is not associated with a user.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$createdAt
The timestamp when the agent identity was created.
public
DateTimeImmutable
$createdAt
$id
Unique identifier of the agent identity.
public
string
$id
$updatedAt
The timestamp when the agent identity was last updated.
public
DateTimeImmutable
$updatedAt
$userlandUserId
Identifier of the AuthKit user the agent identity is bound to, or `null` when the agent is not associated with a user.
public
string|null
$userlandUserId
Methods
__construct()
public
__construct(string $id, string|null $userlandUserId, DateTimeImmutable $createdAt, DateTimeImmutable $updatedAt) : mixed
Parameters
- $id : string
- $userlandUserId : string|null
- $createdAt : DateTimeImmutable
- $updatedAt : 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>