Skip to main content

Class: EnvVariable

An environment variable name and value.

Extends

  • BaseClient

Constructors

new EnvVariable()

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

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

Parameters

parent?

parent.ctx?: Context

parent.queryTree?: QueryTree[]

_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>