printnanny_api_client/models/
patched_workspace_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 PatchedWorkspaceRequest {
16    /// The name of the organization
17    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
18    pub name: Option<String>,
19    #[serde(rename = "is_active", skip_serializing_if = "Option::is_none")]
20    pub is_active: Option<bool>,
21    /// The name in all lowercase, suitable for URL identification
22    #[serde(rename = "slug", skip_serializing_if = "Option::is_none")]
23    pub slug: Option<String>,
24    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
25    pub description: Option<String>,
26    #[serde(rename = "icon", skip_serializing_if = "Option::is_none")]
27    pub icon: Option<std::path::PathBuf>,
28}
29
30impl PatchedWorkspaceRequest {
31    pub fn new() -> PatchedWorkspaceRequest {
32        PatchedWorkspaceRequest {
33            name: None,
34            is_active: None,
35            slug: None,
36            description: None,
37            icon: None,
38        }
39    }
40}
41
42