$build
$build : string
IQRF OS version entity
__construct(string $build, string $version, \Iqrf\Repository\Entities\OsDpaAttributes $attributes, string $downloadPath) : mixed
Constructor
string | $build | IQRF OS build |
string | $version | IQRF OS version |
\Iqrf\Repository\Entities\OsDpaAttributes | $attributes | Attributes |
string | $downloadPath | Download path |
fromApiResponse(array{build: string, version: string, attributes: int, downloadPath: string} $response) : \Iqrf\Repository\Entities\Os
Creates a new IQRF OS entity from the API response
array{build: string, version: string, attributes: int, downloadPath: string} | $response | API response body |
Created IQRF OS entity
jsonSerialize() : array{build: string, version: string, attributes: array{beta: bool|null, obsolete: bool|null}, downloadPath: string}
Serialized the IQRF OS entity into JSON
JSON serialized IQRF OS entity