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;

/// TiersListResponse : Tiers list response.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TiersListResponse {
    /// List of tiers.
    #[serde(rename = "items", skip_serializing_if = "Option::is_none")]
    pub items: Option<Vec<models::Tier>>,
    /// This is always `sql#tiersList`.
    #[serde(rename = "kind", skip_serializing_if = "Option::is_none")]
    pub kind: Option<String>,
}

impl TiersListResponse {
    /// Tiers list response.
    pub fn new() -> TiersListResponse {
        TiersListResponse {
            items: None,
            kind: None,
        }
    }
}
