Class: Enum

Enum

new Enum(key)

This constructor should not be invoked directly. Use the factory function Client#enum to create an Enum.

Parameters:
Name Type Description
key String

The key of the enum.

Source:

Methods

toString() → {String}

Returns the GraphQL query string for the enum (e.g. enumKey).

Source:
Returns:

The GraphQL query string for the enum.

Type
String