use serde::{Deserialize, Serialize};
use utoipa::ToSchema;
pub use crate::types::params::power::{PowerAction, PowerTargetType};
#[derive(Debug, Serialize, Deserialize, ToSchema)]
pub struct PowerRequest {
pub action: PowerAction,
pub host_expression: String,
pub target_type: PowerTargetType,
#[serde(default)]
pub force: bool,
}