\Iqrf\Repository\EntitiesTransceiverComponents

Transceiver components entity

Summary

Methods
Properties
Constants
__construct()
fromApiResponse()
jsonSerialize()
$rfChip
$ldo
$temperatureSensorChip
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$rfChip

$rfChip : string

Type

string

$ldo

$ldo : string

Type

string

$temperatureSensorChip

$temperatureSensorChip : string

Type

string

Methods

__construct()

__construct(string  $rfChip, string  $ldo, string  $temperatureSensorChip) : mixed

Constructor

Parameters

string $rfChip

RF chip identifier

string $ldo

LDO chip identifier

string $temperatureSensorChip

Temperature sensor chip identifier

Returns

mixed —

fromApiResponse()

fromApiResponse(array{rfChip: string, ldo: string, temperatureSensorChip: string}  $response) : \Iqrf\Repository\Entities\TransceiverComponents

Creates a new TransceiverComponents entity from API Response

Parameters

array{rfChip: string, ldo: string, temperatureSensorChip: string} $response

API response body

Returns

\Iqrf\Repository\Entities\TransceiverComponents —

TransceiverComponents entity

jsonSerialize()

jsonSerialize() : array{rfChip: string, ldo: string, temperatureSensorChip: string}

Serializes the TransceiverComponents entity into JSON

Returns

array{rfChip: string, ldo: string, temperatureSensorChip: string} —

JSON serialized TransceiverComponents entity