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 RiskModelFeature {
    /// Blind is how often this dimension took that neutral value for THIS organisation.
    #[serde(rename = "blind", skip_serializing_if = "Option::is_none")]
    pub blind: Option<i32>,
    /// Citation is where those words come from, so the claim is checkable rather than asserted.
    #[serde(rename = "citation", skip_serializing_if = "Option::is_none")]
    pub citation: Option<String>,
    /// Indicator is the supervisor's own words for the thing being looked for.
    #[serde(rename = "indicator", skip_serializing_if = "Option::is_none")]
    pub indicator: Option<String>,
    /// Name is the dimension.
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Neutral is the value the coordinate takes when the data cannot support it.
    #[serde(rename = "neutral", skip_serializing_if = "Option::is_none")]
    pub neutral: Option<f64>,
    /// Severity is how much weight an alert on it carries.
    #[serde(rename = "severity", skip_serializing_if = "Option::is_none")]
    pub severity: Option<String>,
    /// Typology is the pattern this dimension detects.
    #[serde(rename = "typology", skip_serializing_if = "Option::is_none")]
    pub typology: Option<String>,
    /// Unit is how to read the raw number, which is what turns a coordinate into a sentence an investigator can put in a file.
    #[serde(rename = "unit", skip_serializing_if = "Option::is_none")]
    pub unit: Option<String>,
    /// Window is the sliding aggregate it reads.
    #[serde(rename = "window", skip_serializing_if = "Option::is_none")]
    pub window: Option<String>,
}

impl RiskModelFeature {
    pub fn new() -> RiskModelFeature {
        RiskModelFeature {
            blind: None,
            citation: None,
            indicator: None,
            name: None,
            neutral: None,
            severity: None,
            typology: None,
            unit: None,
            window: None,
        }
    }
}