// Generated by redfish-codegen. Do not modify.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum TransferMethod {
/// Stream image file data from the source URI.
Stream,
/// Upload the entire image file from the source URI to the service.
Upload,
}
#[allow(clippy::derivable_impls)]
impl Default for TransferMethod {
fn default() -> TransferMethod {
TransferMethod::Stream
}
}
impl crate::Metadata<'static> for TransferMethod {
const JSON_SCHEMA: &'static str = "VirtualMedia.v1_6_0.json";
}