\Iqrf\Repository\Entities TransceiverTemperature

Transceiver temperature entity

Summary

Methods
Properties
Constants
__construct
fromApiResponse
jsonSerialize
min
max
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
No private properties found
No private constants found

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