Represents a base class for GraphQL models.
Contains the logic for managing and iterating through model's fields, hydrating model with values, validating property values, etc.
[Symbol.iterator]<T>(): GqlModelIteratorType<T>
Provides an iterator over the model's properties.
__init__(): this
Initializes the model, setting up the names of all properties based on the model's prototype.
Retrieves the name of the model. If the name is not set, retrieves the class name, removing the trailing 'GqlModel' if it exists.
getProperties(): string[]
Retrieves all properties of the model.
reset(): this
Resets all the properties in the model to undefined.
validate(): ValidationResultType
Validates all properties of the model.