$id
$id : int
Detailed package entity
__construct(int $id, int $hwpid, int $hwpidVer, string $handlerUrl, string $handlerHash, string $os, \Iqrf\Repository\Entities\DpaVersion $dpa, string $notes, string $driver, \Iqrf\Repository\Entities\StandardDetail[] $standards) : mixed
Constructor
int | $id | Package ID |
int | $hwpid | HWPID |
int | $hwpidVer | HWPID version |
string | $handlerUrl | Custom handler URL |
string | $handlerHash | Custom handler hash |
string | $os | IQRF OS build |
\Iqrf\Repository\Entities\DpaVersion | $dpa | DPA version |
string | $notes | Package notes |
string | $driver | Driver code |
\Iqrf\Repository\Entities\StandardDetail[] | $standards | Array of supported standards |
fromApiResponse(array{packageID: int, hwpid: int, hwpidVer: int, handlerUrl: string, handlerHash: string, os: string, dpa: string, notes: string, driver: string, standards: array{standardID: int, name: string, version: float, versionFlags: int, driver: string, notes: string}[]} $response) : \Iqrf\Repository\Entities\PackageDetail
Creates a new detailed package entity from the API response
array{packageID: int, hwpid: int, hwpidVer: int, handlerUrl: string, handlerHash: string, os: string, dpa: string, notes: string, driver: string, standards: array{standardID: int, name: string, version: float, versionFlags: int, driver: string, notes: string}[]} | $response | API response body |
Created detailed package entity