/*
* 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};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Document {
/// Reference to an uploaded document when the `fieldType` is `DOCUMENT`. This is the `documentId` from a PDF document uploaded to Stedi. Visit [Manage enrollment tasks](https://www.stedi.com/docs/healthcare/transaction-enrollment-tasks-documents) for details.
#[serde(rename = "document")]
pub document: Box<models::ManualTaskDocumentResponseValue>,
}
impl Document {
pub fn new(document: models::ManualTaskDocumentResponseValue) -> Document {
Document {
document: Box::new(document),
}
}
}