CreateM2MApplication
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $applicationType : string
- The type of application to create.
- $description : string|null
- A description for the application.
- $name : string
- The name of the application.
- $organizationId : string
- The organization ID this application belongs to.
- $scopes : array<string|int, string>|null
- The OAuth scopes granted to the application.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$applicationType
The type of application to create.
public
string
$applicationType
$description
A description for the application.
public
string|null
$description
= null
$name
The name of the application.
public
string
$name
$organizationId
The organization ID this application belongs to.
public
string
$organizationId
$scopes
The OAuth scopes granted to the application.
public
array<string|int, string>|null
$scopes
= null
Methods
__construct()
public
__construct(string $name, string $applicationType, string $organizationId[, string|null $description = null ][, array<string|int, mixed>|null $scopes = null ]) : mixed
Parameters
- $name : string
- $applicationType : string
- $organizationId : string
- $description : string|null = null
- $scopes : array<string|int, mixed>|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>