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 OccurrenceSpanInformation {
    /// The occurrence span code.
    #[serde(rename = "occurrenceSpanCode")]
    pub occurrence_span_code: String,
    /// The end date for the occurrence span.
    #[serde(rename = "occurrenceSpanCodeEndDate")]
    pub occurrence_span_code_end_date: String,
    /// The start date for the occurrence span.
    #[serde(rename = "occurrenceSpanCodeStartDate")]
    pub occurrence_span_code_start_date: String,
}

impl OccurrenceSpanInformation {
    pub fn new(occurrence_span_code: String, occurrence_span_code_end_date: String, occurrence_span_code_start_date: String) -> OccurrenceSpanInformation {
        OccurrenceSpanInformation {
            occurrence_span_code,
            occurrence_span_code_end_date,
            occurrence_span_code_start_date,
        }
    }
}