WorkOS PHP SDK

DataIntegrationConfigurationResponse
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$createdAt  : string
The timestamp when the configuration was created.
$credentials  : DataIntegrationCredentials|null
$enabled  : bool
Whether the integration is enabled for this organization. Reflects the organization override when one exists, otherwise the provider default.
$id  : string
The unique identifier of the data integration.
$name  : string
The display name of the data integration.
$object  : string
Distinguishes the data integration configuration object.
$organizationId  : string
The [Organization](https://workos.com/docs/reference/organization) this configuration applies to.
$scopes  : array<string|int, string>|null
The OAuth scopes in effect for this organization. Reflects the organization override when one is set, otherwise the provider scopes, or `null` when none are configured.
$slug  : string
The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
$updatedAt  : string
The timestamp when the configuration was last updated.

Methods

__construct()  : mixed
fromArray()  : self
jsonSerialize()  : array<string|int, mixed>
toArray()  : array<string|int, mixed>

Properties

$enabled

Whether the integration is enabled for this organization. Reflects the organization override when one exists, otherwise the provider default.

public bool $enabled

$scopes

The OAuth scopes in effect for this organization. Reflects the organization override when one is set, otherwise the provider scopes, or `null` when none are configured.

public array<string|int, string>|null $scopes

Methods

__construct()

public __construct(string $object, string $id, string $organizationId, string $slug, string $name, bool $enabled, array<string|int, mixed>|null $scopes, string $createdAt, string $updatedAt[, DataIntegrationCredentials|null $credentials = null ]) : mixed
Parameters
$object : string
$id : string
$organizationId : string
$slug : string
$name : string
$enabled : bool
$scopes : array<string|int, mixed>|null
$createdAt : string
$updatedAt : string
$credentials : DataIntegrationCredentials|null = null

jsonSerialize()

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

Search results