autogen-stedi 0.3.2

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

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

/// ClaimAttachmentReference : Information about the claim attachment.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ClaimAttachmentReference {
    /// An opaque string identifier Stedi assigns to the claim attachment. You can use it for tracking purposes and when contacting Stedi support.
    #[serde(rename = "correlationId", skip_serializing_if = "Option::is_none")]
    pub correlation_id: Option<String>,
    /// The `patientControlNumber` from the claim associated with this attachment, if supplied. This is a unique identifier that you assigned to the related claim so you can track the claim and correlate it with responses from the payer.
    #[serde(rename = "patientControlNumber", skip_serializing_if = "Option::is_none")]
    pub patient_control_number: Option<String>,
    /// A timestamp in [RFC 3339 format](https://datatracker.ietf.org/doc/html/rfc3339) for Stedi's response to the submission. For example: `2025-03-07T12:34:56Z`.
    #[serde(rename = "timeOfResponse", skip_serializing_if = "Option::is_none")]
    pub time_of_response: Option<chrono::DateTime<chrono::FixedOffset>>,
}

impl ClaimAttachmentReference {
    /// Information about the claim attachment.
    pub fn new() -> ClaimAttachmentReference {
        ClaimAttachmentReference {
            correlation_id: None,
            patient_control_number: None,
            time_of_response: None,
        }
    }
}