// Generated by redfish-codegen. Do not modify.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum DHCPFallback {
/// DHCP shall fall back to a static address specified by IPv4StaticAddresses.
Static,
/// DHCP shall fall back to an address generated by the implementation.
AutoConfig,
/// DHCP shall continue trying to obtain an address without falling back to a fixed address.
None,
}
#[allow(clippy::derivable_impls)]
impl Default for DHCPFallback {
fn default() -> DHCPFallback {
DHCPFallback::Static
}
}
impl crate::Metadata<'static> for DHCPFallback {
const JSON_SCHEMA: &'static str = "EthernetInterface.v1_10_0.json";
}