Class: Labels

appLib/SDKDrivers/xFrameDriver/labels.Labels

Labels repository --- currently not supported

The Labels class allows the user to manage labels.

Hierarchy

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new Labels(agent)

Creates an instance of Repository.

Parameters

Name Type
agent PeerAgent

Inherited from

Repository.constructor

Methods

crudReq

crudReq(data): void

Sends a CRUD request to the xFrame.

Parameters

Name Type
data any

Returns

void

Inherited from

Repository.crudReq


crudReqSync

crudReqSync(data, options?): Promise<any>

Sends a CRUD request to the xFrame.

Parameters

Name Type Description
data any The data to send.
options Object
options.timeout? number an option to set the timeout for the request.

Returns

Promise<any>

Inherited from

Repository.crudReqSync