clientapi_pve/models/storage_create_storage_response_data_config.rs
1/*
2 * Proxmox Virtual Environment API
3 *
4 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-docs/api-viewer/ for the upstream documentation.
5 *
6 * The version of the OpenAPI document: 9.x
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// StorageCreateStorageResponseDataConfig : Partial, possibly server generated, configuration properties.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct StorageCreateStorageResponseDataConfig {
17
18 /// The, possibly auto-generated, encryption-key.
19 #[serde(rename = "encryption-key", skip_serializing_if = "Option::is_none")]
20 pub encryption_key: Option<String>,
21
22
23}
24
25impl StorageCreateStorageResponseDataConfig {
26 /// Partial, possibly server generated, configuration properties.
27 pub fn new() -> StorageCreateStorageResponseDataConfig {
28 StorageCreateStorageResponseDataConfig {
29
30 encryption_key: None,
31
32 }
33 }
34}
35
36