/*
* 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};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DomainPeerListPeersInner {
/// A globally unique identifier for a domain
#[serde(rename = "id")]
pub id: String,
/// An alias for a peer domain. It must be unique within a domain. The alias is used to refer to the peer domain in policies. A peer may have only one alias
#[serde(rename = "alias")]
pub alias: String,
}
impl DomainPeerListPeersInner {
pub fn new(id: String, alias: String) -> DomainPeerListPeersInner {
DomainPeerListPeersInner {
id,
alias,
}
}
}