autogen-stedi 0.3.2

Auto-generated, strongly-typed Rust client for the Stedi APIs
Documentation
/*
 * 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};

/// EnrolledPayerInput : The payer you want to enroll with.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct EnrolledPayerInput {
    /// Use `idOrAlias` instead. This property will be removed in the future.
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    /// The payer ID. Visit the [Payer Network](https://www.stedi.com/healthcare/network) for a complete list.  - You can use the primary payer ID, the Stedi payer ID, or any listed aliases for the payer.  - You must include leading `0` characters - payer IDs are alphanumeric strings and must be treated as complete strings, not integers. For example, use `00540` for SISCO, not `540`.
    #[serde(rename = "idOrAlias", skip_serializing_if = "Option::is_none")]
    pub id_or_alias: Option<String>,
}

impl EnrolledPayerInput {
    /// The payer you want to enroll with.
    pub fn new() -> EnrolledPayerInput {
        EnrolledPayerInput {
            id: None,
            id_or_alias: None,
        }
    }
}