ConnectionDeactivatedData
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
The event payload.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $connectionType : ConnectionDeletedDataConnectionType
- The type of the connection.
- $createdAt : DateTimeImmutable
- An ISO 8601 timestamp.
- $domains : array<string|int, ConnectionDeactivatedDataDomain>
- The domains associated with the connection.
- $externalKey : string
- The external key of the connection.
- $id : string
- Unique identifier of the connection.
- $name : string
- The name of the connection.
- $object : string
- Distinguishes the connection object.
- $organizationId : string|null
- The ID of the organization the connection belongs to.
- $state : ConnectionDeletedDataState
- The current state of the connection.
- $status : ConnectionStatus
- Deprecated. Use state instead.
- $updatedAt : DateTimeImmutable
- An ISO 8601 timestamp.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$connectionType
The type of the connection.
public
ConnectionDeletedDataConnectionType
$connectionType
$createdAt
An ISO 8601 timestamp.
public
DateTimeImmutable
$createdAt
$domains
The domains associated with the connection.
public
array<string|int, ConnectionDeactivatedDataDomain>
$domains
$externalKey
The external key of the connection.
public
string
$externalKey
$id
Unique identifier of the connection.
public
string
$id
$name
The name of the connection.
public
string
$name
$object
Distinguishes the connection object.
public
string
$object
$organizationId
The ID of the organization the connection belongs to.
public
string|null
$organizationId
= null
$state
The current state of the connection.
public
ConnectionDeletedDataState
$state
$status
Deprecated. Use state instead.
public
ConnectionStatus
$status
$updatedAt
An ISO 8601 timestamp.
public
DateTimeImmutable
$updatedAt
Methods
__construct()
public
__construct(string $object, string $id, ConnectionDeletedDataState $state, string $name, ConnectionDeletedDataConnectionType $connectionType, DateTimeImmutable $createdAt, DateTimeImmutable $updatedAt, string $externalKey, ConnectionStatus $status, array<string|int, mixed> $domains[, string|null $organizationId = null ]) : mixed
Parameters
- $object : string
- $id : string
- $state : ConnectionDeletedDataState
- $name : string
- $connectionType : ConnectionDeletedDataConnectionType
- $createdAt : DateTimeImmutable
- $updatedAt : DateTimeImmutable
- $externalKey : string
- $status : ConnectionStatus
- $domains : array<string|int, mixed>
- $organizationId : string|null = null
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>