/*
* 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};
/// TaskResponseData : A discriminated union of task response data. Contains structured data collected when completing specific task types.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TaskResponseData {
/// Values provided when updating or completing a manual task. Visit [Manage enrollment tasks](https://www.stedi.com/docs/healthcare/transaction-enrollment-tasks-documents#api) for details.
#[serde(rename = "manualTask")]
pub manual_task: Box<models::ManualTaskResponse>,
}
impl TaskResponseData {
/// A discriminated union of task response data. Contains structured data collected when completing specific task types.
pub fn new(manual_task: models::ManualTaskResponse) -> TaskResponseData {
TaskResponseData {
manual_task: Box::new(manual_task),
}
}
}