use serde::{Deserialize, Serialize}; /*
                                      * Cloud Storage JSON API
                                      *
                                      * Stores and retrieves potentially large, immutable data objects.
                                      *
                                      * The version of the OpenAPI document: v1
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

/// BucketCustomPlacementConfig : The bucket's custom placement configuration for Custom Dual Regions.

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct BucketCustomPlacementConfig {
    /// The list of regional locations in which data is placed.
    #[serde(rename = "dataLocations", skip_serializing_if = "Option::is_none")]
    pub data_locations: Option<Vec<String>>,
}

impl BucketCustomPlacementConfig {
    /// The bucket's custom placement configuration for Custom Dual Regions.
    pub fn new() -> BucketCustomPlacementConfig {
        BucketCustomPlacementConfig {
            data_locations: None,
        }
    }
}
