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

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct InstancesBulkInsertOperationMetadata {
    /// Status information per location (location name is key). Example key: zones/us-central1-a
    #[serde(rename = "perLocationStatus", skip_serializing_if = "Option::is_none")]
    pub per_location_status: Option<
        ::std::collections::HashMap<
            String,
            crate::google_rest_apis::compute_v1::models::BulkInsertOperationStatus,
        >,
    >,
}

impl InstancesBulkInsertOperationMetadata {
    pub fn new() -> InstancesBulkInsertOperationMetadata {
        InstancesBulkInsertOperationMetadata {
            per_location_status: None,
        }
    }
}
