redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Generated by redfish-codegen. Do not modify.


/// This action generates a certificate signing request by using the existing information and key-pair of the certificate.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct RenewRequestBody {
    /// The challenge password to apply to the certificate for revocation requests.
    #[serde(rename = "ChallengePassword")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub challenge_password: Option<String>,
}

impl crate::Metadata<'static> for RenewRequestBody {
    const JSON_SCHEMA: &'static str = "Certificate.v1_7_0.json";
}