print_nanny_client/models/
octoprint_python.rs

1/*
2 * print-nanny-client
3 *
4 * Official API client library for print-nanny.com
5 *
6 * The version of the OpenAPI document: 0.0.0
7 * Contact: leigh@print-nanny.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct OctoprintPython {
16    #[serde(rename = "version")]
17    pub version: String,
18    #[serde(rename = "pip")]
19    pub pip: String,
20    #[serde(rename = "virtualenv")]
21    pub virtualenv: String,
22}
23
24impl OctoprintPython {
25    pub fn new(version: String, pip: String, virtualenv: String) -> OctoprintPython {
26        OctoprintPython {
27            version,
28            pip,
29            virtualenv,
30        }
31    }
32}
33
34