autogen-stedi 0.3.2

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

/// GatewayTimeoutExceptionResponseContent : The eligibility check PDF could not be generated within the allotted time.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GatewayTimeoutExceptionResponseContent {
    #[serde(rename = "code", skip_serializing_if = "Option::is_none")]
    pub code: Option<String>,
    #[serde(rename = "message")]
    pub message: String,
}

impl GatewayTimeoutExceptionResponseContent {
    /// The eligibility check PDF could not be generated within the allotted time.
    pub fn new(message: String) -> GatewayTimeoutExceptionResponseContent {
        GatewayTimeoutExceptionResponseContent {
            code: None,
            message,
        }
    }
}