/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.2
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListDedicatedWithDeps200ResponseInner {
    #[serde(rename = "path")]
    pub path: String,
    #[serde(rename = "language")]
    pub language: Language,
    #[serde(rename = "workspace_dep_names")]
    pub workspace_dep_names: Vec<String>,
}

impl ListDedicatedWithDeps200ResponseInner {
    pub fn new(path: String, language: Language, workspace_dep_names: Vec<String>) -> ListDedicatedWithDeps200ResponseInner {
        ListDedicatedWithDeps200ResponseInner {
            path,
            language,
            workspace_dep_names,
        }
    }
}
/// 
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Language {
    #[serde(rename = "python3")]
    Python3,
    #[serde(rename = "deno")]
    Deno,
    #[serde(rename = "go")]
    Go,
    #[serde(rename = "bash")]
    Bash,
    #[serde(rename = "powershell")]
    Powershell,
    #[serde(rename = "postgresql")]
    Postgresql,
    #[serde(rename = "mysql")]
    Mysql,
    #[serde(rename = "bigquery")]
    Bigquery,
    #[serde(rename = "snowflake")]
    Snowflake,
    #[serde(rename = "mssql")]
    Mssql,
    #[serde(rename = "graphql")]
    Graphql,
    #[serde(rename = "nativets")]
    Nativets,
    #[serde(rename = "bun")]
    Bun,
    #[serde(rename = "bunnative")]
    Bunnative,
    #[serde(rename = "php")]
    Php,
    #[serde(rename = "rust")]
    Rust,
    #[serde(rename = "ansible")]
    Ansible,
    #[serde(rename = "csharp")]
    Csharp,
    #[serde(rename = "oracledb")]
    Oracledb,
    #[serde(rename = "duckdb")]
    Duckdb,
    #[serde(rename = "java")]
    Java,
    #[serde(rename = "ruby")]
    Ruby,
}

impl Default for Language {
    fn default() -> Language {
        Self::Python3
    }
}

