Skip to main content

akeyless_api/models/
gateway_update_remote_access_desktop_app.rs

1/*
2 * Akeyless API
3 *
4 * The purpose of this application is to provide access to Akeyless API.
5 *
6 * The version of the OpenAPI document: 3.0
7 * Contact: support@akeyless.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// GatewayUpdateRemoteAccessDesktopApp : gatewayUpdateRemoteAccessDesktopApp is a command that update remote access desktop app config
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct GatewayUpdateRemoteAccessDesktopApp {
17    #[serde(rename = "desktop-app-secure-web-access-url", skip_serializing_if = "Option::is_none")]
18    pub desktop_app_secure_web_access_url: Option<String>,
19    #[serde(rename = "desktop-app-secure-web-proxy", skip_serializing_if = "Option::is_none")]
20    pub desktop_app_secure_web_proxy: Option<String>,
21    #[serde(rename = "desktop-app-ssh-cert-issuer", skip_serializing_if = "Option::is_none")]
22    pub desktop_app_ssh_cert_issuer: Option<String>,
23    /// Set output format to JSON
24    #[serde(rename = "json", skip_serializing_if = "Option::is_none")]
25    pub json: Option<bool>,
26    /// Authentication token (see `/auth` and `/configure`)
27    #[serde(rename = "token", skip_serializing_if = "Option::is_none")]
28    pub token: Option<String>,
29    /// The universal identity token, Required only for universal_identity authentication
30    #[serde(rename = "uid-token", skip_serializing_if = "Option::is_none")]
31    pub uid_token: Option<String>,
32}
33
34impl GatewayUpdateRemoteAccessDesktopApp {
35    /// gatewayUpdateRemoteAccessDesktopApp is a command that update remote access desktop app config
36    pub fn new() -> GatewayUpdateRemoteAccessDesktopApp {
37        GatewayUpdateRemoteAccessDesktopApp {
38            desktop_app_secure_web_access_url: None,
39            desktop_app_secure_web_proxy: None,
40            desktop_app_ssh_cert_issuer: None,
41            json: None,
42            token: None,
43            uid_token: None,
44        }
45    }
46}
47