redfish_codegen/models/registered_client/v1_1_0/client_type.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum ClientType {
6 /// The registered client only performs read operations on this service.
7 Monitor,
8 /// The registered client performs update, create, and delete operations on the resources listed in the ManagedResources property as well as read operations on the service.
9 Configure,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for ClientType {
14 fn default() -> ClientType {
15 ClientType::Monitor
16 }
17}
18
19impl crate::Metadata<'static> for ClientType {
20 const JSON_SCHEMA: &'static str = "RegisteredClient.v1_1_0.json";
21}