/*
 * Zernio API
 *
 * API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
 *
 * The version of the OpenAPI document: 1.0.4
 * Contact: support@zernio.com
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UpdateGoogleBusinessFoodMenusRequest {
    /// Array of food menus to set
    #[serde(rename = "menus")]
    pub menus: Vec<models::FoodMenu>,
    /// Field mask for partial updates (e.g. \"menus\")
    #[serde(rename = "updateMask", skip_serializing_if = "Option::is_none")]
    pub update_mask: Option<String>,
}

impl UpdateGoogleBusinessFoodMenusRequest {
    pub fn new(menus: Vec<models::FoodMenu>) -> UpdateGoogleBusinessFoodMenusRequest {
        UpdateGoogleBusinessFoodMenusRequest {
            menus,
            update_mask: None,
        }
    }
}
