Expand description
Data objects related to Recipes.
§Description
This module includes the definition of the object Recipe which is a representation of a recipe entry in the
Cocktail DB. This object is used to transfer data to/from the DB. When a query to the API related to any
operation with recipes is aimed, the object RecipeQuery shall be used instead of Recipe. The former only
includes those Recipe’s members that the API implement logic for. Furthermore, members are nullable, so only
the aimed member needs to be populated by the client of the API.
Structs§
- Object that represents a Recipe of the
Cocktaildata base. - Object that represents the relation between [Ingredient] and Recipe.
- Query object for the
Recipeentity.
Enums§
Enumtype that defines common types of units in cooking recipes.- Categories of recipes.
- Simple
enumto represent a 5-star rating system.