/*
* 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 RiskDatasetDisposal {
/// Dataset is the dataset that was disposed of. The NAME survives: declaring it again continues the version count rather than starting over at 1.
#[serde(rename = "dataset", skip_serializing_if = "Option::is_none")]
pub dataset: Option<String>,
/// Rows is how many rows they held between them, as the REGISTER recorded them when each was materialised — not a count of what the drop deleted, which is gone by the time this answers.
#[serde(rename = "rows", skip_serializing_if = "Option::is_none")]
pub rows: Option<i32>,
/// Versions is how many versions went.
#[serde(rename = "versions", skip_serializing_if = "Option::is_none")]
pub versions: Option<i32>,
}
impl RiskDatasetDisposal {
pub fn new() -> RiskDatasetDisposal {
RiskDatasetDisposal {
dataset: None,
rows: None,
versions: None,
}
}
}