\Iqrf\Repository\EntitiesOsDpa

IQRF OS and DPA entity

Summary

Methods
Properties
Constants
__construct()
fromArray()
getOs()
getDpa()
getNotes()
jsonSerialize()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$os
$dpa
$notes
N/A

Properties

$os

$os : \Iqrf\Repository\Entities\Os

Type

Os — IQRF OS

$dpa

$dpa : \Iqrf\Repository\Entities\Dpa

Type

Dpa — DPA

$notes

$notes : string

Type

string — Notes

Methods

__construct()

__construct(\Iqrf\Repository\Entities\Os  $os, \Iqrf\Repository\Entities\Dpa  $dpa, string  $notes) : mixed

Constructor

Parameters

\Iqrf\Repository\Entities\Os $os

IQRF OS

\Iqrf\Repository\Entities\Dpa $dpa

DPA

string $notes

Notes

Returns

mixed —

fromArray()

fromArray(array<string,string|int>  $data) : \Iqrf\Repository\Entities\OsDpa

Creates a new IQRF OS and DPA entity from an array

Parameters

array $data

JSON data in an array

Returns

\Iqrf\Repository\Entities\OsDpa —

Created IQRF OS and DPA entity

getOs()

getOs() : \Iqrf\Repository\Entities\Os

Returns the IQRF OS build

Returns

\Iqrf\Repository\Entities\Os —

IQRF OS version entity

getDpa()

getDpa() : \Iqrf\Repository\Entities\Dpa

Returns the DPA version entity

Returns

\Iqrf\Repository\Entities\Dpa —

DPA version entity

getNotes()

getNotes() : string

Returns the notes

Returns

string —

Notes

jsonSerialize()

jsonSerialize() : array<string,array<string,array<string,bool|null>|string>|string>

Serialized the IQRF OS and DPA entity into JSON

Returns

array|string>|string> —

JSON serialized IQRF OS and DPA entity