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

use crate::google_rest_apis::compute_v1::models;

/// InterconnectCircuitInfo : Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InterconnectCircuitInfo {
    /// Customer-side demarc ID for this circuit.
    #[serde(rename = "customerDemarcId", skip_serializing_if = "Option::is_none")]
    pub customer_demarc_id: Option<String>,
    /// Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
    #[serde(rename = "googleCircuitId", skip_serializing_if = "Option::is_none")]
    pub google_circuit_id: Option<String>,
    /// Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.
    #[serde(rename = "googleDemarcId", skip_serializing_if = "Option::is_none")]
    pub google_demarc_id: Option<String>,
}

impl InterconnectCircuitInfo {
    /// Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only.
    pub fn new() -> InterconnectCircuitInfo {
        InterconnectCircuitInfo {
            customer_demarc_id: None,
            google_circuit_id: None,
            google_demarc_id: None,
        }
    }
}
