antimatter_api 2.0.13

Interact with the Antimatter Cloud API
Documentation
/*
 * 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};

/// DomainFactList : A list of defined fact types in the domain 
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DomainFactList {
    #[serde(rename = "factTypes")]
    pub fact_types: Vec<models::FactTypeDefinition>,
}

impl DomainFactList {
    /// A list of defined fact types in the domain 
    pub fn new(fact_types: Vec<models::FactTypeDefinition>) -> DomainFactList {
        DomainFactList {
            fact_types,
        }
    }
}