DevicesIdGet extends Request
Retrieve information about a given device.
Table of Contents
- $authorizations : bool|null
- if true, we return the list of actions and resources the user has access
- $fields : string|null
- Defines the other available fields to be returned in the response.
- from() : static
- Initializing a model from an array
- jsonSerialize() : array<string|int, mixed>
- setAuthorizations() : static
- Setter for authorizations
- setFields() : static
- Setter for fields
Properties
$authorizations
if true, we return the list of actions and resources the user has access
protected
bool|null
$authorizations
= null
$fields
Defines the other available fields to be returned in the response.
protected
string|null
$fields
= null
Methods
from()
Initializing a model from an array
public
static from(array<string|int, mixed> $params) : static
Parameters
- $params : array<string|int, mixed>
-
Pass this parameter if you want to initial property value from an array. See API reference for all property names and types
Tags
Return values
static —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setAuthorizations()
Setter for authorizations
public
setAuthorizations(bool $authorizations) : static
Parameters
- $authorizations : bool
-
if true, we return the list of actions and resources the user has access
Return values
static —To use in method chains
setFields()
Setter for fields
public
setFields(string $fields) : static
Parameters
- $fields : string
-
Defines the other available fields to be returned in the response.
Return values
static —To use in method chains