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 ClauseRow {
    /// Controls are the ids behind it, strongest first. Empty when nothing covers it — and an absent control is never listed here, however it maps.
    #[serde(rename = "controls", skip_serializing_if = "Option::is_none")]
    pub controls: Option<Vec<String>>,
    /// Group is the clause's section within the standard, when it has one.
    #[serde(rename = "group", skip_serializing_if = "Option::is_none")]
    pub group: Option<String>,
    /// ID is the clause id as the standard publishes it — \"CC6.1\", \"A.5.15\", \"AC\".
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    /// Level is what the strongest control pointed at this clause is worth: \"automated\", \"partial\" or \"none\".
    #[serde(rename = "level", skip_serializing_if = "Option::is_none")]
    pub level: Option<String>,
    /// Title is the standard's own words for that clause.
    #[serde(rename = "title", skip_serializing_if = "Option::is_none")]
    pub title: Option<String>,
}

impl ClauseRow {
    pub fn new() -> ClauseRow {
        ClauseRow {
            controls: None,
            group: None,
            id: None,
            level: None,
            title: None,
        }
    }
}