hanzo-client 8.5.156

Generated client for the Hanzo API — every service, one crate.
Documentation
/*
 * Hanzo Cloud API
 *
 * The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct O11yPeriodO11yDraftFunnelIn {
    /// EndTime is the end of the window, as a millisecond epoch.
    #[serde(rename = "end_time", skip_serializing_if = "Option::is_none")]
    pub end_time: Option<i32>,
    /// StartTime is the start of the window, as a millisecond epoch.
    #[serde(rename = "start_time", skip_serializing_if = "Option::is_none")]
    pub start_time: Option<i32>,
    /// StepEnd is the step the transition runs to, 1-based.
    #[serde(rename = "step_end", skip_serializing_if = "Option::is_none")]
    pub step_end: Option<i32>,
    /// StepStart is the step the transition runs from, 1-based. Ignored by the reads that span the whole funnel.
    #[serde(rename = "step_start", skip_serializing_if = "Option::is_none")]
    pub step_start: Option<i32>,
    /// Steps are the funnel's steps, in order. At least two are needed.
    #[serde(rename = "steps", skip_serializing_if = "Option::is_none")]
    pub steps: Option<Vec<models::O11yPeriodFunnelStep>>,
}

impl O11yPeriodO11yDraftFunnelIn {
    pub fn new() -> O11yPeriodO11yDraftFunnelIn {
        O11yPeriodO11yDraftFunnelIn {
            end_time: None,
            start_time: None,
            step_end: None,
            step_start: None,
            steps: None,
        }
    }
}