1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct CloudSettingsSettingsCloudPolicyDefaults {
    /// Specifies if files with snapshots should be archived.
    #[serde(rename = "archive_snapshot_files")]
    pub archive_snapshot_files: Option<bool>,
    /// Specifies default cloudpool cache settings for new filepool policies.
    #[serde(rename = "cache")]
    pub cache: Option <crate::models::CloudSettingsSettingsCloudPolicyDefaultsCache>,
    /// Specifies if files should be compressed.
    #[serde(rename = "compression")]
    pub compression: Option<bool>,
    /// Specifies the minimum amount of time archived data will be retained in the cloud after deletion.
    #[serde(rename = "data_retention")]
    pub data_retention: Option<i32>,
    /// Specifies if files should be encrypted.
    #[serde(rename = "encryption")]
    pub encryption: Option<bool>,
    /// (Used with NDMP backups only.  Not applicable to SyncIQ.)  The minimum amount of time cloud files will be retained after the creation of a full NDMP backup.
    #[serde(rename = "full_backup_retention")]
    pub full_backup_retention: Option<i32>,
    /// (Used with SyncIQ and NDMP backups.)  The minimum amount of time cloud files will be retained after the creation of a SyncIQ backup or an incremental NDMP backup.
    #[serde(rename = "incremental_backup_retention")]
    pub incremental_backup_retention: Option<i32>,
    /// The minimum amount of time to wait before updating cloud data with local changes.
    #[serde(rename = "writeback_frequency")]
    pub writeback_frequency: Option<i32>,
}