autogen-stedi 0.3.2

Auto-generated, strongly-typed Rust client for the Stedi APIs
Documentation
/*
 * Stedi Payers
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2024-04-01
 * Contact: healthcare@stedi.com
 * Generated by: https://openapi-generator.tech
 */

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

/// ClaimStatusInquiryEnrollmentProcess : Details about the enrollment process for real-time claim status requests.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ClaimStatusInquiryEnrollmentProcess {
    /// Whether this payer supports specifying a requested effective date for transaction enrollments.   - If set to `SUPPORTED`, Stedi will process [transaction enrollment requests](https://www.stedi.com/docs/healthcare/api-reference/post-enrollment-create-enrollment) for this payer according to their specified `requestedEffectiveDate`.   - This property is only returned when Stedi can determine whether the payer supports requested effective dates.
    #[serde(rename = "requestedEffectiveDate", skip_serializing_if = "Option::is_none")]
    pub requested_effective_date: Option<models::RequestedEffectiveDate>,
    #[serde(rename = "timeframe", skip_serializing_if = "Option::is_none")]
    pub timeframe: Option<models::EnrollmentProcessTimeframe>,
    #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
    pub r#type: Option<models::EnrollmentProcessType>,
}

impl ClaimStatusInquiryEnrollmentProcess {
    /// Details about the enrollment process for real-time claim status requests.
    pub fn new() -> ClaimStatusInquiryEnrollmentProcess {
        ClaimStatusInquiryEnrollmentProcess {
            requested_effective_date: None,
            timeframe: None,
            r#type: None,
        }
    }
}