print_nanny_api_client/models/octoprint_platform.rs
1/*
2 * printnanny-api-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 OctoprintPlatform {
16 #[serde(rename = "id")]
17 pub id: String,
18 #[serde(rename = "platform")]
19 pub platform: String,
20 #[serde(rename = "bits")]
21 pub bits: String,
22}
23
24impl OctoprintPlatform {
25 pub fn new(id: String, platform: String, bits: String) -> OctoprintPlatform {
26 OctoprintPlatform {
27 id,
28 platform,
29 bits,
30 }
31 }
32}
33
34