PipeConnectedAccount
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $createdAt : DateTimeImmutable
- An ISO 8601 timestamp.
- $dataIntegrationId : string
- The unique ID of the data integration.
- $id : string
- The unique ID of the connected account.
- $object : string
- The connected account object.
- $organizationId : string|null
- The ID of the Organization the connected account belongs to.
- $providerSlug : string
- The provider slug for this connected account.
- $scopes : array<string|int, string>
- The OAuth scopes granted for this connected account.
- $state : PipeConnectedAccountState
- The state of the connected account.
- $updatedAt : DateTimeImmutable
- An ISO 8601 timestamp.
- $userId : string|null
- The ID of the User the connected account 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
$id
The unique ID of the connected account.
public
string
$id
$object
The connected account object.
public
string
$object
$organizationId
The ID of the Organization the connected account belongs to.
public
string|null
$organizationId
$providerSlug
The provider slug for this connected account.
public
string
$providerSlug
$scopes
The OAuth scopes granted for this connected account.
public
array<string|int, string>
$scopes
$state
The state of the connected account.
public
PipeConnectedAccountState
$state
$updatedAt
An ISO 8601 timestamp.
public
DateTimeImmutable
$updatedAt
$userId
The ID of the User the connected account belongs to.
public
string|null
$userId
Methods
__construct()
public
__construct(string $object, string $id, string $dataIntegrationId, string $providerSlug, string|null $userId, string|null $organizationId, array<string|int, mixed> $scopes, PipeConnectedAccountState $state, DateTimeImmutable $createdAt, DateTimeImmutable $updatedAt) : mixed
Parameters
- $object : string
- $id : string
- $dataIntegrationId : string
- $providerSlug : string
- $userId : string|null
- $organizationId : string|null
- $scopes : array<string|int, mixed>
- $state : PipeConnectedAccountState
- $createdAt : DateTimeImmutable
- $updatedAt : 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>