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

/// CreateClaimAttachmentFileResponseContent : Receive the attachment ID and upload URL.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateClaimAttachmentFileResponseContent {
    /// Unique identifier for this attachment. You will use this ID to associate the attachment file with the claim when you submit it to the payer.
    #[serde(rename = "attachmentId")]
    pub attachment_id: String,
    /// A pre-signed URL you can use to upload the file with a `PUT` request. The `PUT` request must include a `Content-Type` header that matches the MIME type you specified for the attachment file.
    #[serde(rename = "uploadUrl")]
    pub upload_url: String,
}

impl CreateClaimAttachmentFileResponseContent {
    /// Receive the attachment ID and upload URL.
    pub fn new(attachment_id: String, upload_url: String) -> CreateClaimAttachmentFileResponseContent {
        CreateClaimAttachmentFileResponseContent {
            attachment_id,
            upload_url,
        }
    }
}