File

protocol-lwm2m/services/lwm2m-post-operations.service.ts

Extends

Lwm2mClientService

Index

Properties
Methods

Constructor

constructor(client: FetchClient)
Parameters :
Name Type Optional
client FetchClient No

Methods

get
get()
Returns : Promise<IFetchResponse>
put
put(data: LWM2MPostOperationsParameters)
Parameters :
Name Type Optional
data LWM2MPostOperationsParameters No
Returns : any
detail
detail(entityOrId: string | number | T, filter: object)
Parameters :
Name Type Optional Default value
entityOrId string | number | T No
filter object No {}
Returns : Promise<IResult<T | any>>
fetch
fetch(url: string, init?: IFetchOptions)
Parameters :
Name Type Optional
url string No
init IFetchOptions Yes
Returns : Promise<IFetchResponse>
isLwm2mDevice
isLwm2mDevice(mo: Lwm2mManagedObject)
Parameters :
Name Type Optional
mo Lwm2mManagedObject No
Returns : any
update
update(entity: T)
Parameters :
Name Type Optional
entity T No
Returns : Promise<IResult<T | any>>

Properties

Protected baseUrl
Default value : agentBaseUrl
Protected listUrl
Type : string
Default value : 'device'

results matching ""

    No results matching ""