1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* 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};
/// CreateEnrollmentDocumentUploadResponseContent : Response containing the enrollment ID, document ID, and pre-signed URL.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateEnrollmentDocumentUploadResponseContent {
/// A unique identifier for the document record within Stedi.
#[serde(rename = "documentId")]
pub document_id: String,
/// The enrollment ID for the transaction enrollment request associated with the PDF document.
#[serde(rename = "enrollmentId")]
pub enrollment_id: String,
/// The pre-signed URL you can use to upload the PDF document. This URL expires after 24 hours.
#[serde(rename = "uploadUrl")]
pub upload_url: String,
}
impl CreateEnrollmentDocumentUploadResponseContent {
/// Response containing the enrollment ID, document ID, and pre-signed URL.
pub fn new(document_id: String, enrollment_id: String, upload_url: String) -> CreateEnrollmentDocumentUploadResponseContent {
CreateEnrollmentDocumentUploadResponseContent {
document_id,
enrollment_id,
upload_url,
}
}
}