\Iqrf\Repository\Entities\Metadata MinMaxDiag

MinMaxDiag metadata entity

Summary

Methods
Properties
Constants
__construct
fromApiResponse
jsonSerialize
version
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
No private properties found
No private constants found

Properties

$version

$version : ?int

Type

int|null

Methods

__construct()

__construct(int|null  $version = null) : mixed

Constructs MinMaxDiag metadata object.

Parameters

int|null $version

Diagnostics version, serves as an identifier for diagnostics spec.

Returns

mixed —

fromApiResponse()

fromApiResponse(array{version?: int}  $response) : \Iqrf\Repository\Entities\Metadata\MinMaxDiag

Parses the provided response data into a MinMaxDiag object

Parameters

array{version?: int} $response

API response body

Returns

\Iqrf\Repository\Entities\Metadata\MinMaxDiag —

The parsed MinMaxDiag object

jsonSerialize()

jsonSerialize() : array{version?: int}

Serializes the MinMaxDiag entity into JSON

Returns

array{version?: int} —

JSON-serialized MinMaxDiag data