DataIntegrationCredentialsResponse
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $active : bool|null
- Indicates credentials are available.
- $credential : DataIntegrationCredentialsResponseCredential|null
- The credential object containing the vended secret.
- $error : DataIntegrationAccessTokenResponseError|null
- The reason credentials are unavailable. Additional values may be added in the future; handle unknown values gracefully.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$active
Indicates credentials are available.
public
bool|null
$active
= null
$credential
The credential object containing the vended secret.
public
DataIntegrationCredentialsResponseCredential|null
$credential
= null
$error
The reason credentials are unavailable. Additional values may be added in the future; handle unknown values gracefully.
public
DataIntegrationAccessTokenResponseError|null
$error
= null
"not_installed": The user does not have the integration installed."needs_reauthorization": The user needs to reauthorize the integration.
Methods
__construct()
public
__construct([bool|null $active = null ][, DataIntegrationCredentialsResponseCredential|null $credential = null ][, DataIntegrationAccessTokenResponseError|null $error = null ]) : mixed
Parameters
- $active : bool|null = null
- $credential : DataIntegrationCredentialsResponseCredential|null = null
- $error : DataIntegrationAccessTokenResponseError|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>