Skip to main content

Class: EnvVariable

An environment variable name and value.

Extends​

  • BaseClient

Constructors​

Constructor​

new EnvVariable(ctx?, _id?, _name?, _value?): EnvVariable

Constructor is used for internal usage only, do not create object from it.

Parameters​

ctx?​

Context

_id?​

EnvVariableID

_name?​

string

_value?​

string

Returns​

EnvVariable

Overrides​

BaseClient.constructor

Methods​

id()​

id(): Promise<EnvVariableID>

A unique identifier for this EnvVariable.

Returns​

Promise<EnvVariableID>


name()​

name(): Promise<string>

The environment variable name.

Returns​

Promise<string>


value()​

value(): Promise<string>

The environment variable value.

Returns​

Promise<string>