autogen-stedi 0.3.2

Auto-generated, strongly-typed Rust client for the Stedi APIs
Documentation
/*
 * Stedi Healthcare
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2024-04-01
 * Contact: healthcare@stedi.com
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ExportPdfResponseContent {
    /// Errors that prevented Stedi from returning one or more PDFs for the specified `businessId`. This array may be empty if there were no errors.
    #[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
    pub errors: Option<Vec<models::PdfError>>,
    /// Data for PDF files Stedi generated for the specified `businessId`. This array may be empty if there are no PDFs available for the specified `businessId`. It may also contain multiple PDFs if there is more than one claim with the same `businessId` value.
    #[serde(rename = "pdfs", skip_serializing_if = "Option::is_none")]
    pub pdfs: Option<Vec<models::PdfData>>,
}

impl ExportPdfResponseContent {
    pub fn new() -> ExportPdfResponseContent {
        ExportPdfResponseContent {
            errors: None,
            pdfs: None,
        }
    }
}