redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
// Generated by redfish-codegen. Do not modify.

use crate::models;

/// The Gen-Z related properties for an entity.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct GenZ {
    /// The Access Key for the entity.
    #[serde(rename = "AccessKey")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub access_key: Option<String>,
    #[serde(rename = "GCID")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub gcid: Option<models::endpoint::v1_8_0::GCID>,
    /// The Region Key for the entity.
    #[serde(rename = "RegionKey")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub region_key: Option<String>,
}

impl crate::Metadata<'static> for GenZ {
    const JSON_SCHEMA: &'static str = "Endpoint.v1_8_0.json";
}