AgentRegistration
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $agentIdentity : AgentRegistrationAgentIdentity
- The agent identity associated with this registration.
- $claim : AgentRegistrationClaim|null
- The claim associated with this registration, or `null` if the registration has no claim.
- $createdAt : DateTimeImmutable
- The timestamp when the registration was created.
- $id : string
- Unique identifier of the agent registration.
- $kind : AgentRegistrationKind
- The kind of agent registration.
- $organizationId : string
- Identifier of the organization the agent is registered to.
- $status : AgentRegistrationStatus
- The current verification status of the registration.
- $updatedAt : DateTimeImmutable
- The timestamp when the registration was last updated.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$agentIdentity
The agent identity associated with this registration.
public
AgentRegistrationAgentIdentity
$agentIdentity
$claim
The claim associated with this registration, or `null` if the registration has no claim.
public
AgentRegistrationClaim|null
$claim
$createdAt
The timestamp when the registration was created.
public
DateTimeImmutable
$createdAt
$id
Unique identifier of the agent registration.
public
string
$id
$kind
The kind of agent registration.
public
AgentRegistrationKind
$kind
$organizationId
Identifier of the organization the agent is registered to.
public
string
$organizationId
$status
The current verification status of the registration.
public
AgentRegistrationStatus
$status
$updatedAt
The timestamp when the registration was last updated.
public
DateTimeImmutable
$updatedAt
Methods
__construct()
public
__construct(string $id, AgentRegistrationAgentIdentity $agentIdentity, string $organizationId, AgentRegistrationStatus $status, AgentRegistrationKind $kind, AgentRegistrationClaim|null $claim, DateTimeImmutable $createdAt, DateTimeImmutable $updatedAt) : mixed
Parameters
- $id : string
- $agentIdentity : AgentRegistrationAgentIdentity
- $organizationId : string
- $status : AgentRegistrationStatus
- $kind : AgentRegistrationKind
- $claim : AgentRegistrationClaim|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>