autogen-stedi 0.3.2

Auto-generated, strongly-typed Rust client for the Stedi APIs
Documentation
/*
 * Stedi Healthcare Claims
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2025-03-07
 * Contact: healthcare@stedi.com
 * Generated by: https://openapi-generator.tech
 */

use crate::claims::models;
use serde::{Deserialize, Serialize};

/// ValidationExceptionField : Describes one specific validation failure for an input member.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ValidationExceptionField {
    /// A detailed description of the validation failure.
    #[serde(rename = "message")]
    pub message: String,
    /// A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
    #[serde(rename = "path")]
    pub path: String,
}

impl ValidationExceptionField {
    /// Describes one specific validation failure for an input member.
    pub fn new(message: String, path: String) -> ValidationExceptionField {
        ValidationExceptionField {
            message,
            path,
        }
    }
}