/*
 * This is an auto-generated file.
 * Any manual changes may be overwritten without notice!
 */

use derive_builder::Builder;
use serde::{Deserialize, Serialize};

/// ConsulTerminatingConfigEntry represents the Consul Configuration Entry type
/// for a Terminating Gateway.
///
/// https://www.consul.io/docs/agent/config-entries/terminating-gateway#available-fields
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct ConsulTerminatingConfigEntry {
    #[serde(
        rename = "Services",
        deserialize_with = "crate::deserialize_null_as_default"
    )]
    pub services: Vec<super::ConsulLinkedService>,
}
