/*
* 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};
/// EncryptionSettings : Encryption-related settings for a domain
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct EncryptionSettings {
/// If true, allow clients to optionally bypass encryption for this domain. When this setting is enabled, if clients pass the AllowBypass call option when encapsulating, the input plaintext will be passed through directly without any modifications, and without creating a capsule.
#[serde(rename = "enableBypass")]
pub enable_bypass: bool,
}
impl EncryptionSettings {
/// Encryption-related settings for a domain
pub fn new(enable_bypass: bool) -> EncryptionSettings {
EncryptionSettings {
enable_bypass,
}
}
}