/*
 * 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};

/// UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem : A predefined service from Google's service type catalog
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem {
    /// Service type ID from Google's catalog (e.g. 'job_type_id:plumbing_drain_repair')
    #[serde(rename = "serviceTypeId", skip_serializing_if = "Option::is_none")]
    pub service_type_id: Option<String>,
    /// Optional description of the service
    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
}

impl UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem {
    /// A predefined service from Google's service type catalog
    pub fn new() -> UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem
    {
        UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem {
            service_type_id: None,
            description: None,
        }
    }
}
