Class: Labels
appLib/SDKDrivers/xFrameDriver/labels.Labels
Labels repository --- currently not supported
The Labels class allows the user to manage labels.
Hierarchy
-
Repository
↳
Labels
Implements
-
IBundle
<SDKLabelTreeNode
>
Table of contents
Constructors
Methods
Constructors
constructor
• new Labels(agent
)
Creates an instance of Repository.
Parameters
Name | Type |
---|---|
agent |
PeerAgent |
Inherited from
Methods
crudReq
▸ crudReq(data
): void
Sends a CRUD request to the xFrame.
Parameters
Name | Type |
---|---|
data |
any |
Returns
void
Inherited from
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
>