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

/// GoogleBusinessPlatformDataEventScheduleEndDate : Event end date as { year, month, day }
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GoogleBusinessPlatformDataEventScheduleEndDate {
    #[serde(rename = "year")]
    pub year: i32,
    #[serde(rename = "month")]
    pub month: i32,
    #[serde(rename = "day")]
    pub day: i32,
}

impl GoogleBusinessPlatformDataEventScheduleEndDate {
    /// Event end date as { year, month, day }
    pub fn new(year: i32, month: i32, day: i32) -> GoogleBusinessPlatformDataEventScheduleEndDate {
        GoogleBusinessPlatformDataEventScheduleEndDate { year, month, day }
    }
}
