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
                                      */

/// InterconnectAttachmentPrivateInfo : Information for an interconnect attachment when this belongs to an interconnect of type DEDICATED.

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct InterconnectAttachmentPrivateInfo {
    /// [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.
    #[serde(rename = "tag8021q", skip_serializing_if = "Option::is_none")]
    pub tag8021q: Option<i32>,
}

impl InterconnectAttachmentPrivateInfo {
    /// Information for an interconnect attachment when this belongs to an interconnect of type DEDICATED.
    pub fn new() -> InterconnectAttachmentPrivateInfo {
        InterconnectAttachmentPrivateInfo { tag8021q: None }
    }
}
