1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/// FilepoolPolicy : A filepool policy object

#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct FilepoolPolicy {
    /// A list of actions to be taken for matching files
    #[serde(rename = "actions")]
    pub actions: Option<Vec <crate::models::FilepoolDefaultPolicyAction>>,
    /// The order in which this policy should be applied (relative to other policies)
    #[serde(rename = "apply_order")]
    pub apply_order: Option<i32>,
    /// A description for this policy
    #[serde(rename = "description")]
    pub description: Option<String>,
    /// The file matching rules for this policy
    #[serde(rename = "file_matching_pattern")]
    pub file_matching_pattern: Option <crate::models::FilepoolPolicyFileMatchingPattern>,
    /// A unique name for this policy
    #[serde(rename = "name")]
    pub name: Option<String>,
}