Skip to main content

clientapi_pbs/models/
admin_datastore_delete_groups_response_data.rs

1/*
2 * Proxmox Backup Server API
3 *
4 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pbs.proxmox.com/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#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct AdminDatastoreDeleteGroupsResponseData {
16
17    /// Number of entities
18    #[serde(rename = "protected-snapshots")]
19    pub protected_snapshots: i64,
20
21    /// Number of entities
22    #[serde(rename = "removed-groups")]
23    pub removed_groups: i64,
24
25    /// Number of entities
26    #[serde(rename = "removed-snapshots")]
27    pub removed_snapshots: i64,
28
29
30}
31
32impl AdminDatastoreDeleteGroupsResponseData {
33    pub fn new(protected_snapshots: i64, removed_groups: i64, removed_snapshots: i64) -> AdminDatastoreDeleteGroupsResponseData {
34        AdminDatastoreDeleteGroupsResponseData {
35            
36            protected_snapshots,
37            
38            removed_groups,
39            
40            removed_snapshots,
41            
42        }
43    }
44}
45
46