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

/// InstancesTruncateLogRequest : Instance truncate log request.

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct InstancesTruncateLogRequest {
    #[serde(rename = "truncateLogContext", skip_serializing_if = "Option::is_none")]
    pub truncate_log_context:
        Option<Box<crate::google_rest_apis::sqladmin_v1::models::TruncateLogContext>>,
}

impl InstancesTruncateLogRequest {
    /// Instance truncate log request.
    pub fn new() -> InstancesTruncateLogRequest {
        InstancesTruncateLogRequest {
            truncate_log_context: None,
        }
    }
}
