AgentRegistrationCreatedData
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
The event payload.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $agentIdentity : AgentRegistrationCreatedDataAgentIdentity
- The agent identity for this registration.
- $createdAt : string
- The timestamp when the registration was created.
- $id : string
- Unique identifier of the agent registration.
- $kind : AgentRegistrationKind
- The kind of the registration.
- $method : AgentRegistrationCreatedDataMethod
- The authentication method of the registration.
- $object : string
- Distinguishes the agent registration object.
- $organizationId : string
- The ID of the organization the registration belongs to.
- $status : AgentRegistrationStatus
- The current status of the registration.
- $updatedAt : string
- 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 for this registration.
public
AgentRegistrationCreatedDataAgentIdentity
$agentIdentity
$createdAt
The timestamp when the registration was created.
public
string
$createdAt
$id
Unique identifier of the agent registration.
public
string
$id
$kind
The kind of the registration.
public
AgentRegistrationKind
$kind
$method
The authentication method of the registration.
public
AgentRegistrationCreatedDataMethod
$method
$object
Distinguishes the agent registration object.
public
string
$object
$organizationId
The ID of the organization the registration belongs to.
public
string
$organizationId
$status
The current status of the registration.
public
AgentRegistrationStatus
$status
$updatedAt
The timestamp when the registration was last updated.
public
string
$updatedAt
Methods
__construct()
public
__construct(string $object, string $id, AgentRegistrationCreatedDataAgentIdentity $agentIdentity, string $organizationId, AgentRegistrationStatus $status, AgentRegistrationKind $kind, AgentRegistrationCreatedDataMethod $method, string $createdAt, string $updatedAt) : mixed
Parameters
- $object : string
- $id : string
- $agentIdentity : AgentRegistrationCreatedDataAgentIdentity
- $organizationId : string
- $status : AgentRegistrationStatus
- $kind : AgentRegistrationKind
- $method : AgentRegistrationCreatedDataMethod
- $createdAt : string
- $updatedAt : string
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>