/*
 * Hetzner Cloud API
 *
 * Copied from the official API documentation for the Public Hetzner Cloud.
 *
 * The version of the OpenAPI document: 4b3f595
 *
 * Generated by: https://openapi-generator.tech
 */

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

/// GetStorageBoxTypeResponse : Response to GET https://api.hetzner.com/v1/storage_box_types/{id}
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetStorageBoxTypeResponse {
    #[serde(rename = "storage_box_type")]
    pub storage_box_type: Box<models::StorageBoxType>,
}

impl GetStorageBoxTypeResponse {
    /// Response to GET https://api.hetzner.com/v1/storage_box_types/{id}
    pub fn new(storage_box_type: models::StorageBoxType) -> GetStorageBoxTypeResponse {
        GetStorageBoxTypeResponse {
            storage_box_type: Box::new(storage_box_type),
        }
    }
}
