/*
* 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};
/// DataPolicyRuleChangeResponse : A summary of changes applied to a data policy
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DataPolicyRuleChangeResponse {
#[serde(rename = "newRules")]
pub new_rules: Vec<String>,
#[serde(rename = "deletedRules")]
pub deleted_rules: Vec<String>,
}
impl DataPolicyRuleChangeResponse {
/// A summary of changes applied to a data policy
pub fn new(new_rules: Vec<String>, deleted_rules: Vec<String>) -> DataPolicyRuleChangeResponse {
DataPolicyRuleChangeResponse {
new_rules,
deleted_rules,
}
}
}