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 O11yPeriodO11yListError {
    /// ExceptionCount is how many instances the group holds in the window.
    #[serde(rename = "exceptionCount", skip_serializing_if = "Option::is_none")]
    pub exception_count: Option<i32>,
    /// ExceptionMsg is its message.
    #[serde(rename = "exceptionMessage", skip_serializing_if = "Option::is_none")]
    pub exception_message: Option<String>,
    /// ExceptionType is the exception's type.
    #[serde(rename = "exceptionType", skip_serializing_if = "Option::is_none")]
    pub exception_type: Option<String>,
    /// FirstSeen is when the earliest was.
    #[serde(rename = "firstSeen", skip_serializing_if = "Option::is_none")]
    pub first_seen: Option<String>,
    /// GroupID is the group's id.
    #[serde(rename = "groupID", skip_serializing_if = "Option::is_none")]
    pub group_id: Option<String>,
    /// LastSeen is when the latest instance was recorded.
    #[serde(rename = "lastSeen", skip_serializing_if = "Option::is_none")]
    pub last_seen: Option<String>,
    /// ServiceName is the service that reported them.
    #[serde(rename = "serviceName", skip_serializing_if = "Option::is_none")]
    pub service_name: Option<String>,
}

impl O11yPeriodO11yListError {
    pub fn new() -> O11yPeriodO11yListError {
        O11yPeriodO11yListError {
            exception_count: None,
            exception_message: None,
            exception_type: None,
            first_seen: None,
            group_id: None,
            last_seen: None,
            service_name: None,
        }
    }
}