/*
* 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};
/// ValidationExceptionResponseContent : A standard error for input validation failures. Thrown when a member of the input structure falls outside of the modeled or documented constraints.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ValidationExceptionResponseContent {
/// A code describing the type of validation failure.
#[serde(rename = "code", skip_serializing_if = "Option::is_none")]
pub code: Option<String>,
/// A message describing the causes of the validation failure. There may be more than one.
#[serde(rename = "message")]
pub message: String,
}
impl ValidationExceptionResponseContent {
/// A standard error for input validation failures. Thrown when a member of the input structure falls outside of the modeled or documented constraints.
pub fn new(message: String) -> ValidationExceptionResponseContent {
ValidationExceptionResponseContent {
code: None,
message,
}
}
}