//! Parameters for `GET /groups/hardware` (and the deprecated
//! `/hardware-clusters` alias) and `GET /hardware-nodes-list`.
/// Typed parameters for fetching cluster hardware inventory.
pub struct GetHardwareClusterParams {
/// Cluster group name to inventory; `None` falls back to the
/// operator default.
pub group_name: Option<String>,
/// Operator default from `cli.toml`'s `hsm_group`, used when
/// `group_name` is absent.
pub settings_hsm_group_name: Option<String>,
}
/// Typed parameters for fetching hardware inventory for a list of nodes.
#[derive(Debug)]
pub struct GetHardwareNodesListParams {
/// Hosts expression (xnames, NIDs, or hostlist notation).
pub host_expression: String,
}