DataIntegrationsListResponseData
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Table of Contents
Interfaces
- JsonSerializable
Properties
- $connectedAccount : DataIntegrationsListResponseDataConnectedAccount|null
- The user's [connected account](https://workos.com/docs/reference/pipes/connected-account) for this provider, or `null` if the user has not connected.
- $createdAt : string
- The timestamp when the provider was created.
- $credentialsType : string
- The type of credentials used by the provider (e.g., `oauth2`).
- $description : string|null
- A description of the provider explaining how it will be used, if configured.
- $id : string
- The unique identifier of the provider.
- $integrationType : string
- The type of integration (e.g., `github`, `slack`).
- $name : string
- The display name of the provider (e.g., "GitHub", "Slack").
- $object : string
- Distinguishes the data provider object.
- $ownership : DataIntegrationsListResponseDataOwnership
- Whether the provider is owned by a user or organization.
- $scopes : array<string|int, string>|null
- The OAuth scopes configured for this provider, or `null` if none are configured.
- $slug : string
- The slug identifier used in API calls (e.g., `github`, `slack`, `notion`).
- $updatedAt : string
- The timestamp when the provider was last updated.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$connectedAccount
The user's [connected account](https://workos.com/docs/reference/pipes/connected-account) for this provider, or `null` if the user has not connected.
public
DataIntegrationsListResponseDataConnectedAccount|null
$connectedAccount
$createdAt
The timestamp when the provider was created.
public
string
$createdAt
$credentialsType
The type of credentials used by the provider (e.g., `oauth2`).
public
string
$credentialsType
$description
A description of the provider explaining how it will be used, if configured.
public
string|null
$description
$id
The unique identifier of the provider.
public
string
$id
$integrationType
The type of integration (e.g., `github`, `slack`).
public
string
$integrationType
$name
The display name of the provider (e.g., "GitHub", "Slack").
public
string
$name
$object
Distinguishes the data provider object.
public
string
$object
$ownership
Whether the provider is owned by a user or organization.
public
DataIntegrationsListResponseDataOwnership
$ownership
$scopes
The OAuth scopes configured for this provider, or `null` if none are configured.
public
array<string|int, string>|null
$scopes
$slug
The slug identifier used in API calls (e.g., `github`, `slack`, `notion`).
public
string
$slug
$updatedAt
The timestamp when the provider was last updated.
public
string
$updatedAt
Methods
__construct()
public
__construct(string $object, string $id, string $name, string|null $description, string $slug, string $integrationType, string $credentialsType, array<string|int, mixed>|null $scopes, DataIntegrationsListResponseDataOwnership $ownership, string $createdAt, string $updatedAt, DataIntegrationsListResponseDataConnectedAccount|null $connectedAccount) : mixed
Parameters
- $object : string
- $id : string
- $name : string
- $description : string|null
- $slug : string
- $integrationType : string
- $credentialsType : string
- $scopes : array<string|int, mixed>|null
- $ownership : DataIntegrationsListResponseDataOwnership
- $createdAt : string
- $updatedAt : string
- $connectedAccount : DataIntegrationsListResponseDataConnectedAccount|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>