Class: EnumValueTypeDef
A definition of a value in a custom enum defined in a Module.
Extends
BaseClient
Constructors
new EnumValueTypeDef()
new EnumValueTypeDef(
ctx
?,_id
?,_description
?,_name
?):EnumValueTypeDef
Constructor is used for internal usage only, do not create object from it.
Parameters
ctx?
Context
_id?
_description?
string
_name?
string
Returns
Overrides
BaseClient.constructor
Methods
description()
description():
Promise
<string
>
A doc string for the enum value, if any.
Returns
Promise
<string
>
id()
id():
Promise
<EnumValueTypeDefID
>
A unique identifier for this EnumValueTypeDef.
Returns
Promise
<EnumValueTypeDefID
>
name()
name():
Promise
<string
>
The name of the enum value.
Returns
Promise
<string
>
sourceMap()
sourceMap():
SourceMap
The location of this enum value declaration.