\Iqrf\Repository\EntitiesTransceiverTemperature

Transceiver temperature 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{operatingTemperatureMin: float, operatingTemperatureMax: float}  $response) : \Iqrf\Repository\Entities\TransceiverTemperature

Creates a new TransceiverTemperature entity from API Response

Parameters

array{operatingTemperatureMin: float, operatingTemperatureMax: float} $response

API Response body

Returns

\Iqrf\Repository\Entities\TransceiverTemperature —

TransceiverTemperature entity

jsonSerialize()

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

Serializes the TransceiverTemperature entity into JSON

Returns

array{min: float, max: float} —

JSON serialized TransceiverTemperature entity