use serde::{Deserialize, Serialize}; /*
                                      * Compute Engine API
                                      *
                                      * Creates and runs virtual machines on Google Cloud Platform.
                                      *
                                      * The version of the OpenAPI document: v1
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

/// InterconnectDiagnosticsArpEntry : Describing the ARP neighbor entries seen on this link

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct InterconnectDiagnosticsArpEntry {
    /// The IP address of this ARP neighbor.
    #[serde(rename = "ipAddress", skip_serializing_if = "Option::is_none")]
    pub ip_address: Option<String>,
    /// The MAC address of this ARP neighbor.
    #[serde(rename = "macAddress", skip_serializing_if = "Option::is_none")]
    pub mac_address: Option<String>,
}

impl InterconnectDiagnosticsArpEntry {
    /// Describing the ARP neighbor entries seen on this link
    pub fn new() -> InterconnectDiagnosticsArpEntry {
        InterconnectDiagnosticsArpEntry {
            ip_address: None,
            mac_address: None,
        }
    }
}
