/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.683.2
* Contact: contact@windmill.dev
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AppHistory {
#[serde(rename = "version")]
pub version: i32,
#[serde(rename = "deployment_msg", skip_serializing_if = "Option::is_none")]
pub deployment_msg: Option<String>,
}
impl AppHistory {
pub fn new(version: i32) -> AppHistory {
AppHistory {
version,
deployment_msg: None,
}
}
}