PHP Sigfox Client

CreateResponse extends BaseResponse

Generic information about user create operation

Table of Contents

$id  : string|null
The user's identifier
$message  : string|null
Additional information about the operation
$userRoles  : array<string|int, mixed>|null
from()  : static
Initializing a model from an array
getId()  : string
Getter for id
getMessage()  : string
Getter for message
getUserRoles()  : array<string|int, UserRole>
Getter for userRoles
jsonSerialize()  : array<string|int, mixed>
setId()  : static
Setter for id
setMessage()  : static
Setter for message
setUserRoles()  : static
Setter for userRoles

Properties

$message

Additional information about the operation

protected string|null $message = null

$userRoles

protected array<string|int, mixed>|null $userRoles = 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

getId()

Getter for id

public getId() : string
Return values
string

The user's identifier

getMessage()

Getter for message

public getMessage() : string
Return values
string

Additional information about the operation

jsonSerialize()

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

setId()

Setter for id

public setId(string $id) : static
Parameters
$id : string

The user's identifier

Return values
static

To use in method chains

setMessage()

Setter for message

public setMessage(string $message) : static
Parameters
$message : string

Additional information about the operation

Return values
static

To use in method chains

setUserRoles()

Setter for userRoles

public setUserRoles(array<string|int, UserRole$userRoles) : static
Parameters
$userRoles : array<string|int, UserRole>
Return values
static

To use in method chains

Search results