1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
//! Strongly typed Data Transfer Objects (DTOs) for the NLECloud RESTful API.
//!
//! All models implement [`serde::Serialize`] and [`serde::Deserialize`].
//! In addition to standard Rust `CamelCase` struct names (e.g. [`DeviceInfoDto`]),
//! legacy C# PascalCase aliases are also exported (e.g. [`DeviceInfoDTO`]) for
//! ease of migration from the C# SDK.
/// Authentication models and login payload DTOs.
/// Device metadata, fuzzy search parameters, and status DTOs.
/// Generic pagination envelope (`ListPagerSet`) and paging metadata.
/// Project management, fuzzy queries, and project creation DTOs.
/// Sensor, actuator, camera metadata, telemetry series, and aggregation DTOs.
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
// Legacy C# PascalCase DTO aliases for ease of migration
/// Legacy alias for [`AccountLoginDto`].
pub type AccountLoginDTO = AccountLoginDto;
/// Legacy alias for [`AccountLoginResultDto`].
pub type AccountLoginResultDTO = AccountLoginResultDto;
/// Legacy alias for [`ProjectInfoDto`].
pub type ProjectInfoDTO = ProjectInfoDto;
/// Legacy alias for [`ProjectAddUpdateDto`].
pub type ProjectAddUpdateDTO = ProjectAddUpdateDto;
/// Legacy alias for [`DeviceInfoDto`].
pub type DeviceInfoDTO = DeviceInfoDto;
/// Legacy alias for [`DeviceBaseInfoDto`].
pub type DeviceBaseInfoDTO = DeviceBaseInfoDto;
/// Legacy alias for [`DeviceAddUpdateDto`].
pub type DeviceAddUpdateDTO = DeviceAddUpdateDto;
/// Legacy alias for [`DeviceSensorDataDto`].
pub type DeviceSensorDataDTO = DeviceSensorDataDto;
/// Legacy alias for [`OnlineDataDto`].
pub type OnlineDataDTO = OnlineDataDto;
/// Legacy alias for [`SensorBaseInfoDto`].
pub type SensorBaseInfoDTO = SensorBaseInfoDto;
/// Legacy alias for [`SensorInfoDto`].
pub type SensorInfoDTO = SensorInfoDto;
/// Legacy alias for [`ActuatorInfoDto`].
pub type ActuatorInfoDTO = ActuatorInfoDto;
/// Legacy alias for [`CameraInfoDto`].
pub type CameraInfoDTO = CameraInfoDto;
/// Legacy alias for [`SensorDataPointDto`].
pub type SensorDataPointDTO = SensorDataPointDto;
/// Legacy alias for [`SensorDataDto`].
pub type SensorDataDTO = SensorDataDto;
/// Legacy alias for [`SensorDataListAddDto`].
pub type SensorDataListAddDTO = SensorDataListAddDto;
/// Legacy alias for [`SensorDataAddDto`].
pub type SensorDataAddDTO = SensorDataAddDto;
/// Legacy alias for [`SensorDataPageDto`].
pub type SensorDataPageDTO = SensorDataPageDto;
/// Legacy alias for [`SensorDataInfoDto`].
pub type SensorDataInfoDTO = SensorDataInfoDto;