// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ParseOutput {
    /// Text content of each page (1-indexed order)
    pub pages: Vec<String>,
    /// Concatenated text content of the full document
    pub text: String,
}
impl ParseOutput {
    /// Construct a new `ParseOutput` with the required fields set.
    #[allow(deprecated)]
    pub fn new(pages: Vec<String>, text: impl Into<String>) -> Self {
        Self {
            pages,
            text: text.into(),
        }
    }
}
