/*
 * fruity
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.0.1
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum Fruit {
    Apples(std::collections::HashMap<String, models::Apple>),
    Grapes(Vec<models::Grape>),
}

impl Default for Fruit {
    fn default() -> Self {
        Self::Apples(Default::default())
    }
}

