Source code for lucidlink.filespace_models

"""
LucidLink Python Library - Filespace Type Definitions

Types for filespace identity and configuration.
"""

from dataclasses import dataclass
from enum import Enum

# Backwards-compat re-export — DaemonStatus moved to daemon_models.
from .daemon_models import DaemonStatus  # noqa: F401


[docs] class SyncMode(Enum): """Controls whether changes are automatically synchronized to LucidLink services on close.""" SYNC_NONE = "none" """Do not sync automatically — caller must call ``sync_all()`` explicitly.""" SYNC_ALL = "all" """(default) Automatically call ``sync_all()`` before unlinking filespaces."""
[docs] @dataclass class FilespaceInfo: """Summary information for a filespace in a workspace listing. Returned by ``Workspace.list_filespaces()``. """ id: str """Unique filespace identifier.""" name: str """Human-readable filespace name.""" created: str """Creation timestamp (ISO 8601)."""