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 ReportsClaimAcknowledgmentResponse {
    /// The control number the payer provided in the claim status response. This is used to identify the transaction.
    #[serde(rename = "controlNumber", skip_serializing_if = "Option::is_none")]
    pub control_number: Option<String>,
    /// Information about the payer (or intermediary clearinghouse) and the claim status transactions included in the response.
    #[serde(rename = "payers", skip_serializing_if = "Option::is_none")]
    pub payers: Option<Vec<models::ClaimAcknowledgmentPayer>>,
    /// A number the payer assigns to the transaction to identify it within their system.
    #[serde(rename = "referenceIdentification", skip_serializing_if = "Option::is_none")]
    pub reference_identification: Option<String>,
    /// The date the payer created the transaction.
    #[serde(rename = "transactionSetCreationDate", skip_serializing_if = "Option::is_none")]
    pub transaction_set_creation_date: Option<String>,
    /// The time the payer created the transaction, expressed in 24-hour clock time. May be formatted as HHMM, HHMMSS, HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99).
    #[serde(rename = "transactionSetCreationTime", skip_serializing_if = "Option::is_none")]
    pub transaction_set_creation_time: Option<String>,
}

impl ReportsClaimAcknowledgmentResponse {
    pub fn new() -> ReportsClaimAcknowledgmentResponse {
        ReportsClaimAcknowledgmentResponse {
            control_number: None,
            payers: None,
            reference_identification: None,
            transaction_set_creation_date: None,
            transaction_set_creation_time: None,
        }
    }
}