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};

/// SubmitClaimAttachmentRawX12RequestContent : Request to submit a raw X12 claim attachment
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SubmitClaimAttachmentRawX12RequestContent {
    /// The X12 EDI data for the claim attachment. This data must conform to the [275 X12 EDI specification](https://portal.stedi.com/app/guides/view/hipaa/patient-information-x210/01HQ4HZ8ZBY2CZGPCVVM8JTK22).
    #[serde(rename = "x12")]
    pub x12: String,
}

impl SubmitClaimAttachmentRawX12RequestContent {
    /// Request to submit a raw X12 claim attachment
    pub fn new(x12: String) -> SubmitClaimAttachmentRawX12RequestContent {
        SubmitClaimAttachmentRawX12RequestContent {
            x12,
        }
    }
}