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