\Iqrf\Repository\EntitiesTransceiverOperatingVoltage

Transceiver operating voltage entity

Summary

Methods
Properties
Constants
__construct()
fromApiResponse()
jsonSerialize()
$nominal
$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

$nominal

$nominal : float

Type

float

$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{operatingVoltageMin: float, operatingVoltageMax: float, operatingVoltageNominal: float}  $response) : \Iqrf\Repository\Entities\TransceiverOperatingVoltage

Creates a new TransceiverOperatingVoltage entity from API Response

Parameters

array{operatingVoltageMin: float, operatingVoltageMax: float, operatingVoltageNominal: float} $response

API Response body

Returns

\Iqrf\Repository\Entities\TransceiverOperatingVoltage —

TransceiverOperatingVoltage entity

jsonSerialize()

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

Serializes the TransceiverOperatingVoltage entity into JSON

Returns

array{min: float, max: float, nominal: float} —

JSON serialized TransceiverOperatingVoltage entity