/*
 * Tapis Applications API
 *
 * The Tapis Applications API provides for management of Tapis applications including permissions.
 *
 * The version of the OpenAPI document: 26Q1.0
 * Contact: cicsupport@tacc.utexas.edu
 * 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 = "appVersion", skip_serializing_if = "Option::is_none")]
    pub app_version: Option<String>,
    #[serde(rename = "jwtTenant", skip_serializing_if = "Option::is_none")]
    pub jwt_tenant: Option<String>,
    #[serde(rename = "jwtUser", skip_serializing_if = "Option::is_none")]
    pub jwt_user: Option<String>,
    #[serde(rename = "oboTenant", skip_serializing_if = "Option::is_none")]
    pub obo_tenant: Option<String>,
    #[serde(rename = "oboUser", skip_serializing_if = "Option::is_none")]
    pub obo_user: Option<String>,
    #[serde(rename = "operation", skip_serializing_if = "Option::is_none")]
    pub operation: Option<models::OperationTypeEnum>,
    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
    #[serde(rename = "created", skip_serializing_if = "Option::is_none")]
    pub created: Option<String>,
}

impl AppHistory {
    pub fn new() -> AppHistory {
        AppHistory {
            app_version: None,
            jwt_tenant: None,
            jwt_user: None,
            obo_tenant: None,
            obo_user: None,
            operation: None,
            description: None,
            created: None,
        }
    }
}
