Class: Label
A simple key value object that represents a label.
Extends
BaseClient
Constructors
new Label()
new Label(
ctx
?,_id
?,_name
?,_value
?):Label
Constructor is used for internal usage only, do not create object from it.
Parameters
ctx?
Context
_id?
_name?
string
_value?
string
Returns
Overrides
BaseClient.constructor
Methods
id()
id():
Promise
<LabelID
>
A unique identifier for this Label.
Returns
Promise
<LabelID
>
name()
name():
Promise
<string
>
The label name.
Returns
Promise
<string
>
value()
value():
Promise
<string
>
The label value.
Returns
Promise
<string
>