summaryrefslogtreecommitdiffstats
path: root/crates/core/c8y_smartrest/src/smartrest_serializer.rs
diff options
context:
space:
mode:
authorAlbin Suresh <albin.suresh@softwareag.com>2022-04-12 17:36:53 +0530
committerAlbin Suresh <albin.suresh@softwareag.com>2022-04-12 18:02:39 +0530
commit19aea1a260196593c82ac84954b7f844a2fd209b (patch)
tree79f85e4414a840605ef706fcad52263bace2cb49 /crates/core/c8y_smartrest/src/smartrest_serializer.rs
parent6ff7da30dc2d1979b237ac9b014f741b65bfef88 (diff)
Issue #1030 Support c8y_UploadConfigFile operation
Diffstat (limited to 'crates/core/c8y_smartrest/src/smartrest_serializer.rs')
-rw-r--r--crates/core/c8y_smartrest/src/smartrest_serializer.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/core/c8y_smartrest/src/smartrest_serializer.rs b/crates/core/c8y_smartrest/src/smartrest_serializer.rs
index 7f548d74..b3ec3e44 100644
--- a/crates/core/c8y_smartrest/src/smartrest_serializer.rs
+++ b/crates/core/c8y_smartrest/src/smartrest_serializer.rs
@@ -10,6 +10,7 @@ pub enum CumulocitySupportedOperations {
C8ySoftwareUpdate,
C8yLogFileRequest,
C8yRestartRequest,
+ C8yUploadConfigFile,
}
impl From<CumulocitySupportedOperations> for &'static str {
@@ -18,6 +19,7 @@ impl From<CumulocitySupportedOperations> for &'static str {
CumulocitySupportedOperations::C8ySoftwareUpdate => "c8y_SoftwareUpdate",
CumulocitySupportedOperations::C8yLogFileRequest => "c8y_LogfileRequest",
CumulocitySupportedOperations::C8yRestartRequest => "c8y_Restart",
+ CumulocitySupportedOperations::C8yUploadConfigFile => "c8y_UploadConfigFile",
}
}
}