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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OccurrenceInformation {
    /// The occurrence span code.
    #[serde(rename = "occurrenceSpanCode")]
    pub occurrence_span_code: String,
    /// The date or date range for the occurrence span.
    #[serde(rename = "occurrenceSpanCodeDate")]
    pub occurrence_span_code_date: String,
}

impl OccurrenceInformation {
    pub fn new(occurrence_span_code: String, occurrence_span_code_date: String) -> OccurrenceInformation {
        OccurrenceInformation {
            occurrence_span_code,
            occurrence_span_code_date,
        }
    }
}