redfish_codegen/models/update_service/v1_11_3/transfer_protocol_type.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum TransferProtocolType {
6 /// Common Internet File System (CIFS).
7 CIFS,
8 /// File Transfer Protocol (FTP).
9 FTP,
10 /// Secure File Transfer Protocol (SFTP). Added in version v1_1_0.
11 SFTP,
12 /// Hypertext Transfer Protocol (HTTP).
13 HTTP,
14 /// Hypertext Transfer Protocol Secure (HTTPS).
15 HTTPS,
16 /// Network File System (NFS).
17 NSF,
18 /// Secure Copy Protocol (SCP).
19 SCP,
20 /// Trivial File Transfer Protocol (TFTP).
21 TFTP,
22 /// A manufacturer-defined protocol.
23 OEM,
24 /// Network File System (NFS). Added in version v1_3_0.
25 NFS,
26}
27
28#[allow(clippy::derivable_impls)]
29impl Default for TransferProtocolType {
30 fn default() -> TransferProtocolType {
31 TransferProtocolType::CIFS
32 }
33}
34
35impl crate::Metadata<'static> for TransferProtocolType {
36 const JSON_SCHEMA: &'static str = "UpdateService.v1_11_3.json";
37}