AgentInstanceSessionRevokedData
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
The event payload.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $agentInstanceId : string
- The agent instance the session belongs to.
- $createdAt : string
- The timestamp when the session was created.
- $expiresAt : string
- Timestamp when the session expires.
- $id : string
- Unique identifier of the agent instance session.
- $object : string
- Distinguishes the agent instance session object.
- $organizationId : string
- The organization the owning agent instance belongs to.
- $revokedAt : string|null
- Timestamp when the session was revoked; `null` if it has not been revoked.
- $updatedAt : string
- The timestamp when the session was last updated.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$agentInstanceId
The agent instance the session belongs to.
public
string
$agentInstanceId
$createdAt
The timestamp when the session was created.
public
string
$createdAt
$expiresAt
Timestamp when the session expires.
public
string
$expiresAt
$id
Unique identifier of the agent instance session.
public
string
$id
$object
Distinguishes the agent instance session object.
public
string
$object
$organizationId
The organization the owning agent instance belongs to.
public
string
$organizationId
$revokedAt
Timestamp when the session was revoked; `null` if it has not been revoked.
public
string|null
$revokedAt
$updatedAt
The timestamp when the session was last updated.
public
string
$updatedAt
Methods
__construct()
public
__construct(string $object, string $id, string $agentInstanceId, string $organizationId, string $expiresAt, string|null $revokedAt, string $createdAt, string $updatedAt) : mixed
Parameters
- $object : string
- $id : string
- $agentInstanceId : string
- $organizationId : string
- $expiresAt : string
- $revokedAt : string|null
- $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>