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
$createdAt
The timestamp when the configuration was created.
public
string
$createdAt
$credentials
public
DataIntegrationCredentials|null
$credentials
= null
$enabled
Whether the integration is enabled for this organization. Reflects the organization override when one exists, otherwise the provider default.
public
bool
$enabled
$id
The unique identifier of the data integration.
public
string
$id
$name
The display name of the data integration.
public
string
$name
$object
Distinguishes the data integration configuration object.
public
string
$object
$organizationId
The [Organization](https://workos.com/docs/reference/organization) this configuration applies to.
public
string
$organizationId
$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
$slug
The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
public
string
$slug
$updatedAt
The timestamp when the configuration was last updated.
public
string
$updatedAt
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
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>