/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.812.0
* Contact: contact@windmill.dev
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// GuestEntry : What a signed-out visitor needs to start a guest sign-in.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GuestEntry {
#[serde(rename = "workspace_id")]
pub workspace_id: String,
#[serde(rename = "app_path")]
pub app_path: String,
}
impl GuestEntry {
/// What a signed-out visitor needs to start a guest sign-in.
pub fn new(workspace_id: String, app_path: String) -> GuestEntry {
GuestEntry {
workspace_id,
app_path,
}
}
}