PHP Sigfox Client

UserRolesItem extends Model

Table of Contents

$groupId  : string|null
The group identifier on which the user will have the permissions set
$profileId  : string|null
The profile identifier giving permissions to the user
from()  : static
Initializing a model from an array
getGroupId()  : string
Getter for groupId
getProfileId()  : string
Getter for profileId
jsonSerialize()  : array<string|int, mixed>
setGroupId()  : static
Setter for groupId
setProfileId()  : static
Setter for profileId

Properties

$groupId

The group identifier on which the user will have the permissions set

protected string|null $groupId = null

$profileId

The profile identifier giving permissions to the user

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

getGroupId()

Getter for groupId

public getGroupId() : string
Return values
string

The group identifier on which the user will have the permissions set

getProfileId()

Getter for profileId

public getProfileId() : string
Return values
string

The profile identifier giving permissions to the user

jsonSerialize()

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

setGroupId()

Setter for groupId

public setGroupId(string $groupId) : static
Parameters
$groupId : string

The group identifier on which the user will have the permissions set

Return values
static

To use in method chains

setProfileId()

Setter for profileId

public setProfileId(string $profileId) : static
Parameters
$profileId : string

The profile identifier giving permissions to the user

Return values
static

To use in method chains

Search results