printnanny_api_client/models/
patched_pi_request.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 PatchedPiRequest {
16    #[serde(rename = "hostname", skip_serializing_if = "Option::is_none")]
17    pub hostname: Option<String>,
18    #[serde(rename = "favorite", skip_serializing_if = "Option::is_none")]
19    pub favorite: Option<bool>,
20    #[serde(rename = "sbc", skip_serializing_if = "Option::is_none")]
21    pub sbc: Option<crate::models::SbcEnum>,
22    #[serde(rename = "setup_finished", skip_serializing_if = "Option::is_none")]
23    pub setup_finished: Option<bool>,
24}
25
26impl PatchedPiRequest {
27    pub fn new() -> PatchedPiRequest {
28        PatchedPiRequest {
29            hostname: None,
30            favorite: None,
31            sbc: None,
32            setup_finished: None,
33        }
34    }
35}
36
37