/*
* Core
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2023-08-01
* Contact: core@stedi.com
* Generated by: https://openapi-generator.tech
*/
use crate::core::models;
use serde::{Deserialize, Serialize};
/// ExecutionSource : The source of the file, including the directory where Stedi received it and the file name.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ExecutionSource {
/// The directory where Stedi received the file for processing.
#[serde(rename = "dirname")]
pub dirname: String,
/// The name of the file.
#[serde(rename = "name")]
pub name: String,
}
impl ExecutionSource {
/// The source of the file, including the directory where Stedi received it and the file name.
pub fn new(dirname: String, name: String) -> ExecutionSource {
ExecutionSource {
dirname,
name,
}
}
}