/*
* Antimatter Public API
*
* Interact with the Antimatter Cloud API
*
* The version of the OpenAPI document: 2.0.13
* Contact: support@antimatter.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// DataPolicyList : A list of data policies
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DataPolicyList {
#[serde(rename = "policies")]
pub policies: Vec<models::DataPolicy>,
}
impl DataPolicyList {
/// A list of data policies
pub fn new(policies: Vec<models::DataPolicy>) -> DataPolicyList {
DataPolicyList {
policies,
}
}
}