isilon/models/
statistics_key.rs

1#[allow(unused_imports)]
2use serde_json::Value;
3
4#[derive(Debug, Serialize, Deserialize)]
5pub struct StatisticsKey {
6    /// Type of aggregation used in down-sampling.
7    #[serde(rename = "aggregation_type")]
8    pub aggregation_type: String,
9    /// Name of key this keys is derived from, if any.
10    #[serde(rename = "base_name")]
11    pub base_name: Option<String>,
12    /// Default time in seconds system will used cached values.
13    #[serde(rename = "default_cache_time")]
14    pub default_cache_time: i32,
15    /// Description of statistics key.
16    #[serde(rename = "description")]
17    pub description: String,
18    /// Key name.
19    #[serde(rename = "key")]
20    pub key: String,
21    /// List of effective history policies for key.
22    #[serde(rename = "policies")]
23    pub policies: Option<Vec <crate::models::StatisticsKeyPolicy>>,
24    /// Configured time in seconds system will used cached values.
25    #[serde(rename = "policy_cache_time")]
26    pub policy_cache_time: Option<i32>,
27    /// Name of real key if this is an alias.
28    #[serde(rename = "real_name")]
29    pub real_name: Option<String>,
30    /// Scope of key.
31    #[serde(rename = "scope")]
32    pub scope: String,
33    /// Data type of key values.
34    #[serde(rename = "type")]
35    pub _type: String,
36    /// Units of key values.
37    #[serde(rename = "units")]
38    pub units: String,
39}