@nebius/js-sdk - v0.2.54
    Preparing search index...

    Interface EnumClassInterface

    Defines the static operations of an enum stored in a Registry.

    interface EnumClassInterface {
        _byCode: Map<number, EnumInstanceInterface>;
        _byName: Map<string, EnumInstanceInterface>;
        $type: string;
        UNRECOGNIZED: EnumInstanceInterface;
        values: readonly EnumInstanceInterface[];
        encodeField(
            writer: BinaryWriter,
            fieldNo: number,
            v?: EnumInstanceInterface,
        ): void;
        fromJSON(o: any): EnumInstanceInterface;
        fromNumber(n: number): EnumInstanceInterface;
        toJSON(v: EnumInstanceInterface): string | number;
    }
    Index
    _byCode: Map<number, EnumInstanceInterface>

    Maps numeric codes to enum values.

    _byName: Map<string, EnumInstanceInterface>

    Maps names to enum values.

    $type: string

    Contains the fully qualified runtime type name.

    UNRECOGNIZED: EnumInstanceInterface

    Contains the value for an unrecognized enum number or name.

    values: readonly EnumInstanceInterface[]

    Contains the values.