/*
* 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 TrustDecision {
/// Days is how long the grant stays open, from now. Optional; 14 by default and 365 at most — a longer release is describing a customer relationship rather than a document.
#[serde(rename = "days", skip_serializing_if = "Option::is_none")]
pub days: Option<i32>,
/// ID is the request to answer, taken from the path.
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<String>,
/// Note is why. Recorded on the request either way, and it is what the record shows a year later.
#[serde(rename = "note", skip_serializing_if = "Option::is_none")]
pub note: Option<String>,
}
impl TrustDecision {
pub fn new() -> TrustDecision {
TrustDecision {
days: None,
id: None,
note: None,
}
}
}