/*
 * 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 GetConversionMetrics200ResponseRowsInner {
    /// YYYY-MM-DD
    #[serde(rename = "start", skip_serializing_if = "Option::is_none")]
    pub start: Option<String>,
    /// YYYY-MM-DD (inclusive)
    #[serde(rename = "end", skip_serializing_if = "Option::is_none")]
    pub end: Option<String>,
    #[serde(rename = "metrics", skip_serializing_if = "Option::is_none")]
    pub metrics: Option<
        std::collections::HashMap<
            String,
            models::GetConversionMetrics200ResponseRowsInnerMetricsValue,
        >,
    >,
}

impl GetConversionMetrics200ResponseRowsInner {
    pub fn new() -> GetConversionMetrics200ResponseRowsInner {
        GetConversionMetrics200ResponseRowsInner {
            start: None,
            end: None,
            metrics: None,
        }
    }
}
