/*
* DTZ Containers
*
* a generated client for the DTZ Containers API
*
* Contact: jens@apimeister.com
* Generated by: https://openapi-generator.tech
*/
#[allow(unused_imports)]
use crate::models;
#[allow(unused_imports)]
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct VolumeMount {
/// name of the volume
#[serde(rename = "source")]
pub source: String,
/// target path inside the container
#[serde(rename = "target")]
pub target: String,
}
impl VolumeMount {
pub fn new(source: String, target: String) -> VolumeMount {
VolumeMount {
source,
target,
}
}
}