\Iqrf\Repository\Entities TransceiverComponents

Transceiver components entity

Summary

Methods
Properties
Constants
__construct
fromApiResponse
jsonSerialize
rfChip
ldo
temperatureSensorChip
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

$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