\Iqrf\Repository\EntitiesPackageDetail

Detailed package entity

Summary

Methods
Properties
Constants
__construct()
fromArray()
getId()
getHwpid()
getHwpidVer()
getHandlerUrl()
getHandlerHash()
getOs()
getDpa()
getNotes()
getDriver()
getStandards()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  id,   hwpid,   hwpidVer,   handlerUrl,   handlerHash,   os,   dpa,   notes,   driver, \Iqrf\Repository\Entities\StandardDetail||string|int  standards) : 

Constructor

Parameters

id

Package ID

hwpid

HWPID

hwpidVer

HWPID version

handlerUrl

Custom handler URL

handlerHash

Custom handler hash

os

IQRF OS build

dpa

DPA version

notes

Package notes

driver

Driver code

\Iqrf\Repository\Entities\StandardDetail||string|int standards

Array of supported standards

Returns

fromArray()

fromArray(mixed|string|string|int  data) : \Iqrf\Repository\Entities\PackageDetail

Creates a new detailed package entity from an array

Parameters

mixed|string|string|int data

JSON data in an array

Returns

\Iqrf\Repository\Entities\PackageDetail —

Created detailed package entity

getId()

getId() : 

Returns the package ID

Returns

Package ID

getHwpid()

getHwpid() : 

Returns the HWPID

Returns

HWPID

getHwpidVer()

getHwpidVer() : 

Returns the HWPID version

Returns

HWPID version

getHandlerUrl()

getHandlerUrl() : 

Returns the custom handler URL

Returns

Custom handler URL

getHandlerHash()

getHandlerHash() : 

Returns the custom handler hash

Returns

Custom handler hash

getOs()

getOs() : 

Returns IQRF OS build

Returns

IQRF OS build

getDpa()

getDpa() : 

Returns DPA version

Returns

DPA version

getNotes()

getNotes() : 

Returns the package notes

Returns

Package notes

getDriver()

getDriver() : 

Returns the driver code

Returns

Driver code

getStandards()

getStandards() : \Iqrf\Repository\Entities\StandardDetail||string|int

Returns the array of supported standards

Returns

\Iqrf\Repository\Entities\StandardDetail||string|int —

Array of supported arrays