autogen-stedi 0.3.2

Auto-generated, strongly-typed Rust client for the Stedi APIs
Documentation
/*
 * Stedi Manager
 *
 * 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::manager::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BatchEligibilityChecksResponseContent {
    /// An identifier for this batch of eligibility checks. You can use this identifier to retrieve the results of this batch using the [Poll Batch Eligibility Checks](https://www.stedi.com/docs/healthcare/api-reference/get-healthcare-polling-eligibility) endpoint.
    #[serde(rename = "batchId")]
    pub batch_id: String,
    /// The date and time that the batch of eligibility checks was submitted to Stedi for processing.
    #[serde(rename = "submittedAt")]
    pub submitted_at: chrono::DateTime<chrono::FixedOffset>,
}

impl BatchEligibilityChecksResponseContent {
    pub fn new(batch_id: String, submitted_at: chrono::DateTime<chrono::FixedOffset>) -> BatchEligibilityChecksResponseContent {
        BatchEligibilityChecksResponseContent {
            batch_id,
            submitted_at,
        }
    }
}