orthanc_client_ogen 1.12.8

Orthanc API client library produced by OpenAPI Generator
Documentation
/*
 * Orthanc API
 *
 * This is the full documentation of the [REST API](https://orthanc.uclouvain.be/book/users/rest.html) of Orthanc.<p>This reference is automatically generated from the source code of Orthanc. A [shorter cheat sheet](https://orthanc.uclouvain.be/book/users/rest-cheatsheet.html) is part of the Orthanc Book.<p>An earlier, manually crafted version from August 2019, is [still available](2019-08-orthanc-openapi.html), but is not up-to-date anymore ([source](https://groups.google.com/g/orthanc-users/c/NUiJTEICSl8/m/xKeqMrbqAAAJ)).
 *
 * The version of the OpenAPI document: 1.12.8
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// PeersIdPutRequest : 
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PeersIdPutRequest {
    /// SSL certificate for the HTTPS connections
    #[serde(rename = "CertificateFile", skip_serializing_if = "Option::is_none")]
    pub certificate_file: Option<String>,
    /// Key file for the SSL certificate for the HTTPS connections
    #[serde(rename = "CertificateKeyFile", skip_serializing_if = "Option::is_none")]
    pub certificate_key_file: Option<String>,
    /// Key password for the SSL certificate for the HTTPS connections
    #[serde(rename = "CertificateKeyPassword", skip_serializing_if = "Option::is_none")]
    pub certificate_key_password: Option<String>,
    /// HTTP headers to be used for the connections to the remote peer
    #[serde(rename = "HttpHeaders", skip_serializing_if = "Option::is_none")]
    pub http_headers: Option<serde_json::Value>,
    /// Password for the credentials
    #[serde(rename = "Password", skip_serializing_if = "Option::is_none")]
    pub password: Option<String>,
    /// URL of the root of the REST API of the remote Orthanc peer, for instance `http://localhost:8042/`
    #[serde(rename = "URL", skip_serializing_if = "Option::is_none")]
    pub url: Option<String>,
    /// Username for the credentials
    #[serde(rename = "Username", skip_serializing_if = "Option::is_none")]
    pub username: Option<String>,
}

impl PeersIdPutRequest {
    /// 
    pub fn new() -> PeersIdPutRequest {
        PeersIdPutRequest {
            certificate_file: None,
            certificate_key_file: None,
            certificate_key_password: None,
            http_headers: None,
            password: None,
            url: None,
            username: None,
        }
    }
}