Skip to main content

clientapi_pve/models/
lxc_vncproxy_request.rs

1/*
2 * Proxmox Virtual Environment API
3 *
4 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-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 LxcVncproxyRequest {
16
17    /// sets the height of the console in pixels.
18    #[serde(rename = "height", skip_serializing_if = "Option::is_none")]
19    pub height: Option<i32>,
20
21    /// use websocket instead of standard VNC.
22    #[serde(rename = "websocket", skip_serializing_if = "Option::is_none")]
23    pub websocket: Option<models::PveBoolean>,
24
25    /// sets the width of the console in pixels.
26    #[serde(rename = "width", skip_serializing_if = "Option::is_none")]
27    pub width: Option<i32>,
28
29
30}
31
32impl LxcVncproxyRequest {
33    pub fn new() -> LxcVncproxyRequest {
34        LxcVncproxyRequest {
35            
36            height: None,
37            
38            websocket: None,
39            
40            width: None,
41            
42        }
43    }
44}
45
46