/*
* Tapis Systems API
*
* The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
*
* The version of the OpenAPI document: 25Q4.2
* Contact: cicsupport@tacc.utexas.edu
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ModuleLoadSpec {
#[serde(rename = "moduleLoadCommand")]
pub module_load_command: String,
#[serde(rename = "modulesToLoad", skip_serializing_if = "Option::is_none")]
pub modules_to_load: Option<Vec<String>>,
}
impl ModuleLoadSpec {
pub fn new(module_load_command: String) -> ModuleLoadSpec {
ModuleLoadSpec {
module_load_command,
modules_to_load: None,
}
}
}