PHP Sigfox Client

MinProfile extends Model

Defines a profile entity

Table of Contents

$actions  : array<string|int, mixed>|null
$id  : string|null
The profile's identifier
$name  : string|null
The profile's name
from()  : static
Initializing a model from an array
getActions()  : array<string|int, string>
Getter for actions
getId()  : string
Getter for id
getName()  : string
Getter for name
jsonSerialize()  : array<string|int, mixed>
setActions()  : static
Setter for actions
setId()  : static
Setter for id
setName()  : static
Setter for name

Properties

$actions

protected array<string|int, mixed>|null $actions = null

$id

The profile's identifier

protected string|null $id = null

$name

The profile's name

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

getActions()

Getter for actions

public getActions() : array<string|int, string>
Return values
array<string|int, string>

getId()

Getter for id

public getId() : string
Return values
string

The profile's identifier

getName()

Getter for name

public getName() : string
Return values
string

The profile's name

jsonSerialize()

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

setActions()

Setter for actions

public setActions(array<string|int, string> $actions) : static
Parameters
$actions : array<string|int, string>
Return values
static

To use in method chains

setId()

Setter for id

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

The profile's identifier

Return values
static

To use in method chains

setName()

Setter for name

public setName(string $name) : static
Parameters
$name : string

The profile's name

Return values
static

To use in method chains

Search results