/*
* 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};
/// Domain : Information about a domain
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Domain {
/// A globally unique identifier for a domain
#[serde(rename = "id")]
pub id: String,
#[serde(rename = "encryptionSettings")]
pub encryption_settings: Box<models::EncryptionSettings>,
}
impl Domain {
/// Information about a domain
pub fn new(id: String, encryption_settings: models::EncryptionSettings) -> Domain {
Domain {
id,
encryption_settings: Box::new(encryption_settings),
}
}
}