/*
* 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 ReqPostChildSystem {
/// Short descriptive name for the system that is unique within the tenant.
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<String>,
/// Username to use when accessing the system. A specific user (such as a service account) or the dynamic user ``${apiUserId}``.
#[serde(rename = "effectiveUserId")]
pub effective_user_id: String,
/// Effective root directory to be used when listing files or moving files to and from the system.
#[serde(rename = "rootDir")]
pub root_dir: String,
}
impl ReqPostChildSystem {
pub fn new(effective_user_id: String, root_dir: String) -> ReqPostChildSystem {
ReqPostChildSystem {
id: None,
effective_user_id,
root_dir,
}
}
}