use std::collections::HashMap;
use zbus::proxy;
use zbus::zvariant::{OwnedValue, Value};
#[proxy(
interface = "fi.w1.wpa_supplicant1.Network",
default_service = "fi.w1.wpa_supplicant1"
)]
pub trait Network {
#[zbus(signal)]
fn properties_changed(&self, properties: HashMap<&str, Value<'_>>) -> zbus::Result<()>;
#[zbus(property)]
fn enabled(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn set_enabled(&self, enabled: bool) -> zbus::Result<()>;
#[zbus(property, name = "Properties")]
fn props(&self) -> zbus::Result<HashMap<String, OwnedValue>>;
#[zbus(property, name = "Properties")]
fn set_props(&self, properties: HashMap<&str, Value<'_>>) -> zbus::Result<()>;
}