/*
 * Artifact Keeper API
 *
 * Enterprise artifact registry supporting 45+ package formats.
 *
 * The version of the OpenAPI document: 1.0.0-rc.3
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CleanupRequest {
    #[serde(rename = "cleanup_audit_logs", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub cleanup_audit_logs: Option<Option<bool>>,
    #[serde(rename = "cleanup_old_backups", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub cleanup_old_backups: Option<Option<bool>>,
    #[serde(rename = "cleanup_stale_peers", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub cleanup_stale_peers: Option<Option<bool>>,
    #[serde(rename = "cleanup_stale_uploads", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub cleanup_stale_uploads: Option<Option<bool>>,
}

impl CleanupRequest {
    pub fn new() -> CleanupRequest {
        CleanupRequest {
            cleanup_audit_logs: None,
            cleanup_old_backups: None,
            cleanup_stale_peers: None,
            cleanup_stale_uploads: None,
        }
    }
}

