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;

/// DiskEncryptionStatus : Disk encryption status for an instance.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DiskEncryptionStatus {
    /// This is always `sql#diskEncryptionStatus`.
    #[serde(rename = "kind", skip_serializing_if = "Option::is_none")]
    pub kind: Option<String>,
    /// KMS key version used to encrypt the Cloud SQL instance resource
    #[serde(rename = "kmsKeyVersionName", skip_serializing_if = "Option::is_none")]
    pub kms_key_version_name: Option<String>,
}

impl DiskEncryptionStatus {
    /// Disk encryption status for an instance.
    pub fn new() -> DiskEncryptionStatus {
        DiskEncryptionStatus {
            kind: None,
            kms_key_version_name: None,
        }
    }
}
