/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.2.0
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CustomInstanceDbLogs {
    #[serde(rename = "super_admin", skip_serializing_if = "Option::is_none")]
    pub super_admin: Option<models::LoggedWizardStatus>,
    #[serde(rename = "database_credentials", skip_serializing_if = "Option::is_none")]
    pub database_credentials: Option<models::LoggedWizardStatus>,
    #[serde(rename = "valid_dbname", skip_serializing_if = "Option::is_none")]
    pub valid_dbname: Option<models::LoggedWizardStatus>,
    #[serde(rename = "created_database", skip_serializing_if = "Option::is_none")]
    pub created_database: Option<models::LoggedWizardStatus>,
    #[serde(rename = "db_connect", skip_serializing_if = "Option::is_none")]
    pub db_connect: Option<models::LoggedWizardStatus>,
    #[serde(rename = "grant_permissions", skip_serializing_if = "Option::is_none")]
    pub grant_permissions: Option<models::LoggedWizardStatus>,
}

impl CustomInstanceDbLogs {
    pub fn new() -> CustomInstanceDbLogs {
        CustomInstanceDbLogs {
            super_admin: None,
            database_credentials: None,
            valid_dbname: None,
            created_database: None,
            db_connect: None,
            grant_permissions: None,
        }
    }
}

