clientapi-pbs 2026.5.24

Generated from apidoc.js. NOT an official Proxmox specification. See https://pbs.proxmox.com/docs/api-viewer/ for the upstream documentation.
Documentation
/*
 * Proxmox Backup Server API
 *
 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pbs.proxmox.com/docs/api-viewer/ for the upstream documentation.
 *
 * The version of the OpenAPI document: 9.x
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TapeMediaGetContentResponseDataInner {

    /// Snapshot creation time (epoch)
    #[serde(rename = "backup-time")]
    pub backup_time: i64,

    /// Media label text (or Barcode)
    #[serde(rename = "label-text")]
    pub label_text: String,

    /// MediaSet Creation time stamp
    #[serde(rename = "media-set-ctime")]
    pub media_set_ctime: i64,

    /// Media set name
    #[serde(rename = "media-set-name")]
    pub media_set_name: String,

    /// MediaSet Uuid (We use the all-zero Uuid to reserve an empty media for a specific pool).
    #[serde(rename = "media-set-uuid")]
    pub media_set_uuid: String,

    /// Media Pool
    #[serde(rename = "pool")]
    pub pool: String,

    /// Media set seq_nr
    #[serde(rename = "seq-nr")]
    pub seq_nr: i64,

    /// Backup snapshot
    #[serde(rename = "snapshot")]
    pub snapshot: String,

    /// Datastore Name
    #[serde(rename = "store")]
    pub store: String,

    /// Media Uuid.
    #[serde(rename = "uuid")]
    pub uuid: String,


}

impl TapeMediaGetContentResponseDataInner {
    pub fn new(backup_time: i64, label_text: String, media_set_ctime: i64, media_set_name: String, media_set_uuid: String, pool: String, seq_nr: i64, snapshot: String, store: String, uuid: String) -> TapeMediaGetContentResponseDataInner {
        TapeMediaGetContentResponseDataInner {
            
            backup_time,
            
            label_text,
            
            media_set_ctime,
            
            media_set_name,
            
            media_set_uuid,
            
            pool,
            
            seq_nr,
            
            snapshot,
            
            store,
            
            uuid,
            
        }
    }
}