\Iqrf\Repository\EntitiesTransceiverSupplyVoltage

Transceiver supply voltage 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{supplyVoltageMin: float, supplyVoltageMax: float}  $response) : \Iqrf\Repository\Entities\TransceiverSupplyVoltage

Creates a new TransceiverSupplyVoltage entity from API Response

Parameters

array{supplyVoltageMin: float, supplyVoltageMax: float} $response

API Response body

Returns

\Iqrf\Repository\Entities\TransceiverSupplyVoltage —

TransceiverSupplyVoltage entity

jsonSerialize()

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

Serializes the TransceiverSupplyVoltage entity into JSON

Returns

array{min: float, max: float} —

JSON serialized TransceiverSupplyVoltage entity