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 O11yPeriodO11yOccurrenceFrame {
    /// AbsPath is the file's absolute path.
    #[serde(rename = "absPath", skip_serializing_if = "Option::is_none")]
    pub abs_path: Option<String>,
    /// Colno is the column number.
    #[serde(rename = "colno", skip_serializing_if = "Option::is_none")]
    pub colno: Option<i32>,
    /// Filename is the file it is in.
    #[serde(rename = "filename", skip_serializing_if = "Option::is_none")]
    pub filename: Option<String>,
    /// Function is the function the frame is in.
    #[serde(rename = "function", skip_serializing_if = "Option::is_none")]
    pub function: Option<String>,
    /// InApp marks a frame in the reporting application's own code.
    #[serde(rename = "inApp", skip_serializing_if = "Option::is_none")]
    pub in_app: Option<bool>,
    /// Lineno is the line number.
    #[serde(rename = "lineno", skip_serializing_if = "Option::is_none")]
    pub lineno: Option<i32>,
    /// Module is the module the function is in.
    #[serde(rename = "module", skip_serializing_if = "Option::is_none")]
    pub module: Option<String>,
}

impl O11yPeriodO11yOccurrenceFrame {
    pub fn new() -> O11yPeriodO11yOccurrenceFrame {
        O11yPeriodO11yOccurrenceFrame {
            abs_path: None,
            colno: None,
            filename: None,
            function: None,
            in_app: None,
            lineno: None,
            module: None,
        }
    }
}