// Generated by redfish-codegen. Do not modify.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum DurableNameFormat {
/// This durable name shall contain a hexadecimal representation of the Name Address Authority structure, as defined in the T11 Fibre Channel - Framing and Signaling - 3 (FC-FS-3) specification. The DurableName property shall follow the regular expression pattern '^(([0-9A-Fa-f]{2}){8}){1,2}$', where the most significant octet is first.
NAA,
/// This durable name shall be in the iSCSI Qualified Name (iQN) format, as defined in RFC3720 and RFC3721.
#[serde(rename = "iQN")]
IQN,
/// This durable name shall contain a hexadecimal representation of the World-Wide Name (WWN) format, as defined in the T11 Fibre Channel Physical and Signaling Interface Specification. The DurableName property shall follow the regular expression pattern '^([0-9A-Fa-f]{2}[:-]){7}([0-9A-Fa-f]{2})$', where the most significant octet is first.
#[serde(rename = "FC_WWN")]
FCWWN,
/// This durable name shall contain the hexadecimal representation of the UUID, as defined by RFC4122. The DurableName property shall follow the regular expression pattern '([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})'.
UUID,
/// This durable name shall contain the hexadecimal representation of the IEEE-defined 64-bit Extended Unique Identifier (EUI), as defined in the IEEE's Guidelines for 64-bit Global Identifier (EUI-64) Specification. The DurableName property shall follow the regular expression pattern '^([0-9A-Fa-f]{2}[:-]){7}([0-9A-Fa-f]{2})$', where the most significant octet is first.
EUI,
/// This durable name shall be in the NVMe Qualified Name (NQN) format, as defined in the NVN Express over Fabric Specification. Added in version v1_6_0.
NQN,
/// This durable name shall be in the NVM Namespace Identifier (NSID) format, as defined in the NVN Express Specification. Added in version v1_6_0.
NSID,
/// This durable name shall be in the Namespace Globally Unique Identifier (NGUID), as defined in the NVN Express Specification. The DurableName property shall follow the regular expression pattern '^([0-9A-Fa-f]{2}){16}$', where the most significant octet is first. Added in version v1_10_0.
NGUID,
}
#[allow(clippy::derivable_impls)]
impl Default for DurableNameFormat {
fn default() -> DurableNameFormat {
DurableNameFormat::NAA
}
}
impl crate::Metadata<'static> for DurableNameFormat {
const JSON_SCHEMA: &'static str = "Resource.v1_13_2.json";
}