DataIntegrationCredentialsResponseWithError
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $active : bool
- Indicates credentials are not available.
- $error : DataIntegrationAccessTokenResponseError
- 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 not available.
public
bool
$active
$error
The reason credentials are unavailable. Additional values may be added in the future; handle unknown values gracefully.
public
DataIntegrationAccessTokenResponseError
$error
"not_installed": The user does not have the integration installed."needs_reauthorization": The user needs to reauthorize the integration.
Methods
__construct()
public
__construct(bool $active, DataIntegrationAccessTokenResponseError $error) : mixed
Parameters
- $active : bool
- $error : DataIntegrationAccessTokenResponseError
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>