autogen-stedi 0.3.2

Auto-generated, strongly-typed Rust client for the Stedi APIs
Documentation
/*
 * Stedi Enrollment
 *
 * The Stedi Enrollment Service manages provider enrollments with healthcare payers. It tracks enrollment status, provider details, and supports batch enrollment processing to ensure providers have the necessary credentials before processing healthcare transactions. 
 *
 * The version of the OpenAPI document: 2024-09-01
 * Contact: healthcare@stedi.com
 * Generated by: https://openapi-generator.tech
 */

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

/// ManualTaskDocumentResponseValue : A reference to a document uploaded to enrollment, supplied as the `document` variant of a `ManualTaskResponseValue`.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ManualTaskDocumentResponseValue {
    /// The `documentId` returned for a file uploaded through the [Upload Enrollment Document](https://www.stedi.com/docs/healthcare/api-reference/post-enrollment-document-upload) endpoint.
    #[serde(rename = "documentId")]
    pub document_id: String,
}

impl ManualTaskDocumentResponseValue {
    /// A reference to a document uploaded to enrollment, supplied as the `document` variant of a `ManualTaskResponseValue`.
    pub fn new(document_id: String) -> ManualTaskDocumentResponseValue {
        ManualTaskDocumentResponseValue {
            document_id,
        }
    }
}