1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* 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,
}
}
}