windmill-api 1.817.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.817.0
 * Contact: contact@windmill.dev
 * Generated by: https://openapi-generator.tech
 */

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

/// AiSessionBackupCursor : where a pull of a session that did not fit one answer whole picks up; the rest of the session follows a pull naming that session alone with this as `resume`
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AiSessionBackupCursor {
    #[serde(rename = "id")]
    pub id: String,
    #[serde(rename = "images")]
    pub images: bool,
    #[serde(rename = "after")]
    pub after: String,
}

impl AiSessionBackupCursor {
    /// where a pull of a session that did not fit one answer whole picks up; the rest of the session follows a pull naming that session alone with this as `resume`
    pub fn new(id: String, images: bool, after: String) -> AiSessionBackupCursor {
        AiSessionBackupCursor {
            id,
            images,
            after,
        }
    }
}