/*
* 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};
/// UpdateTaskPostRequestContent : Input for UpdateTaskPost operation. Identical to UpdateTaskInput.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UpdateTaskPostRequestContent {
/// Indicates whether the task is completed. Set to `true` to mark the task as complete. If omitted, the default is `false`.
#[serde(rename = "completed", skip_serializing_if = "Option::is_none")]
pub completed: Option<bool>,
/// Additional data you can submit to Stedi when updating or completing a task. This is required for `manualTask` tasks with fields. Use the `manualTask` object type with a `values` array. You can update individual field keys across multiple requests without resubmitting every value: supplied values are merged into any previously saved values. Completing the task (`completed: true`) requires a value for every field. [Learn more](https://www.stedi.com/docs/healthcare/transaction-enrollment-tasks-documents#api)
#[serde(rename = "responseData", skip_serializing_if = "Option::is_none")]
pub response_data: Option<Box<models::TaskResponseData>>,
}
impl UpdateTaskPostRequestContent {
/// Input for UpdateTaskPost operation. Identical to UpdateTaskInput.
pub fn new() -> UpdateTaskPostRequestContent {
UpdateTaskPostRequestContent {
completed: None,
response_data: None,
}
}
}