/*
* JSON Ledger API HTTP endpoints
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 3.3.0-SNAPSHOT
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// CumulativeFilter : A filter that matches all contracts that are either an instance of one of the ``template_filters`` or that match one of the ``interface_filters``.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CumulativeFilter {
#[serde(rename = "identifierFilter")]
pub identifier_filter: Box<models::IdentifierFilter>,
}
impl CumulativeFilter {
/// A filter that matches all contracts that are either an instance of one of the ``template_filters`` or that match one of the ``interface_filters``.
pub fn new(identifier_filter: models::IdentifierFilter) -> CumulativeFilter {
CumulativeFilter {
identifier_filter: Box::new(identifier_filter),
}
}
}