\Iqrf\Repository\EntitiesTransceiverCurrentRfTx

Transceiver RF TX current entity

Summary

Methods
Properties
Constants
__construct()
fromApiResponse()
jsonSerialize()
$min
$max
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$min

$min : float

Type

float

$max

$max : float

Type

float

Methods

__construct()

__construct(float  $min, float  $max) : mixed

Constructor

Parameters

float $min

Minimum

float $max

Maximum

Returns

mixed —

fromApiResponse()

fromApiResponse(array{currentRfTxMin: float, currentRfTxMax: float}  $response) : \Iqrf\Repository\Entities\TransceiverCurrentRfTx

Creates a new TransceiverCurrentRfTx entity from API Response

Parameters

array{currentRfTxMin: float, currentRfTxMax: float} $response

API Response body

Returns

\Iqrf\Repository\Entities\TransceiverCurrentRfTx —

TransceiverCurrentRfTx entity

jsonSerialize()

jsonSerialize() : array{min: float, max: float}

Serializes the TransceiverCurrentRfTx entity into JSON

Returns

array{min: float, max: float} —

JSON serialized TransceiverCurrentRfTx entity