printnanny_api_client/models/
paginated_gcode_file_list.rs

1/*
2 * printnanny-api-client
3 *
4 * Official API client library for printnanny.ai
5 *
6 * The version of the OpenAPI document: 0.135.1
7 * Contact: leigh@printnanny.ai
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct PaginatedGcodeFileList {
16    #[serde(rename = "count", skip_serializing_if = "Option::is_none")]
17    pub count: Option<i32>,
18    #[serde(rename = "next", skip_serializing_if = "Option::is_none")]
19    pub next: Option<String>,
20    #[serde(rename = "previous", skip_serializing_if = "Option::is_none")]
21    pub previous: Option<String>,
22    #[serde(rename = "results", skip_serializing_if = "Option::is_none")]
23    pub results: Option<Vec<crate::models::GcodeFile>>,
24}
25
26impl PaginatedGcodeFileList {
27    pub fn new() -> PaginatedGcodeFileList {
28        PaginatedGcodeFileList {
29            count: None,
30            next: None,
31            previous: None,
32            results: None,
33        }
34    }
35}
36
37