windmill-api 1.815.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Windmill API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.815.0
 * 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 GetAiArtifactShareStatus200Response {
    #[serde(rename = "retention_secs")]
    pub retention_secs: i32,
    #[serde(rename = "share", skip_serializing_if = "Option::is_none")]
    pub share: Option<Box<models::SharedAiArtifactInfo>>,
}

impl GetAiArtifactShareStatus200Response {
    pub fn new(retention_secs: i32) -> GetAiArtifactShareStatus200Response {
        GetAiArtifactShareStatus200Response {
            retention_secs,
            share: None,
        }
    }
}