WorkOS PHP SDK

DataIntegrationInstallation
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$apiKeyLast4  : string|null
The last four characters of the stored API key. The full key is never returned.
$id  : string
Unique identifier of the installation.
$organizationId  : string|null
The Organization the installation is scoped to, or null when unscoped.
$userId  : string
The User the API key was installed for.

Methods

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

Properties

$apiKeyLast4

The last four characters of the stored API key. The full key is never returned.

public string|null $apiKeyLast4

$organizationId

The Organization the installation is scoped to, or null when unscoped.

public string|null $organizationId

Methods

__construct()

public __construct(string $id, string $userId, string|null $organizationId, string|null $apiKeyLast4) : mixed
Parameters
$id : string
$userId : string
$organizationId : string|null
$apiKeyLast4 : string|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