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
//! Data models for API requests and responses
//!
//! This module contains all the data structures used for communication with Huawei devices.
//! All models support XML serialization/deserialization using serde.
//!
//! # Organization
//!
//! - [`auth`] - Authentication and login structures
//! - [`common`] - Common types like errors and generic responses
//! - [`device`] - Device information and control structures
//! - [`dhcp`] - DHCP configuration models
//! - [`monitoring`] - Connection status and monitoring data
//! - [`network`] - Network configuration and status
//! - [`sms`] - SMS message structures
//!
//! # XML Format
//!
//! Huawei devices use a specific XML format for API communication:
//!
//! ```xml
//! <request>
//! <Username>admin</Username>
//! <Password>YWRtaW4=</Password>
//! </request>
//! ```
//!
//! ```xml
//! <response>
//! <ConnectionStatus>901</ConnectionStatus>
//! <CurrentNetworkType>19</CurrentNetworkType>
//! </response>
//! ```
//!
//! All models handle this format automatically through serde attributes.
// Re-export common types
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;