linkbreakers 1.43.5

Official Rust SDK for the Linkbreakers API
Documentation
/*
 * Linkbreakers API
 *
 * This is a documentation of all the APIs of Linkbreakers
 *
 * The version of the OpenAPI document: 1.43.5
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// Directory : An organizational bucket that groups links and other directories into a hierarchical folder structure within a workspace.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Directory {
    #[serde(rename = "createdAt", skip_serializing_if = "Option::is_none")]
    pub created_at: Option<String>,
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// The ID of the parent directory (UUID) If not set, the directory is at the root level.
    #[serde(rename = "parentDirectoryId", skip_serializing_if = "Option::is_none")]
    pub parent_directory_id: Option<String>,
    /// Full hierarchical path separated by slashes, computed server-side
    #[serde(rename = "path", skip_serializing_if = "Option::is_none")]
    pub path: Option<String>,
    #[serde(rename = "updatedAt", skip_serializing_if = "Option::is_none")]
    pub updated_at: Option<String>,
    #[serde(rename = "workspaceId", skip_serializing_if = "Option::is_none")]
    pub workspace_id: Option<String>,
}

impl Directory {
    /// An organizational bucket that groups links and other directories into a hierarchical folder structure within a workspace.
    pub fn new() -> Directory {
        Directory {
            created_at: None,
            id: None,
            name: None,
            parent_directory_id: None,
            path: None,
            updated_at: None,
            workspace_id: None,
        }
    }
}