WorkOS PHP SDK

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

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
self

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
On this page

Search results