use std::collections::HashMap;
use zbus::proxy;
use zbus::zvariant::OwnedValue;
#[proxy(
interface = "org.freedesktop.NetworkManager.IP4Config",
default_service = "org.freedesktop.NetworkManager"
)]
pub trait IP4Config {
#[zbus(property)]
fn address_data(&self) -> zbus::Result<Vec<HashMap<String, OwnedValue>>>;
#[zbus(property)]
fn addresses(&self) -> zbus::Result<Vec<Vec<u32>>>;
#[zbus(property)]
fn dns_options(&self) -> zbus::Result<Vec<String>>;
#[zbus(property)]
fn dns_priority(&self) -> zbus::Result<i32>;
#[zbus(property)]
fn domains(&self) -> zbus::Result<Vec<String>>;
#[zbus(property)]
fn gateway(&self) -> zbus::Result<String>;
#[zbus(property)]
fn nameserver_data(&self) -> zbus::Result<Vec<HashMap<String, OwnedValue>>>;
#[zbus(property)]
fn nameservers(&self) -> zbus::Result<Vec<u32>>;
#[zbus(property)]
fn route_data(&self) -> zbus::Result<Vec<HashMap<String, OwnedValue>>>;
#[zbus(property)]
fn routes(&self) -> zbus::Result<Vec<Vec<u32>>>;
#[zbus(property)]
fn searches(&self) -> zbus::Result<Vec<String>>;
#[zbus(property)]
fn wins_server_data(&self) -> zbus::Result<Vec<String>>;
#[zbus(property)]
fn wins_servers(&self) -> zbus::Result<Vec<u32>>;
}