/** * VeriWine REST API * Defintion of VeriWine REST API * * OpenAPI spec version: 0.1.1 * Contact: info@short.ch * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { AgingDto } from './aging-dto'; import { ConsumptionPreparationDto } from './consumption-preparation-dto'; import { GrapeVarietyDto } from './grape-variety-dto'; import { NutritionDto } from './nutrition-dto'; import { WineProductDto } from './wine-product-dto'; import { WineProductInstanceTastingNoteDto } from './wine-product-instance-tasting-note-dto'; import { WineProductInstanceVineyardDto } from './wine-product-instance-vineyard-dto'; export interface WineProductInstanceDto { /** * Wine product instance ID */ id?: number; /** * Parent wine product ID */ wineProductId?: number; wineProductDto?: WineProductDto; /** * Year */ year?: number; /** * Wine category */ category?: string; /** * Appellation ID */ appellation?: number; /** * Wine style */ style?: string; /** * Wine taste */ taste?: string; /** * Unit of measure */ unitOfMeasure?: string; /** * Number of units of measure */ numberOfUnits?: number; /** * Volume in liters (read-only info) */ volumeL?: number; /** * Alcohol percent */ alcoholPercent?: number; /** * Is best before date unlimited */ bestBeforeUnlimited?: boolean; /** * Best before (year) */ bestBeforeYear?: number; /** * Best before (month number) */ bestBeforeMonth?: string; /** * Is best from date unlimited */ bestFromUnlimited?: boolean; /** * Best from (year) */ bestFromYear?: number; /** * Best from (month number) */ bestFromMonth?: string; /** * Serving temperature */ servingTemperature?: string; /** * Nutritional value per 100ml */ nutrition?: Array; consumptionPreparation?: Array; /** * The list of wine agings */ agings?: Array; /** * The list of grape varieties */ grapeVarieties?: Array; /** * The list of vineyards */ vineyards?: Array; tastingNotes?: Array; oenologistId?: number; productionDescription?: string; agingDescription?: string; bottleAgingInMonths?: number; drinkingAgeInYears?: number; /** * Residual sugar measured in g/L */ sugarContent?: number; }