nethsm_sdk_rs/models/
restore_request_arguments.rs

1/*
2 * NetHSM
3 *
4 * All endpoints expect exactly the specified JSON. Additional properties will cause a Bad Request Error (400). All HTTP errors contain a JSON structure with an explanation of type string. All [base64](https://tools.ietf.org/html/rfc4648#section-4) encoded values are Big Endian.
5 *
6 * The version of the OpenAPI document: v1
7 * Contact: Nitrokey <info@nitrokey.com>
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12#[non_exhaustive]
13pub struct RestoreRequestArguments {
14    #[serde(rename = "backupPassphrase", skip_serializing_if = "Option::is_none")]
15    pub backup_passphrase: Option<String>,
16    #[serde(rename = "systemTime", skip_serializing_if = "Option::is_none")]
17    pub system_time: Option<String>,
18}
19
20impl RestoreRequestArguments {
21    pub fn new() -> RestoreRequestArguments {
22        RestoreRequestArguments {
23            backup_passphrase: None,
24            system_time: None,
25        }
26    }
27}