printnanny_api_client/models/
paginated_gcode_file_list.rs1#[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