/*
* 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 RemoteDeployTarget {
/// root URL of the remote Windmill instance, without /api
#[serde(rename = "base_url")]
pub base_url: String,
/// workspace on the remote instance that deploys land in
#[serde(rename = "workspace_id")]
pub workspace_id: String,
}
impl RemoteDeployTarget {
pub fn new(base_url: String, workspace_id: String) -> RemoteDeployTarget {
RemoteDeployTarget {
base_url,
workspace_id,
}
}
}