$hwpidVersions
$hwpidVersions : \Iqrf\Repository\Entities\MetadataProfileHwpidVersions
Metadata profile version 0 entity
$hwpidVersions : \Iqrf\Repository\Entities\MetadataProfileHwpidVersions
$powerSupply : \Iqrf\Repository\Entities\MetadataProfilePowerSupply
__construct(\Iqrf\Repository\Entities\MetadataProfileHwpidVersions $hwpidVersions, bool $routing, bool $beaming, bool $repeater, bool $frcAggregation, bool $iqarosCompatible, int[] $iqrfSensor, int $iqrfBinaryOutput, \Iqrf\Repository\Entities\MetadataProfilePowerSupply $powerSupply) : mixed
Constructor
\Iqrf\Repository\Entities\MetadataProfileHwpidVersions | $hwpidVersions | HWPID version |
bool | $routing | Routing device |
bool | $beaming | Beaming device |
bool | $repeater | Repeater |
bool | $frcAggregation | FRC aggregating function |
bool | $iqarosCompatible | Compatible with IQAROS system |
int[] | $iqrfSensor | List of implemented sensor types |
int | $iqrfBinaryOutput | Binary output count |
\Iqrf\Repository\Entities\MetadataProfilePowerSupply | $powerSupply | Power supply |
fromApiResponse(array$response) : \Iqrf\Repository\Entities\MetadataProfileV0
Create a new entity from API response
array |
$response | API response data |
Thrown when API response data are corrupted
New entity
jsonSerialize() : array{hwpidVersions: array<string,mixed>, routing: bool, beaming: bool, repeater: bool, frcAggregation: bool, iqarosCompatible: bool, iqrfSensor: int[], iqrfBinaryOutput: int, powerSupply: array<string,mixed>}
Serializes the entity into JSON
JSON-serialized entity