1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct SyncRuleExtendedExtended {
    /// User-entered description of this performance rule.
    #[serde(rename = "description")]
    pub description: Option<String>,
    /// Whether this performance rule is currently in effect during its specified intervals.
    #[serde(rename = "enabled")]
    pub enabled: Option<bool>,
    /// The system ID given to this performance rule.
    #[serde(rename = "id")]
    pub id: Option<String>,
    /// Amount the specified system resource type is limited by this rule.  Units are kb/s for bandwidth, files/s for file-count, processing percentage used for cpu, or percentage of maximum available workers.
    #[serde(rename = "limit")]
    pub limit: Option<i32>,
    /// A schedule defining when during a week this performance rule is in effect.  If unspecified or null, the schedule will always be in effect.
    #[serde(rename = "schedule")]
    pub schedule: Option <crate::models::SyncRuleSchedule>,
    /// The type of system resource this rule limits.
    #[serde(rename = "type")]
    pub _type: Option<String>,
}