PHP Sigfox Client

Profile extends Model

Table of Contents

$actions  : array<string|int, mixed>|null
$group  : MinGroup|null
$id  : string|null
The profiler identifier
$name  : string|null
The profile name
$resources  : array<string|int, mixed>|null
$roles  : array<string|int, mixed>|null
Lists the role contained in this profile.
from()  : static
Initializing a model from an array
getActions()  : array<string|int, string>
Getter for actions
getGroup()  : MinGroup
Getter for group
getId()  : string
Getter for id
getName()  : string
Getter for name
getResources()  : array<string|int, string>
Getter for resources
getRoles()  : array<string|int, MinRole>
Getter for roles
jsonSerialize()  : array<string|int, mixed>
setActions()  : static
Setter for actions
setGroup()  : static
Setter for group
setId()  : static
Setter for id
setName()  : static
Setter for name
setResources()  : static
Setter for resources
setRoles()  : static
Setter for roles

Properties

$actions

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

$id

The profiler identifier

protected string|null $id = null

$name

The profile name

protected string|null $name = null

$resources

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

$roles

Lists the role contained in this profile.

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

getName()

Getter for name

public getName() : string
Return values
string

The profile name

getResources()

Getter for resources

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

getRoles()

Getter for roles

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

Lists the role contained in this profile.

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

setGroup()

Setter for group

public setGroup(MinGroup $group) : static
Parameters
$group : MinGroup
Return values
static

To use in method chains

setId()

Setter for id

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

The profiler identifier

Return values
static

To use in method chains

setName()

Setter for name

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

The profile name

Return values
static

To use in method chains

setResources()

Setter for resources

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

To use in method chains

setRoles()

Setter for roles

public setRoles(array<string|int, MinRole$roles) : static
Parameters
$roles : array<string|int, MinRole>

Lists the role contained in this profile.

Return values
static

To use in method chains

Search results