use serde::{Deserialize, Serialize}; /*
                                      * Cloud SQL Admin API
                                      *
                                      * API for Cloud SQL database instance management
                                      *
                                      * The version of the OpenAPI document: v1
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

use crate::google_rest_apis::sqladmin_v1::models;

/// MySqlSyncConfig : MySQL-specific external server sync settings.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct MySqlSyncConfig {
    /// Flags to use for the initial dump.
    #[serde(rename = "initialSyncFlags", skip_serializing_if = "Option::is_none")]
    pub initial_sync_flags: Option<Vec<models::SyncFlags>>,
}

impl MySqlSyncConfig {
    /// MySQL-specific external server sync settings.
    pub fn new() -> MySqlSyncConfig {
        MySqlSyncConfig {
            initial_sync_flags: None,
        }
    }
}
