redfish_codegen/models/certificate/v1_7_0/
renew_request_body.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// This action generates a certificate signing request by using the existing information and key-pair of the certificate.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct RenewRequestBody {
9    /// The challenge password to apply to the certificate for revocation requests.
10    #[serde(rename = "ChallengePassword")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub challenge_password: Option<String>,
13}
14
15impl crate::Metadata<'static> for RenewRequestBody {
16    const JSON_SCHEMA: &'static str = "Certificate.v1_7_0.json";
17}