PHP Sigfox Client

UsersIdGet extends Request

Retrieve information about a given user. The id can also be the user's email address.

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
throws
DeserializeException

If provided an invalid type to a property

Return values
static

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Tags
inheritdoc
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

Search results