WorkOS PHP SDK

DataIntegrationsListResponseData
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

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

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
self

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results