/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BuildOut {
/// Bytes is the size of the bundled CommonJS the runtime will execute.
#[serde(rename = "bytes", skip_serializing_if = "Option::is_none")]
pub bytes: Option<i32>,
/// Generated is whether a model wrote the source from a spec, rather than the caller posting the source itself.
#[serde(rename = "generated", skip_serializing_if = "Option::is_none")]
pub generated: Option<bool>,
/// Plugin is the plugin as stored, with its derived id and build time.
#[serde(rename = "plugin", skip_serializing_if = "Option::is_none")]
pub plugin: Option<Box<models::AuthoredPlugin>>,
}
impl BuildOut {
pub fn new() -> BuildOut {
BuildOut {
bytes: None,
generated: None,
plugin: None,
}
}
}