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. |
Methods
toString() → {String}
Returns the GraphQL query string for the enum (e.g. enumKey
).
Returns:
The GraphQL query string for the enum.
- Type
- String