/*
 * 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 GetGoogleBusinessAttributes200ResponseAttributesInner {
    /// Attribute identifier (e.g. has_delivery)
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Value type (BOOL, ENUM, URL, REPEATED_ENUM)
    #[serde(rename = "valueType", skip_serializing_if = "Option::is_none")]
    pub value_type: Option<String>,
    #[serde(rename = "values", skip_serializing_if = "Option::is_none")]
    pub values: Option<Vec<serde_json::Value>>,
    #[serde(rename = "repeatedEnumValue", skip_serializing_if = "Option::is_none")]
    pub repeated_enum_value:
        Option<Box<models::GetGoogleBusinessAttributes200ResponseAttributesInnerRepeatedEnumValue>>,
}

impl GetGoogleBusinessAttributes200ResponseAttributesInner {
    pub fn new() -> GetGoogleBusinessAttributes200ResponseAttributesInner {
        GetGoogleBusinessAttributes200ResponseAttributesInner {
            name: None,
            value_type: None,
            values: None,
            repeated_enum_value: None,
        }
    }
}
