autogen-stedi 0.3.2

Auto-generated, strongly-typed Rust client for the Stedi APIs
Documentation
/*
 * Stedi Healthcare
 *
 * 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::healthcare::models;
use serde::{Deserialize, Serialize};

/// OtherPayerRenderingProvider : Information about the rendering provider.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OtherPayerRenderingProvider {
    #[serde(rename = "entityTypeQualifier")]
    pub entity_type_qualifier: models::OtherPayerRenderingProviderEntityTypeQualifier,
    /// Identifiers for the rendering provider.
    #[serde(rename = "otherPayerRenderingProviderSecondaryIdentifier", skip_serializing_if = "Option::is_none")]
    pub other_payer_rendering_provider_secondary_identifier: Option<Vec<models::OtherPayerRenderingProviderIdentifierItem>>,
}

impl OtherPayerRenderingProvider {
    /// Information about the rendering provider.
    pub fn new(entity_type_qualifier: models::OtherPayerRenderingProviderEntityTypeQualifier) -> OtherPayerRenderingProvider {
        OtherPayerRenderingProvider {
            entity_type_qualifier,
            other_payer_rendering_provider_secondary_identifier: None,
        }
    }
}