PHP Sigfox Client

CommonUser extends Model

Generic information about a User

Table of Contents

$firstName  : string|null
The user's first name
$lastName  : string|null
The user's last name
$timezone  : string|null
The user's timezone
from()  : static
Initializing a model from an array
getFirstName()  : string
Getter for firstName
getLastName()  : string
Getter for lastName
getTimezone()  : string
Getter for timezone
jsonSerialize()  : array<string|int, mixed>
setFirstName()  : static
Setter for firstName
setLastName()  : static
Setter for lastName
setTimezone()  : static
Setter for timezone

Properties

$firstName

The user's first name

protected string|null $firstName = null

$lastName

The user's last name

protected string|null $lastName = null

$timezone

The user's timezone

protected string|null $timezone = 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

getFirstName()

Getter for firstName

public getFirstName() : string
Return values
string

The user's first name

getLastName()

Getter for lastName

public getLastName() : string
Return values
string

The user's last name

getTimezone()

Getter for timezone

public getTimezone() : string
Return values
string

The user's timezone

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Tags
inheritdoc
Return values
array<string|int, mixed>

setFirstName()

Setter for firstName

public setFirstName(string $firstName) : static
Parameters
$firstName : string

The user's first name

Return values
static

To use in method chains

setLastName()

Setter for lastName

public setLastName(string $lastName) : static
Parameters
$lastName : string

The user's last name

Return values
static

To use in method chains

setTimezone()

Setter for timezone

public setTimezone(string $timezone) : static
Parameters
$timezone : string

The user's timezone

Return values
static

To use in method chains

Search results