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 ConfigRemoteUpdateRemoteRequest {

    /// Authentication ID
    #[serde(rename = "auth-id", skip_serializing_if = "Option::is_none")]
    pub auth_id: Option<String>,

    /// Comment.
    #[serde(rename = "comment", skip_serializing_if = "Option::is_none")]
    pub comment: Option<String>,

    /// List of properties to delete.
    #[serde(rename = "delete", skip_serializing_if = "Option::is_none")]
    pub delete: Option<Vec<models::PbsConfigRemoteInlineEnum>>,

    /// Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
    #[serde(rename = "digest", skip_serializing_if = "Option::is_none")]
    pub digest: Option<String>,

    /// X509 certificate fingerprint (sha256).
    #[serde(rename = "fingerprint", skip_serializing_if = "Option::is_none")]
    pub fingerprint: Option<String>,

    /// DNS name or IP address.
    #[serde(rename = "host", skip_serializing_if = "Option::is_none")]
    pub host: Option<String>,

    /// Password or auth token for remote host.
    #[serde(rename = "password", skip_serializing_if = "Option::is_none")]
    pub password: Option<String>,

    /// The (optional) port
    #[serde(rename = "port", skip_serializing_if = "Option::is_none")]
    pub port: Option<i64>,

    /// Use the http proxy configuration of the node for remote connections.
    #[serde(rename = "use-node-proxy", skip_serializing_if = "Option::is_none")]
    pub use_node_proxy: Option<bool>,


}

impl ConfigRemoteUpdateRemoteRequest {
    pub fn new() -> ConfigRemoteUpdateRemoteRequest {
        ConfigRemoteUpdateRemoteRequest {
            
            auth_id: None,
            
            comment: None,
            
            delete: None,
            
            digest: None,
            
            fingerprint: None,
            
            host: None,
            
            password: None,
            
            port: None,
            
            use_node_proxy: None,
            
        }
    }
}