use zbus::dbus_proxy;
#[dbus_proxy(
interface = "org.freedesktop.hostname1",
gen_blocking = false,
default_service = "org.freedesktop.hostname1",
default_path = "/org/freedesktop/hostname1"
)]
trait Hostnamed {
#[dbus_proxy(name = "SetHostname")]
fn set_hostname(&self, hostname: String, interactive: bool) -> crate::zbus::Result<()>;
#[dbus_proxy(name = "SetStaticHostname")]
fn set_static_hostname(&self, hostname: String, interactive: bool) -> crate::zbus::Result<()>;
#[dbus_proxy(name = "SetPrettyHostname")]
fn set_pretty_hostname(&self, hostname: String, interactive: bool) -> crate::zbus::Result<()>;
#[dbus_proxy(name = "SetIconName")]
fn set_icon_name(&self, icon: String, interactive: bool) -> crate::zbus::Result<()>;
#[dbus_proxy(name = "SetChassis")]
fn set_chassis(&self, chassis: String, interactive: bool) -> crate::zbus::Result<()>;
#[dbus_proxy(name = "SetDeployment")]
fn set_deployment(&self, deployment: String, interactive: bool) -> crate::zbus::Result<()>;
#[dbus_proxy(name = "SetLocation")]
fn set_location(&self, location: String, interactive: bool) -> crate::zbus::Result<()>;
#[dbus_proxy(name = "GetProductUUID")]
fn get_product_uuid(&self, interactive: bool) -> crate::zbus::Result<Vec<u8>>;
#[dbus_proxy(name = "Describe")]
fn describe(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "Hostname")]
fn hostname(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "StaticHostname")]
fn static_hostname(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "PrettyHostname")]
fn pretty_hostname(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "DefaultHostname")]
fn default_hostname(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "HostnameSource")]
fn hostname_source(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "IconName")]
fn icon_name(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "Chassis")]
fn chassis(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "Deployment")]
fn deployment(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "Location")]
fn location(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "KernelName")]
fn kernel_name(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "KernelRelease")]
fn kernel_release(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "KernelVersion")]
fn kernel_version(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "OperatingSystemPrettyName")]
fn operating_system_pretty_name(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "OperatingSystemCPEName")]
fn operating_system_cpe_name(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "HomeURL")]
fn home_url(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "HardwareVendor")]
fn hardware_vendor(&self) -> crate::zbus::Result<String>;
#[dbus_proxy(property, name = "HardwareModel")]
fn hardware_model(&self) -> crate::zbus::Result<String>;
}