WorkOS PHP SDK

AgentRegistrationClaimCompletedData
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

The event payload.

Table of Contents

Interfaces

JsonSerializable

Properties

$agentRegistrationId  : string
The ID of the agent registration.
$claimedBy  : AgentRegistrationClaimCompletedDataClaimedBy
The user who completed the claim.
$completedAt  : string
The timestamp when the claim was completed.
$completedByAttemptId  : string
The ID of the claim attempt that completed the claim.
$createdAt  : string
The timestamp when the claim was created.
$id  : string
Unique identifier of the agent registration claim.
$object  : string
Distinguishes the agent registration claim object.
$organizationId  : string|null
The ID of the organization the registration belongs to.
$updatedAt  : string
The timestamp when the claim was last updated.

Methods

__construct()  : mixed
fromArray()  : self
jsonSerialize()  : array<string|int, mixed>|stdClass
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(string $object, string $id, string $agentRegistrationId, string $completedByAttemptId, AgentRegistrationClaimCompletedDataClaimedBy $claimedBy, string $completedAt, string $createdAt, string $updatedAt[, string|null $organizationId = null ]) : mixed
Parameters
$object : string
$id : string
$agentRegistrationId : string
$completedByAttemptId : string
$claimedBy : AgentRegistrationClaimCompletedDataClaimedBy
$completedAt : string
$createdAt : string
$updatedAt : string
$organizationId : string|null = null

jsonSerialize()

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

Search results