/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.2.0
 * 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 RawScriptForDependencies {
    #[serde(rename = "raw_code")]
    pub raw_code: String,
    #[serde(rename = "path")]
    pub path: String,
    #[serde(rename = "language")]
    pub language: models::ScriptLang,
}

impl RawScriptForDependencies {
    pub fn new(raw_code: String, path: String, language: models::ScriptLang) -> RawScriptForDependencies {
        RawScriptForDependencies {
            raw_code,
            path,
            language,
        }
    }
}

