$operating
$operating : \Iqrf\Repository\Entities\TransceiverOperatingVoltage
Transceiver voltage entity
__construct(\Iqrf\Repository\Entities\TransceiverOperatingVoltage $operating, \Iqrf\Repository\Entities\TransceiverSupplyVoltage $supply) : mixed
Constructor
\Iqrf\Repository\Entities\TransceiverOperatingVoltage | $operating | Operating voltage |
\Iqrf\Repository\Entities\TransceiverSupplyVoltage | $supply | Supply voltage |
fromApiResponse(array{operatingVoltageMin: float, operatingVoltageMax: float, operatingVoltageNominal: float, supplyVoltageMin: float, supplyVoltageMax: float} $response) : \Iqrf\Repository\Entities\TransceiverVoltage
Creates a new TransceiverVoltage entity from API response
array{operatingVoltageMin: float, operatingVoltageMax: float, operatingVoltageNominal: float, supplyVoltageMin: float, supplyVoltageMax: float} | $response | API response body |
TransceiverVoltage entity
jsonSerialize() : array{operating: array{min: float, max: float, nominal: float}, supply: array{min: float, max: float}}
Serializes the TransceiverVoltage entity into JSON
JSON serialized TransceiverVoltage entity