windmill-api 1.817.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Windmill API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.817.0
 * Contact: contact@windmill.dev
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RemoteDeployConnection {
    /// identity the stored token has on the remote instance
    #[serde(rename = "remote_email")]
    pub remote_email: String,
    /// goes in every proxy URL, `/w/{workspace}/remote_deploy/proxy/{proxy_key}/{route}`
    #[serde(rename = "proxy_key")]
    pub proxy_key: String,
    #[serde(rename = "connected_at")]
    pub connected_at: String,
}

impl RemoteDeployConnection {
    pub fn new(remote_email: String, proxy_key: String, connected_at: String) -> RemoteDeployConnection {
        RemoteDeployConnection {
            remote_email,
            proxy_key,
            connected_at,
        }
    }
}