\Iqrf\Repository\ModelsOsAndDpaManager

IQRF OS and DPA versions manager

Summary

Methods
Properties
Constants
__construct()
list()
get()
No public properties found
PATH
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

PATH

PATH = osdpa

IQRF OS and DPA versions path

Methods

__construct()

__construct(\Iqrf\Repository\Models\ApiClient  apiClient) : 

Constructor

Parameters

\Iqrf\Repository\Models\ApiClient apiClient

JSON API client

Returns

list()

list() : \Iqrf\Repository\Models\OsDpa||string|int

Lists all IQRF OS and DPA versions

Throws

\Iqrf\Repository\Models\CorruptedData
\Iqrf\Repository\Models\ServiceUnavailable

Returns

\Iqrf\Repository\Models\OsDpa||string|int —

IQRF OS and DPA versions

get()

get(string|null  os = null, string|null  dpa = null) : \Iqrf\Repository\Models\OsDpa||string|int

Returns filtered IQRF OS and DPA versions

Parameters

string|null os

IQRF OS build

string|null dpa

DPA versions

Throws

\Iqrf\Repository\Models\CorruptedData
\Iqrf\Repository\Models\ServiceUnavailable

Returns

\Iqrf\Repository\Models\OsDpa||string|int —

IQRF OS and DPA versions