/*
 * 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.1
 * 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 UpdateGoogleBusinessAttributesRequest {
    #[serde(rename = "attributes")]
    pub attributes: Vec<models::UpdateGoogleBusinessAttributesRequestAttributesInner>,
    /// Comma-separated attribute names to update (e.g. 'has_delivery,has_takeout')
    #[serde(rename = "attributeMask")]
    pub attribute_mask: String,
}

impl UpdateGoogleBusinessAttributesRequest {
    pub fn new(
        attributes: Vec<models::UpdateGoogleBusinessAttributesRequestAttributesInner>,
        attribute_mask: String,
    ) -> UpdateGoogleBusinessAttributesRequest {
        UpdateGoogleBusinessAttributesRequest {
            attributes,
            attribute_mask,
        }
    }
}
