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};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TransactionSupportCountsItem {
    /// Number of matching payers that don't support this transaction type.
    #[serde(rename = "notSupported")]
    pub not_supported: Box<models::NotSupportedBreakdown>,
    /// Number of matching payers that support this transaction type, broken down by enrollment requirements.
    #[serde(rename = "supported")]
    pub supported: Box<models::SupportedBreakdown>,
}

impl TransactionSupportCountsItem {
    pub fn new(not_supported: models::NotSupportedBreakdown, supported: models::SupportedBreakdown) -> TransactionSupportCountsItem {
        TransactionSupportCountsItem {
            not_supported: Box::new(not_supported),
            supported: Box::new(supported),
        }
    }
}