PipesConnectedAccountConnectionFailedData
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
The event payload.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $createdAt : DateTimeImmutable
- An ISO 8601 timestamp.
- $dataIntegrationId : string
- The unique ID of the data integration.
- $errorCode : string
- A machine-readable error code for the failure.
- $errorReason : string|null
- A human-readable explanation of the failure.
- $object : string
- The object type.
- $organizationId : string|null
- The ID of the Organization the connection attempt belongs to.
- $providerError : string|null
- The raw error code returned by the OAuth provider.
- $providerErrorDescription : string|null
- The raw error description returned by the OAuth provider.
- $providerSlug : string
- The provider slug for this connection attempt.
- $userId : string|null
- The ID of the User the connection attempt belongs to.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$createdAt
An ISO 8601 timestamp.
public
DateTimeImmutable
$createdAt
$dataIntegrationId
The unique ID of the data integration.
public
string
$dataIntegrationId
$errorCode
A machine-readable error code for the failure.
public
string
$errorCode
$errorReason
A human-readable explanation of the failure.
public
string|null
$errorReason
$object
The object type.
public
string
$object
$organizationId
The ID of the Organization the connection attempt belongs to.
public
string|null
$organizationId
$providerError
The raw error code returned by the OAuth provider.
public
string|null
$providerError
$providerErrorDescription
The raw error description returned by the OAuth provider.
public
string|null
$providerErrorDescription
$providerSlug
The provider slug for this connection attempt.
public
string
$providerSlug
$userId
The ID of the User the connection attempt belongs to.
public
string|null
$userId
Methods
__construct()
public
__construct(string $object, string $dataIntegrationId, string $providerSlug, string|null $userId, string|null $organizationId, string $errorCode, string|null $errorReason, string|null $providerError, string|null $providerErrorDescription, DateTimeImmutable $createdAt) : mixed
Parameters
- $object : string
- $dataIntegrationId : string
- $providerSlug : string
- $userId : string|null
- $organizationId : string|null
- $errorCode : string
- $errorReason : string|null
- $providerError : string|null
- $providerErrorDescription : string|null
- $createdAt : DateTimeImmutable
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>