/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.841.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 GetDevWorkspaceIsolation200Response {
/// whether new jobs of dev workspaces and forks are queued on suffixed tags
#[serde(rename = "enabled")]
pub enabled: bool,
/// the suffix of those tags, which worker groups serving dev workspaces listen with
#[serde(rename = "suffix")]
pub suffix: String,
/// whether forks of a workspace that is not a dev workspace, nor under one, run on their parent's workers instead
#[serde(rename = "skip_non_dev_forks")]
pub skip_non_dev_forks: bool,
}
impl GetDevWorkspaceIsolation200Response {
pub fn new(enabled: bool, suffix: String, skip_non_dev_forks: bool) -> GetDevWorkspaceIsolation200Response {
GetDevWorkspaceIsolation200Response {
enabled,
suffix,
skip_non_dev_forks,
}
}
}