ConnectApplication
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $applicationType : string|null
- The type of the application.
- $clientId : string
- The client ID of the connect application.
- $createdAt : DateTimeImmutable
- An ISO 8601 timestamp.
- $description : string|null
- A description of the connect application.
- $id : string
- The unique ID of the connect application.
- $name : string
- The name of the connect application.
- $object : string
- Distinguishes the connect application object.
- $organizationId : string|null
- The ID of the organization the application belongs to.
- $scopes : array<string|int, string>
- The scopes available for this application.
- $updatedAt : DateTimeImmutable
- An ISO 8601 timestamp.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$applicationType
The type of the application.
public
string|null
$applicationType
= null
$clientId
The client ID of the connect application.
public
string
$clientId
$createdAt
An ISO 8601 timestamp.
public
DateTimeImmutable
$createdAt
$description
A description of the connect application.
public
string|null
$description
$id
The unique ID of the connect application.
public
string
$id
$name
The name of the connect application.
public
string
$name
$object
Distinguishes the connect application object.
public
string
$object
$organizationId
The ID of the organization the application belongs to.
public
string|null
$organizationId
= null
$scopes
The scopes available for this application.
public
array<string|int, string>
$scopes
$updatedAt
An ISO 8601 timestamp.
public
DateTimeImmutable
$updatedAt
Methods
__construct()
public
__construct(string $object, string $id, string $clientId, string|null $description, string $name, array<string|int, mixed> $scopes, DateTimeImmutable $createdAt, DateTimeImmutable $updatedAt[, string|null $applicationType = null ][, string|null $organizationId = null ]) : mixed
Parameters
- $object : string
- $id : string
- $clientId : string
- $description : string|null
- $name : string
- $scopes : array<string|int, mixed>
- $createdAt : DateTimeImmutable
- $updatedAt : DateTimeImmutable
- $applicationType : string|null = null
- $organizationId : string|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>