Skip to main content

clientapi_pbs/models/
tape_drive_create_format_media_request.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 TapeDriveCreateFormatMediaRequest {
16
17    /// Use fast erase.
18    #[serde(rename = "fast", skip_serializing_if = "Option::is_none")]
19    pub fast: Option<bool>,
20
21    /// Media Label/Barcode.
22    #[serde(rename = "label-text", skip_serializing_if = "Option::is_none")]
23    pub label_text: Option<String>,
24
25
26}
27
28impl TapeDriveCreateFormatMediaRequest {
29    pub fn new() -> TapeDriveCreateFormatMediaRequest {
30        TapeDriveCreateFormatMediaRequest {
31            
32            fast: None,
33            
34            label_text: None,
35            
36        }
37    }
38}
39
40