OpenMediaVault  3.0 (Erasmus)
The open network attached storage solution
Public Member Functions | List of all members
OMV\Rpc\DataModel Class Reference
Inheritance diagram for OMV\Rpc\DataModel:
OMV\DataModel\DataModel

Public Member Functions

 __construct ($model)
 
 getParamsSchema ()
 
 validate ($data)
 
- Public Member Functions inherited from OMV\DataModel\DataModel
 __construct ($model)
 
 getModel ()
 
 getId ()
 
 getAlias ()
 
 getTitle ()
 
 getDescription ()
 

Member Function Documentation

OMV\Rpc\DataModel::getParamsSchema ( )
final

Get the JSON schema that describes the RPC parameters.

Returns
The JSON schema describing the RPC parameters.
OMV\Rpc\DataModel::validate (   $data)
final

Validate the specified data against the data model.

Parameters
dataThe JSON data to validate.
Returns
None.
Exceptions

The documentation for this class was generated from the following file: